Fix samples (second round) #990
pull-request-validation.yml
on: pull_request
Build
5m 36s
Unit test
6m 52s
Static code analysis
6m 28s
Type definitions test
6m 0s
Matrix: html-test
Merge test result
20s
Merge test snapshots
3s
Annotations
47 errors and 14 warnings
upload an image:
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/9ewxArTM2WJDJpoibwYlro-us/upload?userId=r_sp5wcx2n7l - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726824006752, "type": ""}]
at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
HTML test (17/17)
Process completed with exit code 1.
|
Call useSendFiles hook › should print deprecation warning:
packages/test/harness/src/host/common/host/snapshot.js#L13
Expected image to match or be a close match to snapshot but was 0.06727430555555555% different from snapshot (155 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/use-send-files-deprecation-js-call-use-send-files-hook-should-print-deprecation-warning-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:13:24)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
useTextBox › should work properly:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 4 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
|
HTML test (9/17)
Process completed with exit code 1.
|
upload a zip file without contentURL › should send:
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/mKqooU1UbZ8zCAXWt645X-us/upload?userId=r_o10v67y3um - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726824006746, "type": ""}]
at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
HTML test (11/17)
Process completed with exit code 1.
|
Carousel › should scroll when flipper button is clicked:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "exactly 2 activities is shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/carousel.flipperButton:23:9
|
HTML test (16/17)
Process completed with exit code 1.
|
upload a zip file with contentURL › should send:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "all outgoing activities sent" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async Object.uploadFile (https:/webchat2/test-page-object.js:69469:79)
at async https:/webchat2/__tests__/html/upload/uploadZipFileWithContentURL:54:9
|
HTML test (10/17)
Process completed with exit code 1.
|
update activity › should replace activity with same activity ID:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "all outgoing activities sent" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async Object.sendMessageViaSendBox (https:/webchat2/test-page-object.js:69287:7)
at async https:/webchat2/__tests__/html/updateActivity.sameActivityId:51:9
|
scroll to end button › should show and hide properly:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 2 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/scrollToEndButton.visibility:44:9
|
bubble border with color:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 3 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/styleOptions.bubbleBorder:59:9
|
HTML test (2/17)
Process completed with exit code 1.
|
scroll to end button should not flash when sending a message:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "exactly 2 activities is shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
|
HTML test (8/17)
Process completed with exit code 1.
|
without Web Worker upload a picture with custom thumbnail size › should send:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 2 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/upload/withoutWebWorker/customThumbnailSize:36:9
|
accessibility requirement for hero card › should have title text with role="heading":
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 2 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/accessibility.heroCard.heading:23:9
|
HTML test (13/17)
Process completed with exit code 1.
|
accessibility requirement › attachments in live region › thumbnail card:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 2 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
|
chat adapter › should render properly if some activity fields are null:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "all outgoing activities sent" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async Object.sendMessageViaSendBox (https:/webchat2/test-page-object.js:69287:7)
at async https:/webchat2/__tests__/html/chatAdapter.nullFields:69:9
|
Markdown › should not render when renderMarkdown is null:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 3 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/markdown.renderMarkdown.null:24:9
|
HTML test (12/17)
Process completed with exit code 1.
|
useObserveScrollPosition › should observe scroll position changes:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 2 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
|
HTML test (1/17)
Process completed with exit code 1.
|
accessibility requirement › attachments in live region › video card:
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/DVXrhzIvlLSICCguyXedHJ-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726823972371, "type": ""}]
at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
accessibility requirement › attachments in live region › hero card:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 2 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
|
suggested actions › should scroll when flipper buttons are clicked:
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/xQK9IwJD7lLBWCjvy1bhO-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726824062402, "type": ""}]
at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
HTML test (7/17)
Process completed with exit code 1.
|
Call useSendFiles hook with a file with extension of .ZIP but type of "image/jpeg" › should not display thumbnail:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "exactly 3 activities is shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/sendAttachmentOn/useSendFiles.binary:39:9
|
accessibility requirement › Adaptive Card without tap action should not be focusable:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 2 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/accessibility.adaptiveCard.withoutTapAction:24:9
|
useSendMessage hook › should send attachments without a message:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "exactly 3 activities is shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/sendAttachmentOn/useSendMessage.withoutMessage:35:9
|
HTML test (6/17)
Process completed with exit code 1.
|
Direct Line App Service Service chat adapter › should connect to the MockBot.:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "connected" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/chatAdapter.directLineAppServiceExtension:23:9
|
HTML test (14/17)
Process completed with exit code 1.
|
transcript navigation › should auto-select last activity when TAB into the transcript:
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "exactly 3 activities is shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/transcript.navigation.defaultActiveDescendant.tab:32:9
|
HTML test (4/17)
Process completed with exit code 1.
|
hero card actions › imBack:
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/EWA5E9JzqVM99D7tOzyTqx-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726823972377, "type": ""}]
at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
hero card actions › postBack (string):
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/EWA5E9JzqVM99D7tOzyTqx-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726823972377, "type": ""}]
at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
hero card actions › postBack (JSON):
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 3 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/heroCard.actions:35:9
|
hero card actions › messageBack (displayText + text + value):
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 2
Received array: [{"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/EWA5E9JzqVM99D7tOzyTqx-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726823972377, "type": ""}, {"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/9rJ7OJTAZmXCBlVT7BydGO-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726824007123, "type": ""}]
at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
hero card actions › messageBack (displayText + text):
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 2
Received array: [{"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/EWA5E9JzqVM99D7tOzyTqx-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726823972377, "type": ""}, {"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/9rJ7OJTAZmXCBlVT7BydGO-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726824007123, "type": ""}]
at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
hero card actions › messageBack (value):
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 2 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/heroCard.actions:26:9
|
hero card actions › postBack (empty):
https://webchat2/test-page-object.js#L57064
Timed out while waiting for page condition "at least 3 activities shown" after 15 seconds.
at became (https:/webchat2/test-page-object.js:57064:11)
at async https:/webchat2/__tests__/html/heroCard.actions:35:9
|
hero card actions › messageBack (empty):
packages/test/harness/src/host/common/host/done.js#L22
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 4
Received array: [{"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/EWA5E9JzqVM99D7tOzyTqx-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726823972377, "type": ""}, {"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/9rJ7OJTAZmXCBlVT7BydGO-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726824007123, "type": ""}, {"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/J14VkgxgaRDIh8GpNVQZS0-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726824034273, "type": ""}, {"level": "SEVERE", "message": "https://directline.botframework.com/v3/directline/conversations/KwlXlm4XoYAUVZFfhKlfc-us/activities - Failed to load resource: the server responded with a status of 502 ()", "timestamp": 1726824062686, "type": ""}]
at toHaveLength (packages/test/harness/src/host/common/host/done.js:22:77)
at tryCatch (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (packages/test/harness/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (packages/test/harness/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
|
HTML test (15/17)
Process completed with exit code 1.
|
HTML test (17/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
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 (10/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (2/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (8/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (13/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (12/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (1/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (7/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (6/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.
|
HTML test (4/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*. No artifacts will be uploaded.
|
HTML test (15/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
|
146 MB |
|
test-result-html-1
Expired
|
92.4 KB |
|
test-result-html-10
Expired
|
88.5 KB |
|
test-result-html-11
Expired
|
90.5 KB |
|
test-result-html-12
Expired
|
93.2 KB |
|
test-result-html-13
Expired
|
90.1 KB |
|
test-result-html-14
Expired
|
90.7 KB |
|
test-result-html-15
Expired
|
98.9 KB |
|
test-result-html-16
Expired
|
89.2 KB |
|
test-result-html-17
Expired
|
86.9 KB |
|
test-result-html-2
Expired
|
89.3 KB |
|
test-result-html-3
Expired
|
91.8 KB |
|
test-result-html-4
Expired
|
96.4 KB |
|
test-result-html-5
Expired
|
99.7 KB |
|
test-result-html-6
Expired
|
93.3 KB |
|
test-result-html-7
Expired
|
96.2 KB |
|
test-result-html-8
Expired
|
90.4 KB |
|
test-result-html-9
Expired
|
90.6 KB |
|
test-result-unit
Expired
|
205 KB |
|
test-snapshot-diff
Expired
|
41.6 KB |
|