Skip to content

Add copy button to code dialog #1187

Add copy button to code dialog

Add copy button to code dialog #1187

Triggered via pull request October 28, 2024 19:11
Status Failure
Total duration 12m 17s
Artifacts 3

pull-request-validation.yml

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

Annotations

20 errors
markdownRenderHTML when set to false › should not render HTML in citation modal: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 11.073784722222223% different from snapshot (25514 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/false-citation-modal-js-markdown-render-html-when-set-to-false-should-not-render-html-in-citation-modal-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 (9/17)
Process completed with exit code 1.
markdownRenderHTML when unset › should render sanitized HTML in citation modal: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 7.305989583333333% different from snapshot (16833 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/default-citation-modal-js-markdown-render-html-when-unset-should-render-sanitized-html-in-citation-modal-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.
Fluent theme applied › dark theme applied › side by side left - transcript: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.7240704500978473% different from snapshot (7400 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/side-by-side-wide-dark-js-fluent-theme-applied-dark-theme-applied-side-by-side-left-transcript-right-transcript-9-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)
Fluent theme applied › dark theme applied › side by side left - fluent: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.6113502935420744% different from snapshot (6248 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/side-by-side-wide-dark-js-fluent-theme-applied-dark-theme-applied-side-by-side-left-fluent-right-fluent-9-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 (13/17)
Process completed with exit code 1.
citation modal dialog › should show when clicking on citation in Markdown: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 6.901475694444445% different from snapshot (15901 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/citation-show-modal-markdown-js-citation-modal-dialog-should-show-when-clicking-on-citation-in-markdown-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 (6/17)
Process completed with exit code 1.
citation modal dialog › should close when escape key is pressed: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 6.612847222222222% different from snapshot (15236 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/citation-show-modal-close-escape-js-citation-modal-dialog-should-close-when-escape-key-is-pressed-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)
citation modal dialog › should show 60% on desktop: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.297632853190104% different from snapshot (10205 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/citation-show-modal-width-desktop-js-citation-modal-dialog-should-show-60-on-desktop-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 (12/17)
Process completed with exit code 1.
citation modal dialog › should close when clicking on close button: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 6.612847222222222% different from snapshot (15236 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/citation-show-modal-close-button-js-citation-modal-dialog-should-close-when-clicking-on-close-button-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)
citation modal dialog › should show full-width on mobile device: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 6.612847222222222% different from snapshot (15236 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/citation-show-modal-width-mobile-js-citation-modal-dialog-should-show-full-width-on-mobile-device-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 (3/17)
Process completed with exit code 1.
citation modal dialog › should show when clicking on citation in link definitions: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 6.901475694444445% different from snapshot (15901 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/citation-show-modal-link-definitions-js-citation-modal-dialog-should-show-when-clicking-on-citation-in-link-definitions-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 (14/17)
Process completed with exit code 1.
Fluent theme applied › side by side left - transcript: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.8675146771037182% different from snapshot (8866 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/side-by-side-wide-js-fluent-theme-applied-side-by-side-left-transcript-right-transcript-9-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)
Fluent theme applied › side by side left - fluent: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.8581213307240704% different from snapshot (8770 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/side-by-side-wide-js-fluent-theme-applied-side-by-side-left-fluent-right-fluent-9-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 (15/17)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
docker Expired
106 MB
test-result
1.28 MB
test-snapshot-diff
8.64 MB