Skip to content

Add attachment bar for preview upload #1507

Add attachment bar for preview upload

Add attachment bar for preview upload #1507

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

pull-request-validation.yml

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

Annotations

27 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.
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.
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 0.19835069444444445% different from snapshot (457 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.19835069444444445% different from snapshot (457 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.
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.
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/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.
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/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.19835069444444445% different from snapshot (457 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/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/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 0.19835069444444445% different from snapshot (457 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 (4/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 (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 (13/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 (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:4d37dc170b9bd2c57a1c5444ccf45a268aabbc72b4359e5f383a5deddf9dcaab
test-result Expired
1.12 MB
sha256:5e8c2e3e3dd0102bf45a90310901c2d068ac2479a2122660b56a93d231477df0
test-snapshot-diff Expired
130 KB
sha256:989482e268f95350b18c461bf152cbd373a456a300454fcfd5dd18faf602e45c