Graph backend phase 1 #2749
pull-request-validation.yml
on: pull_request
Build
5m 11s
Unit test
7m 41s
Build samples
29s
Static code analysis
7m 52s
Type definitions test
5m 58s
Print commit stats
1m 12s
Matrix: html-test
Merge test results
44s
Merge test snapshots
5s
Annotations
48 errors and 1 warning
|
Static code analysis
Process completed with exit code 1.
|
|
Static code analysis
Type '{ id: string; text: string; channelData: { 'webchat:internal:position': number; 'webchat:sequence-id': number; 'webchat:send-status': any; }; from: { id: string; role: "bot"; }; timestamp: string; type: "message"; }' is not assignable to type 'WebChatActivity'.
|
|
Static code analysis
Type '{ id: string; text: string; channelData: { 'webchat:internal:position': number; 'webchat:sequence-id': number; 'webchat:send-status': any; }; from: { id: string; role: "bot"; }; timestamp: string; type: "message"; }' is not assignable to type 'WebChatActivity'.
|
|
Static code analysis
Type '{ id: string; text: string; channelData: { 'webchat:internal:position': number; 'webchat:sequence-id': number; 'webchat:send-status': any; }; from: { id: string; role: "bot"; }; timestamp: string; type: "message"; }' is not assignable to type 'WebChatActivity'.
|
|
Static code analysis
Type '{ id: string; text: string; channelData: { 'webchat:internal:position': number; 'webchat:sequence-id': number; 'webchat:send-status': any; }; from: { id: string; role: "bot"; }; timestamp: string; type: "message"; }' is not assignable to type 'WebChatActivity'.
|
|
Static code analysis
Type '{ 'webchat:internal:position': number; 'webchat:sequence-id': number; 'webchat:send-status': undefined; }' is not assignable to type '(ChannelData<"send failed", "event" | "conversationUpdate" | "invoke" | "message" | "typing"> & { streamId?: string; streamSequence?: number; streamType?: "final"; }) | (ChannelData<...> & { ...; }) | (ChannelData<...> & { ...; }) | (ChannelData<...> & { ...; })'.
|
|
HTML test (10/17)
Process completed with exit code 1.
|
|
calling sendMessageBack should send a message back activity:
__tests__/hooks/useSendMessageBack.js#L24
Expected image to match or be a close match to snapshot but was 2.9505208333333335% different from snapshot (6798 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-send-message-back-js-calling-send-message-back-should-send-a-message-back-activity-1-snap-diff.png
at toMatchImageSnapshot (__tests__/hooks/useSendMessageBack.js:24:21)
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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 (11/17)
Process completed with exit code 1.
|
|
calling postActivity should send an activity:
__tests__/hooks/usePostActivity.js#L27
Expected image to match or be a close match to snapshot but was 1.757378472222222% different from snapshot (4049 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-post-activity-js-calling-post-activity-should-send-an-activity-1-snap-diff.png
at toMatchImageSnapshot (__tests__/hooks/usePostActivity.js:27:21)
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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 (2/17)
Process completed with exit code 1.
|
|
useSendMessage hook › should send zip file as image:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 2.330295138888889% different from snapshot (5369 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/invalid-image-js-use-send-message-hook-should-send-zip-file-as-image-1-snap-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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.
|
|
useSendMessage hook › should send attachments with a message:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 2.716145833333333% different from snapshot (6258 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/use-send-message-with-message-js-use-send-message-hook-should-send-attachments-with-a-message-1-snap-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
calling sendPostBack should send a post back activity:
__tests__/hooks/useSendPostBack.js#L22
Expected image to match or be a close match to snapshot but was 1.79296875% different from snapshot (4131 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-send-post-back-js-calling-send-post-back-should-send-a-post-back-activity-1-snap-diff.png
at toMatchImageSnapshot (__tests__/hooks/useSendPostBack.js:22:21)
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
calling submitSendBox should send the message in send box:
__tests__/hooks/useSubmitSendBox.js#L23
Expected image to match or be a close match to snapshot but was 1.757378472222222% different from snapshot (4049 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-submit-send-box-js-calling-submit-send-box-should-send-the-message-in-send-box-1-snap-diff.png
at toMatchImageSnapshot (__tests__/hooks/useSubmitSendBox.js:23:21)
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
› chatAdapter/sequenceId.directLine.outgoing.html:
https://webchat2/__tests__/html2/chatAdapter/sequenceId.directLine.outgoing#L92
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
at https:/webchat2/__tests__/html2/chatAdapter/sequenceId.directLine.outgoing:92:11
|
|
HTML test (9/17)
Process completed with exit code 1.
|
|
Call useSendFiles hook › should print deprecation warning:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 2.330295138888889% different from snapshot (5369 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 packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
transcript legacy activity middleware › password input:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 5.000434027777779% different from snapshot (11521 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/transcript-legacy-activity-middleware-password-input-js-transcript-legacy-activity-middleware-password-input-1-snap-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
Call useSendFiles hook with a file with extension of .JPG but type of "application/octet-stream" › should display thumbnail:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 13.90842013888889% different from snapshot (32045 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/use-send-files-image-js-call-use-send-files-hook-with-a-file-with-extension-of-jpg-but-type-of-application-octet-stream-should-display-thumbnail-1-snap-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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 (5/17)
Process completed with exit code 1.
|
|
› grouping/disableSender.html:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 8.4140625% different from snapshot (19386 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/grouping/disableSender.html.snap-1-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
› grouping/disableStatus.html:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 8.909288194444445% different from snapshot (20527 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/grouping/disableStatus.html.snap-1-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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.
|
|
Call useSendBoxAttachments hook › should get/set and upload attachments:
__tests__/html/sendAttachmentOn/useSendBoxAttachments.js#L4
thrown: "Exceeded timeout of 50000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at __tests__/html/sendAttachmentOn/useSendBoxAttachments.js:4:3
at Object.<anonymous> (__tests__/html/sendAttachmentOn/useSendBoxAttachments.js:3:1)
|
|
useSendMessage hook › should send attachments without a message:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 2.330295138888889% different from snapshot (5369 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/use-send-message-without-message-js-use-send-message-hook-should-send-attachments-without-a-message-1-snap-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
calling sendMessage should send a message activity:
__tests__/hooks/useSendMessage.js#L22
Expected image to match or be a close match to snapshot but was 1.757378472222222% different from snapshot (4049 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-send-message-js-calling-send-message-should-send-a-message-activity-1-snap-diff.png
at toMatchImageSnapshot (__tests__/hooks/useSendMessage.js:22:21)
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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 (4/17)
Process completed with exit code 1.
|
|
useSendMessage hook › should send attachments with a custom thumbnail:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 13.367621527777779% different from snapshot (30799 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/use-send-message-custom-thumbnail-js-use-send-message-hook-should-send-attachments-with-a-custom-thumbnail-1-snap-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
calling performCardAction should send card action to middleware:
__tests__/hooks/usePerformCardAction.js#L35
Expected image to match or be a close match to snapshot but was 2.375% different from snapshot (5472 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-perform-card-action-js-calling-perform-card-action-should-send-card-action-to-middleware-1-snap-diff.png
at toMatchImageSnapshot (__tests__/hooks/usePerformCardAction.js:35:21)
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
› grouping/groupingBorder.html:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 17.90842013888889% different from snapshot (41261 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/grouping/groupingBorder.html.snap-1-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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 (8/17)
Process completed with exit code 1.
|
|
› activity/legacy/unknownActivity.html:
https://webchat2/test-page-object.js#L12
Timed out while waiting for page condition "exactly 2 activities is shown" after 15 seconds.
at J (https:/webchat2/test-page-object.js:12:195925)
at async https:/webchat2/__tests__/html2/activity/legacy/unknownActivity:66:9
|
|
› grouping/disableStatus.perSender.html:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 7.835503472222221% different from snapshot (18053 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/grouping/disableStatus.perSender.html.snap-1-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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.
|
|
› grouping/disableAll.html:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 3.139322916666667% different from snapshot (7233 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/grouping/disableAll.html.snap-1-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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.
|
|
useTextBoxSubmit and set focus to "sendBoxWithoutKeyboard":
__tests__/html/useTextBoxSubmit.sendBoxWithoutKeyboard.js#L3
thrown: "Exceeded timeout of 50000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at Object.<anonymous> (__tests__/html/useTextBoxSubmit.sendBoxWithoutKeyboard.js:3:1)
|
|
› middleware/activity/warnWhenNoRenderer.html:
https://webchat2/__tests__/html2/middleware/activity/warnWhenNoRenderer#L68
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at https:/webchat2/__tests__/html2/middleware/activity/warnWhenNoRenderer:68:30
|
|
› activityGrouping/activityGrouping.groupingActivityStatus.html:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 6.220052083333334% different from snapshot (28662 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/activityGrouping/activityGrouping.groupingActivityStatus.html.snap-1-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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 (16/17)
Process completed with exit code 1.
|
|
useTextBoxSubmit and set focus to "sendBox":
__tests__/html/useTextBoxSubmit.sendBox.js#L3
thrown: "Exceeded timeout of 50000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at Object.<anonymous> (__tests__/html/useTextBoxSubmit.sendBox.js:3:1)
|
|
› basic/remount.html:
https://webchat2/test-page-object.js#L12
Timed out while waiting for page condition "exactly 1 activities is shown" after 15 seconds.
at J (https:/webchat2/test-page-object.js:12:195925)
at async https:/webchat2/__tests__/html2/basic/remount:52:9
|
|
HTML test (7/17)
Process completed with exit code 1.
|
|
timestamp › send timeout for attachment should be different:
https://webchat2/__tests__/html/timestamp.attachmentSendTimeout#L72
TypeError: Cannot read properties of null (reading 'innerText')
at run.ignoreErrors (https:/webchat2/__tests__/html/timestamp.attachmentSendTimeout:72:58)
|
|
Call useSendFiles hook with a file with extension of .ZIP but type of "image/jpeg" › should not display thumbnail:
packages/test/harness/src/host/common/host/done.js#L42
Expected image to match or be a close match to snapshot but was 2.3745659722222223% different from snapshot (5471 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/use-send-files-binary-js-call-use-send-files-hook-with-a-file-with-extension-of-zip-but-type-of-image-jpeg-should-not-display-thumbnail-1-snap-diff.png
at packages/test/harness/src/host/common/host/done.js:42:13
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
|
calling sendFile should send files:
__tests__/hooks/useSendFiles.js#L35
Expected image to match or be a close match to snapshot but was 3.989583333333333% different from snapshot (9192 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-send-files-js-calling-send-file-should-send-files-1-snap-diff.png
at toMatchImageSnapshot (__tests__/hooks/useSendFiles.js:35:21)
at node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18
at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regenerator.js:52:51)
at Generator.next (node_modules/@babel/runtime/helpers/regeneratorDefine.js:11: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 (16/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*
./__tests__/html2/**/*.snap-*-diff.png. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
docker
Expired
|
105 MB |
sha256:86c89a85578aa250a7361a83075047948e7bf4225a563a911a35c8d26b593184
|
|
|
test-result
Expired
|
1.81 MB |
sha256:fef740e091c2ac7a2d1296c7c6beedd140b835cbe9d0a4dbc1e7ab46cbfe0bf4
|
|
|
test-snapshot-diff
Expired
|
2.07 MB |
sha256:fa261a072896872c053418a030ed1ffb4ee30b6b9563092f88e2ab60fb3fd9de
|
|