Add code block copy button #1149
pull-request-validation.yml
on: pull_request
Build
3m 1s
Unit test
3m 59s
Build samples
29s
Static code analysis
4m 23s
Type definitions test
3m 45s
Matrix: html-test
Merge test results
17s
Merge test snapshots
13s
Annotations
76 errors and 3 warnings
renderMarkdown › should render code correctly:
packages/bundle/src/__tests__/renderMarkdown.spec.js#L61
expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 4
- <pre><code>{
+ <pre class="webchat__render-markdown__code-block"><webchat__code-block-copy-button data-value="{
+ "hello": "World!"
+ }
+ "></webchat__code-block-copy-button><code>{
"hello": "World!"
}
</code></pre>
at Object.toBe (packages/bundle/src/__tests__/renderMarkdown.spec.js:61:7)
|
renderMarkdown › should render aria-labels:
packages/bundle/src/__tests__/renderMarkdown.spec.js#L67
expect(received).toBe(expected) // Object.is equality
Expected: "<p><a href=\"https://sample.com\" aria-label=\"example \" rel=\"noopener noreferrer\" target=\"_blank\">example<img src=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"\" class=\"webchat__render-markdown__external-link-icon\" /></a></p>"
Received: "<p><a href=\"https://sample.com\" aria-label=\"example Opens in a new window; external.\" rel=\"noopener noreferrer\" target=\"_blank\">example<img src=\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"\" class=\"webchat__render-markdown__external-link-icon\" title=\"Opens in a new window; external.\" /></a></p>"
at Object.toBe (packages/bundle/src/__tests__/renderMarkdown.spec.js:67:98)
|
Unit test
Process completed with exit code 1.
|
calling sendMessageBack should send a message back activity:
__tests__/hooks/useSendMessageBack.js#L24
Expected image to match or be a close match to snapshot but was 0.19921875% different from snapshot (459 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-send-message-back-js-calling-send-message-back-should-send-a-message-back-activity-1-snap-diff.png
at toMatchImageSnapshot (__tests__/hooks/useSendMessageBack.js:24:21)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
HTML test (9/17)
Process completed with exit code 1.
|
conversationStartProperties › with locale of en-US should get "Hello and welcome!" message.:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.5299479166666666% different from snapshot (1221 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/conversation-start-properties-send-en-us-js-conversation-start-properties-with-locale-of-en-us-should-get-hello-and-welcome-message-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
HTML test (17/17)
Process completed with exit code 1.
|
markdown/codeBlockCopyButton/behavior.denied.html:
packages/test/harness/src/host/common/host/snapshot.js#L15
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
+ This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
scroll to end button should be customizable:
https://webchat2/__dist__/webchat-es5.js#L134
Failed to execute 'define' on 'CustomElementRegistry': the name "webchat-6oc0g__code-block-copy-button" has already been used with this registry
at zVn (https:/webchat2/__dist__/webchat-es5.js:134:52322)
at https:/webchat2/__dist__/webchat-es5.js:134:52550
at updateMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13612:19)
at Object.useMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13951:16)
at useMemo (https:/unpkg.com/[email protected]/umd/react.development.js:2680:21)
at WVn (https:/webchat2/__dist__/webchat-es5.js:134:52545)
at renderWithHooks (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14708:10)
at beginWork (https:/unpkg.com/[email protected]/umd/react-dom.development.js:15828:16)
|
HTML test (11/17)
Process completed with exit code 1.
|
conversationStartProperties › with locale of zh-CN should get "Hello and welcome!" in Simplified Chinese.:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.532986111111111% different from snapshot (1228 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/conversation-start-properties-send-zh-cn-js-conversation-start-properties-with-locale-of-zh-cn-should-get-hello-and-welcome-in-simplified-chinese-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
styleOptions.bubbleImageMinMaxHeight › should resize images properly:
https://webchat2/test-page-object.js#L78659
TypeError: Cannot destructure property 'offsetHeight' of '((cov_1qdrv6oz3o(...).s[2]++) , scrollable)' as it is null.
at https:/webchat2/test-page-object.js:78659:9
at https:/webchat2/test-page-object.js:76791:48
at became (https:/webchat2/test-page-object.js:73200:17)
at stabilized (https:/webchat2/test-page-object.js:76789:11)
at Object.scrollToBottomCompleted (https:/webchat2/test-page-object.js:78655:11)
at https:/webchat2/__tests__/html/styleOptions/bubbleImageHeight/bubbleImageHeight.comprehensive:94:30
|
offline UI › should show "Taking longer than usual to connect" UI when connection is slow:
https://webchat2/test-page-object.js#L73211
Timed out while waiting for page condition "for connectivity status that match /connecting/iu" after 15 seconds.
at became (https:/webchat2/test-page-object.js:73211:11)
at async https:/webchat2/__tests__/html/offlineUI.slowNetwork.firstConnect:72:9
|
HTML test (2/17)
Process completed with exit code 1.
|
suggested actions › when using default style options:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.2513020833333333% different from snapshot (2883 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/suggested-actions-style-options-js-suggested-actions-when-using-default-style-options-2-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
suggested actions › when overriding with deprecated style options:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.7109375% different from snapshot (3942 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/suggested-actions-style-options-js-suggested-actions-when-overriding-with-deprecated-style-options-2-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
suggested actions › when overriding style options:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.7109375% different from snapshot (3942 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/suggested-actions-style-options-js-suggested-actions-when-overriding-style-options-2-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
setting "hideScrollToEndButton" option should hide the scroll to end button:
https://webchat2/test-page-object.js#L73211
Timed out while waiting for page condition "Scroll to end button is shown" after 1 seconds.
at became (https:/webchat2/test-page-object.js:73211:11)
at async run.expectDeprecations (https:/webchat2/__tests__/html/styleOptions.deprecated.hideScrollToEndButton:62:11)
|
HTML test (8/17)
Process completed with exit code 1.
|
clicking on the scroll to end button should scroll and focus correctly:
https://webchat2/test-page-object.js#L77082
TypeError: Cannot read properties of null (reading 'scrollTop')
at https:/webchat2/test-page-object.js:77082:36
at https:/webchat2/test-page-object.js:76791:48
at became (https:/webchat2/test-page-object.js:73200:17)
at stabilized (https:/webchat2/test-page-object.js:76789:11)
at scrollStabilized (https:/webchat2/test-page-object.js:77079:12)
at Object.scrollToTop (https:/webchat2/test-page-object.js:84760:11)
at https:/webchat2/__tests__/html/scrollToEndButton.click:96:27
|
HTML test (16/17)
Process completed with exit code 1.
|
customizable avatar › with default avatar:
__tests__/customizableAvatar.js#L97
Expected image to match or be a close match to snapshot but was 1.3255931712962963% different from snapshot (3665 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/customizable-avatar-js-customizable-avatar-with-default-avatar-2-snap-diff.png
at Object.toMatchImageSnapshot (node_modules/expect/build/index.js:194:22)
at toMatchImageSnapshot (__tests__/customizableAvatar.js:97:52)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
customizable avatar › with default avatar:
__tests__/customizableAvatar.js#L128
Expected image to match or be a close match to snapshot but was 2.2160734953703702% different from snapshot (6127 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/customizable-avatar-js-customizable-avatar-with-default-avatar-bubble-nub-and-round-bubble-2-snap-diff.png
at Object.toMatchImageSnapshot (node_modules/expect/build/index.js:194:22)
at toMatchImageSnapshot (__tests__/customizableAvatar.js:128:52)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
customizable avatar › with default avatar only on one side:
__tests__/customizableAvatar.js#L159
Expected image to match or be a close match to snapshot but was 1.0473090277777777% different from snapshot (2413 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/customizable-avatar-js-customizable-avatar-with-default-avatar-only-on-one-side-2-snap-diff.png
at Object.toMatchImageSnapshot (node_modules/expect/build/index.js:194:22)
at toMatchImageSnapshot (__tests__/customizableAvatar.js:159:52)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
customizable avatar › with default avatar:
__tests__/customizableAvatar.js#L190
Expected image to match or be a close match to snapshot but was 1.3546006944444444% different from snapshot (3121 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/customizable-avatar-js-customizable-avatar-with-default-avatar-bubble-nub-and-round-bubble-only-on-one-side-2-snap-diff.png
at Object.toMatchImageSnapshot (node_modules/expect/build/index.js:194:22)
at toMatchImageSnapshot (__tests__/customizableAvatar.js:190:52)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
customizable avatar › in RTL › with default avatar:
__tests__/customizableAvatar.js#L226
Expected image to match or be a close match to snapshot but was 1.0760271990740742% different from snapshot (2975 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/customizable-avatar-js-customizable-avatar-in-rtl-with-default-avatar-2-snap-diff.png
at Object.toMatchImageSnapshot (node_modules/expect/build/index.js:194:22)
at toMatchImageSnapshot (__tests__/customizableAvatar.js:226:54)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
customizable avatar › in RTL › with default avatar:
__tests__/customizableAvatar.js#L261
Expected image to match or be a close match to snapshot but was 1.9665075231481481% different from snapshot (5437 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/customizable-avatar-js-customizable-avatar-in-rtl-with-default-avatar-bubble-nub-and-round-bubble-2-snap-diff.png
at Object.toMatchImageSnapshot (node_modules/expect/build/index.js:194:22)
at toMatchImageSnapshot (__tests__/customizableAvatar.js:261:54)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
customizable avatar › in RTL › with default avatar only on one side:
__tests__/customizableAvatar.js#L292
Expected image to match or be a close match to snapshot but was 0.9162326388888888% different from snapshot (2111 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/customizable-avatar-js-customizable-avatar-in-rtl-with-default-avatar-only-on-one-side-2-snap-diff.png
at Object.toMatchImageSnapshot (node_modules/expect/build/index.js:194:22)
at toMatchImageSnapshot (__tests__/customizableAvatar.js:292:54)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
customizable avatar › in RTL › with default avatar:
__tests__/customizableAvatar.js#L323
Expected image to match or be a close match to snapshot but was 1.2235243055555556% different from snapshot (2819 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/customizable-avatar-js-customizable-avatar-in-rtl-with-default-avatar-bubble-nub-and-round-bubble-only-on-one-side-2-snap-diff.png
at Object.toMatchImageSnapshot (node_modules/expect/build/index.js:194:22)
at toMatchImageSnapshot (__tests__/customizableAvatar.js:323:54)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
useInjectStyles › should change style root:
https://webchat2/__dist__/webchat-es5.js#L134
Failed to execute 'define' on 'CustomElementRegistry': the name "webchat-rfx1x__code-block-copy-button" has already been used with this registry
at zVn (https:/webchat2/__dist__/webchat-es5.js:134:52322)
at https:/webchat2/__dist__/webchat-es5.js:134:52550
at updateMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13612:19)
at Object.useMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13951:16)
at useMemo (https:/unpkg.com/[email protected]/umd/react.development.js:2680:21)
at WVn (https:/webchat2/__dist__/webchat-es5.js:134:52545)
at renderWithHooks (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14708:10)
at beginWork (https:/unpkg.com/[email protected]/umd/react-dom.development.js:15828:16)
|
HTML test (10/17)
Process completed with exit code 1.
|
Auto-scroll with suggested actions shown › should stick to bottom if submitting an Adaptive Card:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.5611979166666667% different from snapshot (1293 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/auto-scroll-with-suggested-actions-submit-adaptive-cards-js-auto-scroll-with-suggested-actions-shown-should-stick-to-bottom-if-submitting-an-adaptive-card-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
timestamp › send timeout for attachment should be different:
https://webchat2/test-page-object.js#L74935
TypeError: Cannot read properties of null (reading 'querySelectorAll')
at activities (https:/webchat2/test-page-object.js:74935:24)
at Object.getActivityStatuses (https:/webchat2/test-page-object.js:75047:24)
at run.ignoreErrors (https:/webchat2/__tests__/html/timestamp.attachmentSendTimeout:94:37)
|
HTML test (7/17)
Process completed with exit code 1.
|
send box button › with different style options:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.19835069444444445% different from snapshot (457 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/send-box-button-style-options-js-send-box-button-with-different-style-options-2-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
send box button › with default style options:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.18272569444444445% different from snapshot (421 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/send-box-button-style-options-js-send-box-button-with-default-style-options-2-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
HTML test (1/17)
Process completed with exit code 1.
|
markdown/codeBlockCopyButton/behavior.html:
packages/test/harness/src/host/common/host/snapshot.js#L15
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
+ This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
HTML test (14/17)
Process completed with exit code 1.
|
conversationStartProperties › with locale of invalid type should get "Hello and welcome!" message.:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.390625% different from snapshot (900 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/conversation-start-properties-send-invalid-type-js-conversation-start-properties-with-locale-of-invalid-type-should-get-hello-and-welcome-message-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
scroll to end button › should have correct tab order:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.004774305555555556% different from snapshot (11 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/scroll-to-end-button-tab-order-js-scroll-to-end-button-should-have-correct-tab-order-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
HTML test (4/17)
Process completed with exit code 1.
|
conversationStartProperties › with no locale is sent should get "Hello and welcome!" message.:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.390625% different from snapshot (900 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/conversation-start-properties-no-locale-is-sent-js-conversation-start-properties-with-no-locale-is-sent-should-get-hello-and-welcome-message-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
sendBoxToolbarMiddleware › when mutated should be treated as immutable:
https://webchat2/test-page-object.js#L73211
Timed out while waiting for page condition "incoming activity appears in the store" after 1 seconds.
at became (https:/webchat2/test-page-object.js:73211:11)
at async Object.emulateIncomingActivity (https:/webchat2/test-page-object.js:123622:82)
at async https:/webchat2/__tests__/html/sendBoxToolbarMiddleware/immutable:63:9
|
HTML test (13/17)
Process completed with exit code 1.
|
changing typing indicator duration on-the-fly:
undefined#L1
TimeoutError: Waiting for element to be located By(css selector, .webchat__typing-indicator)
Wait timed out after 1058ms
at node_modules/selenium-webdriver/lib/webdriver.js:923:22
|
calling sendPostBack should send a post back activity:
__tests__/hooks/useSendPostBack.js#L22
Expected image to match or be a close match to snapshot but was 0.19921875% different from snapshot (459 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-send-post-back-js-calling-send-post-back-should-send-a-post-back-activity-1-snap-diff.png
at toMatchImageSnapshot (__tests__/hooks/useSendPostBack.js:22:21)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
HTML test (12/17)
Process completed with exit code 1.
|
Inputs card with custom style options and submit action:
__tests__/adaptiveCards.js#L169
Expected image to match or be a close match to snapshot but was 0.5611979166666667% different from snapshot (1293 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/adaptive-cards-js-inputs-card-with-custom-style-options-and-submit-action-1-snap-diff.png
at toMatchImageSnapshot (__tests__/adaptiveCards.js:169:21)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
send box button alignment › without speech › :
https://webchat2/__dist__/webchat-es5.js#L134
Failed to execute 'define' on 'CustomElementRegistry': the name "webchat-c2pxg__code-block-copy-button" has already been used with this registry
at zVn (https:/webchat2/__dist__/webchat-es5.js:134:52322)
at https:/webchat2/__dist__/webchat-es5.js:134:52550
at updateMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13612:19)
at Object.useMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13951:16)
at useMemo (https:/unpkg.com/[email protected]/umd/react.development.js:2680:21)
at WVn (https:/webchat2/__dist__/webchat-es5.js:134:52545)
at renderWithHooks (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14708:10)
at beginWork (https:/unpkg.com/[email protected]/umd/react-dom.development.js:15828:16)
|
send box button alignment › without speech › :
https://webchat2/__dist__/webchat-es5.js#L134
Failed to execute 'define' on 'CustomElementRegistry': the name "webchat-hy8zj__code-block-copy-button" has already been used with this registry
at zVn (https:/webchat2/__dist__/webchat-es5.js:134:52322)
at https:/webchat2/__dist__/webchat-es5.js:134:52550
at updateMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13612:19)
at Object.useMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13951:16)
at useMemo (https:/unpkg.com/[email protected]/umd/react.development.js:2680:21)
at WVn (https:/webchat2/__dist__/webchat-es5.js:134:52545)
at renderWithHooks (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14708:10)
at beginWork (https:/unpkg.com/[email protected]/umd/react-dom.development.js:15828:16)
|
send box button alignment › without speech › :
https://webchat2/__dist__/webchat-es5.js#L134
Failed to execute 'define' on 'CustomElementRegistry': the name "webchat-gou5o__code-block-copy-button" has already been used with this registry
at zVn (https:/webchat2/__dist__/webchat-es5.js:134:52322)
at https:/webchat2/__dist__/webchat-es5.js:134:52550
at updateMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13612:19)
at Object.useMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13951:16)
at useMemo (https:/unpkg.com/[email protected]/umd/react.development.js:2680:21)
at WVn (https:/webchat2/__dist__/webchat-es5.js:134:52545)
at renderWithHooks (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14708:10)
at beginWork (https:/unpkg.com/[email protected]/umd/react-dom.development.js:15828:16)
|
send box button alignment › without speech › and single line:
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 9
Received array: [{"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 133:52321 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegist…-button\" has already been used with this registry", "timestamp": 1729893044407, "type": ""}, {"level": "SEVERE", "message": "https://unpkg.com/[email protected]/umd/react-dom.development.js 17251:12 \"The above error occurred in the \\u003CWVn> component:\\n in WVn\\n in div\\n in Unknown (created by kw)\\n in t (created by kw)\\n in kw (created by Qle)\\n in Unknown (created by Qle)\\n in UVn (created by Qle)\\n in sendBoxToolbarMiddlewareProvider (created by bee)\\n in sendBoxMiddlewareProvider (created by bee)\\n in ActivityTypingComposer (created by bee)\\n in M1n (created by bee)\\n in Unknown (created by bee)\\n in bee (created by X7)\\n in Bmn (created by X7)\\n in Wmn (created by X7)\\n in $Ne (created by X7)\\n in X7 (created by Tee)\\n in see (created by Tee)\\n in ahn (created by hee)\\n in hee (created by Tee)\\n in Tee (created by Qle)\\n in Qle (created by V0r)\\n in Mir (created by V0r)\\n in V0r (created by ohe)\\n in ohe (created by App)\\n in App\\n\\nReact will try to recreate this component tree from scratch using the error boundary you provided, hee.\"", "timestamp": 1729893044412, "type": ""}, {"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 117:1071384 \"botframework-webchat: Uncaught exception\" Object", "timestamp": 1729893044413, "type": ""}, {"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 133:52321 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegist…-button\" has already been used with this registry", "timestamp": 1729893045711, "type": ""}, {"level": "SEVERE", "message": "https://unpkg.com/[email protected]/umd/react-dom.development.js 17251:12 \"The above error occurred in the \\u003CWVn> component:\\n in WVn\\n in div\\n in Unknown (created by kw)\\n in t (created by kw)\\n in kw (created by Qle)\\n in Unknown (created by Qle)\\n in UVn (created by Qle)\\n in sendBoxToolbarMiddlewareProvider (created by bee)\\n in sendBoxMiddlewareProvider (created by bee)\\n in ActivityTypingComposer (created by bee)\\n in M1n (created by bee)\\n in Unknown (created by bee)\\n in bee (created by X7)\\n in Bmn (created by X7)\\n in Wmn (created by X7)\\n in $Ne (created by X7)\\n in X7 (created by Tee)\\n in see (created by Tee)\\n in ahn (created by hee)\\n in hee (created by Tee)\\n in Tee (created by Qle)\\n in Qle (created by V0r)\\n in Mir (created by V0r)\\n in V0r (created by ohe)\\n in ohe (created by App)\\n in App\\n\\nReact will try to recreate this component tree from scratch using the error boundary you provided, hee.\"", "timestamp": 1729893045714, "type": ""}, {"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 117:1071384 \"botframework-webchat: Uncaught exception\" Object", "timestamp": 1729893045715, "type": ""}, {"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 133:52321 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegist…-button\" has already been used with this registry", "timestamp": 1729893046973, "type": ""}, {"level": "SEVERE", "message": "https://unpkg.com/[email protected]/umd/react-dom.development.js 17251:12 \"The above error occurred in the \\u003CWVn> component:\\n in WVn\\n in div\\n in Unknown (created by kw)\\n in t (created by kw)\\n in kw (created by Qle)\\n in Unknown (created by Qle)\\n in UVn (created by Qle)\\n in sendBoxToolbarMiddlewareProvider (created by bee)\\n in sendBoxMiddlewareProvider (created by bee)\\n in ActivityTypingComposer (created by bee)\\n in M1n (created by bee)\\n in Unknown (created by bee)\\n in bee (created by X7)\\n in Bmn (created by X7)\\n in Wmn (created by X7)\
|
send box button alignment › with speech › :
https://webchat2/__dist__/webchat-es5.js#L134
Failed to execute 'define' on 'CustomElementRegistry': the name "webchat-y4rgz__code-block-copy-button" has already been used with this registry
at zVn (https:/webchat2/__dist__/webchat-es5.js:134:52322)
at https:/webchat2/__dist__/webchat-es5.js:134:52550
at updateMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13612:19)
at Object.useMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13951:16)
at useMemo (https:/unpkg.com/[email protected]/umd/react.development.js:2680:21)
at WVn (https:/webchat2/__dist__/webchat-es5.js:134:52545)
at renderWithHooks (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14708:10)
at beginWork (https:/unpkg.com/[email protected]/umd/react-dom.development.js:15828:16)
|
send box button alignment › with speech › :
https://webchat2/__dist__/webchat-es5.js#L134
Failed to execute 'define' on 'CustomElementRegistry': the name "webchat-reea6__code-block-copy-button" has already been used with this registry
at zVn (https:/webchat2/__dist__/webchat-es5.js:134:52322)
at https:/webchat2/__dist__/webchat-es5.js:134:52550
at updateMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13612:19)
at Object.useMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13951:16)
at useMemo (https:/unpkg.com/[email protected]/umd/react.development.js:2680:21)
at WVn (https:/webchat2/__dist__/webchat-es5.js:134:52545)
at renderWithHooks (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14708:10)
at beginWork (https:/unpkg.com/[email protected]/umd/react-dom.development.js:15828:16)
|
send box button alignment › with speech › :
https://webchat2/__dist__/webchat-es5.js#L134
Failed to execute 'define' on 'CustomElementRegistry': the name "webchat-zh47p__code-block-copy-button" has already been used with this registry
at zVn (https:/webchat2/__dist__/webchat-es5.js:134:52322)
at https:/webchat2/__dist__/webchat-es5.js:134:52550
at updateMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13612:19)
at Object.useMemo (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13951:16)
at useMemo (https:/unpkg.com/[email protected]/umd/react.development.js:2680:21)
at WVn (https:/webchat2/__dist__/webchat-es5.js:134:52545)
at renderWithHooks (https:/unpkg.com/[email protected]/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/[email protected]/umd/react-dom.development.js:14708:10)
at beginWork (https:/unpkg.com/[email protected]/umd/react-dom.development.js:15828:16)
|
send box button alignment › with speech › and single line:
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 18
Received array: [{"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 133:52321 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegist…-button\" has already been used with this registry", "timestamp": 1729893044407, "type": ""}, {"level": "SEVERE", "message": "https://unpkg.com/[email protected]/umd/react-dom.development.js 17251:12 \"The above error occurred in the \\u003CWVn> component:\\n in WVn\\n in div\\n in Unknown (created by kw)\\n in t (created by kw)\\n in kw (created by Qle)\\n in Unknown (created by Qle)\\n in UVn (created by Qle)\\n in sendBoxToolbarMiddlewareProvider (created by bee)\\n in sendBoxMiddlewareProvider (created by bee)\\n in ActivityTypingComposer (created by bee)\\n in M1n (created by bee)\\n in Unknown (created by bee)\\n in bee (created by X7)\\n in Bmn (created by X7)\\n in Wmn (created by X7)\\n in $Ne (created by X7)\\n in X7 (created by Tee)\\n in see (created by Tee)\\n in ahn (created by hee)\\n in hee (created by Tee)\\n in Tee (created by Qle)\\n in Qle (created by V0r)\\n in Mir (created by V0r)\\n in V0r (created by ohe)\\n in ohe (created by App)\\n in App\\n\\nReact will try to recreate this component tree from scratch using the error boundary you provided, hee.\"", "timestamp": 1729893044412, "type": ""}, {"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 117:1071384 \"botframework-webchat: Uncaught exception\" Object", "timestamp": 1729893044413, "type": ""}, {"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 133:52321 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegist…-button\" has already been used with this registry", "timestamp": 1729893045711, "type": ""}, {"level": "SEVERE", "message": "https://unpkg.com/[email protected]/umd/react-dom.development.js 17251:12 \"The above error occurred in the \\u003CWVn> component:\\n in WVn\\n in div\\n in Unknown (created by kw)\\n in t (created by kw)\\n in kw (created by Qle)\\n in Unknown (created by Qle)\\n in UVn (created by Qle)\\n in sendBoxToolbarMiddlewareProvider (created by bee)\\n in sendBoxMiddlewareProvider (created by bee)\\n in ActivityTypingComposer (created by bee)\\n in M1n (created by bee)\\n in Unknown (created by bee)\\n in bee (created by X7)\\n in Bmn (created by X7)\\n in Wmn (created by X7)\\n in $Ne (created by X7)\\n in X7 (created by Tee)\\n in see (created by Tee)\\n in ahn (created by hee)\\n in hee (created by Tee)\\n in Tee (created by Qle)\\n in Qle (created by V0r)\\n in Mir (created by V0r)\\n in V0r (created by ohe)\\n in ohe (created by App)\\n in App\\n\\nReact will try to recreate this component tree from scratch using the error boundary you provided, hee.\"", "timestamp": 1729893045714, "type": ""}, {"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 117:1071384 \"botframework-webchat: Uncaught exception\" Object", "timestamp": 1729893045715, "type": ""}, {"level": "SEVERE", "message": "https://webchat2/__dist__/webchat-es5.js 133:52321 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegist…-button\" has already been used with this registry", "timestamp": 1729893046973, "type": ""}, {"level": "SEVERE", "message": "https://unpkg.com/[email protected]/umd/react-dom.development.js 17251:12 \"The above error occurred in the \\u003CWVn> component:\\n in WVn\\n in div\\n in Unknown (created by kw)\\n in t (created by kw)\\n in kw (created by Qle)\\n in Unknown (created by Qle)\\n in UVn (created by Qle)\\n in sendBoxToolbarMiddlewareProvider (created by bee)\\n in sendBoxMiddlewareProvider (created by bee)\\n in ActivityTypingComposer (created by bee)\\n in M1n (created by bee)\\n in Unknown (created by bee)\\n in bee (created by X7)\\n in Bmn (created by X7)\\n in Wmn (created by X7)
|
timestamp › change send timeout on-the-fly:
https://webchat2/test-page-object.js#L74935
TypeError: Cannot read properties of null (reading 'querySelectorAll')
at activities (https:/webchat2/test-page-object.js:74935:24)
at Object.getActivityStatuses (https:/webchat2/test-page-object.js:75047:24)
at https:/webchat2/__tests__/html/timestamp.changeSendTimeout:83:30
at Object.became (https:/webchat2/test-page-object.js:73200:17)
at https:/webchat2/__tests__/html/timestamp.changeSendTimeout:81:30
|
should show response from bot and text from user on postback:
__tests__/suggestedActions.js#L106
Expected image to match or be a close match to snapshot but was 0.19921875% different from snapshot (459 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/suggested-actions-js-should-show-response-from-bot-and-text-from-user-on-postback-1-snap-diff.png
at toMatchImageSnapshot (__tests__/suggestedActions.js:106:21)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
should show response from bot and no text from user on messageback:
__tests__/suggestedActions.js#L127
Expected image to match or be a close match to snapshot but was 0.19921875% different from snapshot (459 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/suggested-actions-js-should-show-response-from-bot-and-no-text-from-user-on-messageback-1-snap-diff.png
at toMatchImageSnapshot (__tests__/suggestedActions.js:127:21)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
should show response from bot and text from user on messageback:
__tests__/suggestedActions.js#L148
Expected image to match or be a close match to snapshot but was 0.19921875% different from snapshot (459 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/suggested-actions-js-should-show-response-from-bot-and-text-from-user-on-messageback-1-snap-diff.png
at toMatchImageSnapshot (__tests__/suggestedActions.js:148:21)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
markdown/codeBlockCopyButton/layout.html:
packages/test/harness/src/host/common/host/snapshot.js#L15
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
+ This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
hero card actions › postBack (JSON):
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.19401041666666666% different from snapshot (447 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/hero-card-actions-js-hero-card-actions-post-back-json-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
hero card actions › messageBack (displayText + text + value):
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.19401041666666666% different from snapshot (447 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/hero-card-actions-js-hero-card-actions-message-back-display-text-text-value-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
hero card actions › messageBack (value):
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.19401041666666666% different from snapshot (447 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/hero-card-actions-js-hero-card-actions-message-back-value-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
conversationStartProperties › with non-existing locale should get "Hello and welcome!" message.:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.521701388888889% different from snapshot (1202 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/conversation-start-properties-send-non-existing-js-conversation-start-properties-with-non-existing-locale-should-get-hello-and-welcome-message-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
accessibility requirement › disabling Adaptive Card with inputs field:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 13.703559027777779% different from snapshot (31573 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/accessibility-adaptive-card-disabled-inputs-js-accessibility-requirement-disabling-adaptive-card-with-inputs-field-3-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
sendBoxMiddleware › when mutated should be treated as immutable:
https://webchat2/test-page-object.js#L73211
Timed out while waiting for page condition "incoming activity appears in the store" after 1 seconds.
at became (https:/webchat2/test-page-object.js:73211:11)
at async Object.emulateIncomingActivity (https:/webchat2/test-page-object.js:123622:82)
at async https:/webchat2/__tests__/html/sendBoxMiddleware/immutable:44:9
|
transcript › with activity grouping test 43:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.6707899305555556% different from snapshot (7699 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/transcript-activity-grouping-js-transcript-with-activity-grouping-test-43-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
transcript › with activity grouping test 44:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.13899739583333334% different from snapshot (1281 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/transcript-activity-grouping-js-transcript-with-activity-grouping-test-44-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
transcript › with activity grouping test 46:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.13899739583333334% different from snapshot (1281 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/transcript-activity-grouping-js-transcript-with-activity-grouping-test-46-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
conversationStartProperties › with non ISO format locale should get "Hello and welcome!" message.:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.5377604166666666% different from snapshot (1239 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/conversation-start-properties-send-non-iso-format-js-conversation-start-properties-with-non-iso-format-locale-should-get-hello-and-welcome-message-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
Adaptive Cards › with "adaptiveCardsParserMaxVersion" style options:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.5842013888888888% different from snapshot (1346 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/adaptive-cards-parser-max-version-js-adaptive-cards-with-adaptive-cards-parser-max-version-style-options-2-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
timestamp › should change grouping on-the-fly:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.7465277777777778% different from snapshot (1720 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/timestamp-change-grouping-js-timestamp-should-change-grouping-on-the-fly-2-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
notification toast › hide toaster:
https://webchat2/test-page-object.js#L73211
Timed out while waiting for page condition "for number of visible toasts equals to 1" after 1 seconds.
at became (https:/webchat2/test-page-object.js:73211:11)
at async https:/webchat2/__tests__/html/toaster.hideToaster:46:9
|
HTML test (5/17)
Process completed with exit code 1.
|
HTML test (11/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (16/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (14/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
docker
Expired
|
104 MB |
|
test-result
|
1.33 MB |
|
test-snapshot-diff
|
3.59 MB |
|