Skip to content

Add attachment bar for preview upload #1506

Add attachment bar for preview upload

Add attachment bar for preview upload #1506

Triggered via pull request April 21, 2025 09:20
Status Failure
Total duration 13m 28s
Artifacts 3

pull-request-validation.yml

on: pull_request
Matrix: html-test
Merge test results
33s
Merge test results
Merge test snapshots
2s
Merge test snapshots
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 8 warnings
sendBox/previewBeforeSend/deleteButtonInTextMode.html: 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__/html2/sendBox/previewBeforeSend/deleteButtonInTextMode.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (17/17)
Process completed with exit code 1.
sendBox/previewBeforeSend/clearAfterSend.html: 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__/html2/sendBox/previewBeforeSend/clearAfterSend.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
sendBox/previewBeforeSend/deleteButton.html: 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__/html2/sendBox/previewBeforeSend/deleteButton.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (11/17)
Process completed with exit code 1.
sendBox/previewBeforeSend/threeImages.html: 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__/html2/sendBox/previewBeforeSend/threeImages.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
sendBox/previewBeforeSend/textOnlyMaxHeight.html: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.2139756944444444% different from snapshot (2797 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/sendBox/previewBeforeSend/textOnlyMaxHeight.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (4/17)
Process completed with exit code 1.
sendBox/previewBeforeSend/styleOptions.two.html: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.920138888888889% different from snapshot (2120 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/sendBox/previewBeforeSend/styleOptions.two.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
with "sendAttachmentOn" unset and use keyboard for the flow › should send attachments when the send button is clicked: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 6.458767361111111% different from snapshot (14881 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/simple-keyboard-only-js-with-send-attachment-on-unset-and-use-keyboard-for-the-flow-should-send-attachments-when-the-send-button-is-clicked-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:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (6/17)
Process completed with exit code 1.
with "sendAttachmentOn" of "send" › should send attachments when the send button is clicked: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 6.458767361111111% different from snapshot (14881 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/on-send-js-with-send-attachment-on-of-send-should-send-attachments-when-the-send-button-is-clicked-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:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (2/17)
Process completed with exit code 1.
markdown/math/layout.scroll.html: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 11.3046875% different from snapshot (26046 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/markdown/math/layout.scroll.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
sendBox/previewBeforeSend/escapeKey.html: 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__/html2/sendBox/previewBeforeSend/escapeKey.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (12/17)
Process completed with exit code 1.
with "sendAttachmentOn" unset › should send attachments when the send button is clicked: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 6.458767361111111% different from snapshot (14881 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/simple-js-with-send-attachment-on-unset-should-send-attachments-when-the-send-button-is-clicked-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:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (8/17)
Process completed with exit code 1.
sendBox/sendAttachmentOn/withMessage.html: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 6.458767361111111% different from snapshot (14881 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/sendBox/sendAttachmentOn/withMessage.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (3/17)
Process completed with exit code 1.
sendBox/previewBeforeSend/filePreview.html: 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__/html2/sendBox/previewBeforeSend/filePreview.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (1/17)
Process completed with exit code 1.
sendBox/previewBeforeSend/styleOptions.zero.html: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.513888888888889% different from snapshot (1184 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/sendBox/previewBeforeSend/styleOptions.zero.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (13/17)
Process completed with exit code 1.
sendBox/previewBeforeSend/textOnly.html: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.0920138888888888% different from snapshot (2516 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/sendBox/previewBeforeSend/textOnly.html.snap-1-diff.png at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24) at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (15/17)
Process completed with exit code 1.
Call useSendBoxAttachments hook › should get/set and upload attachments: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.6171875% different from snapshot (1422 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/use-send-box-attachments-js-call-use-send-box-attachments-hook-should-get-set-and-upload-attachments-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:86:17) at Generator._invoke (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24) at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
HTML test (5/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 (4/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 (3/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 (13/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 Digest
docker Expired
124 MB
sha256:5c4343294ae78f185a24291d1cb3f8be3513819e126c651da6d72d3bdae8b262
test-result Expired
1.12 MB
sha256:5bab51d31d5e6d29ac2b52ac88a061a3e9065e8954cc7a151864c5b4d0683fa9
test-snapshot-diff Expired
130 KB
sha256:9b0146cbe85528b97208cb795bc28451e46428b6d5b348cca4b383aa5c7f9edc