Skip to content

Add attachment bar for preview upload #1715

Add attachment bar for preview upload

Add attachment bar for preview upload #1715

Triggered via pull request May 19, 2025 20:26
Status Failure
Total duration 12m 52s
Artifacts 3

pull-request-validation.yml

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

Annotations

30 errors
Static code analysis
Process completed with exit code 1.
Static code analysis: packages/component/src/SendBoxToolbar/UploadButton.tsx#L5
'PropTypes' is defined but never used. Allowed unused vars must match /^_/u
HTML test (9/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 (2/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)
activity grouping › should not break avatar middleware with avatar at bottom: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 12.740668402777777% different from snapshot (58709 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/activity-grouping-avatar-middleware-at-bottom-js-activity-grouping-should-not-break-avatar-middleware-with-avatar-at-bottom-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 (6/17)
Process completed with exit code 1.
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)
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)
HTML test (17/17)
Process completed with exit code 1.
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 (3/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 (12/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 (13/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 (11/17)
Process completed with exit code 1.
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)
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)
HTML test (1/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 (4/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)
HTML test (15/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 (5/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)
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)

Artifacts

Produced during runtime
Name Size Digest
docker Expired
125 MB
sha256:03af7ccf86102909519815aa6cc37375338d5c4b43d98782c59521ed8371b8a8
test-result Expired
1.15 MB
sha256:bf5ff1577e47193367a4ad78d2a639be082a307fa465493dd86dc7d46da99c5a
test-snapshot-diff Expired
1.01 MB
sha256:1bf2af40925f02bb33129a7a93208406e77e72b33de0b931be362e00926e79de