Clean up <ThemeProvider> and various CSS related stuff #2611
pull-request-validation.yml
on: pull_request
Build
4m 11s
Unit test
6m 18s
Build samples
32s
Static code analysis
6m 2s
Type definitions test
5m 8s
Print commit stats
1m 11s
Matrix: html-test
Merge test results
2m 2s
Merge test snapshots
3s
Annotations
29 errors and 7 warnings
|
HTML test (13/17)
Process completed with exit code 1.
|
|
Collapsible activity (fluent) › activity/collapsible.fluent.html:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 3.437957763671875% different from snapshot (22531 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/activity/collapsible.fluent.html.snap-6-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
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)
|
|
› speech/performCardAction.continuous.html:
https://webchat2/__tests__/html2/speech/performCardAction.continuous#L158
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 3
Received number of calls: 2
at https:/webchat2/__tests__/html2/speech/performCardAction.continuous:158:59
at checkCallback (https:/unpkg.com/@testduet/wait-for@0.1.1-main.3a4f261/dist/wait-for.mjs:113:24)
at checkRealTimersCallback (https:/unpkg.com/@testduet/wait-for@0.1.1-main.3a4f261/dist/wait-for.mjs:107:16)
|
|
HTML test (16/17)
Process completed with exit code 1.
|
|
setting "newMessageButtonFontSize" option should change font size:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 3.3046875000000004% different from snapshot (7614 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/style-options-deprecated-new-message-button-font-size-js-setting-new-message-button-font-size-option-should-change-font-size-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
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.
|
|
WebChat as custom element › inside shadowRoot:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 12.31814236111111% different from snapshot (28381 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/shadow-root-js-web-chat-as-custom-element-inside-shadow-root-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
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.
|
|
› themeProvider/override.html:
https://webchat2/test-page-object.mjs#L12
Timed out while waiting for page condition "connected" after 15 seconds.
at J (https:/webchat2/test-page-object.mjs:12:195925)
at async https:/webchat2/__tests__/html2/themeProvider/override:124:9
|
|
HTML test (9/17)
Process completed with exit code 1.
|
|
Message status (copilot) › activity/message-status.copilot.html:
__tests__/html2/activity/message-status.copilot.html#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 __tests__/html2/activity/message-status.copilot.html:3:9
at Object.<anonymous> (__tests__/html2/activity/message-status.copilot.html:2:7)
|
|
setting "hideScrollToEndButton" option should hide the scroll to end button:
https://webchat2/test-page-object.js#L12
Timed out while waiting for page condition "Scroll to end button is hidden" after 1 seconds.
at J (https:/webchat2/test-page-object.js:12:195925)
at async run.expectDeprecations (https:/webchat2/__tests__/html/styleOptions.deprecated.hideScrollToEndButton:55:11)
|
|
HTML test (6/17)
Process completed with exit code 1.
|
|
Message status (fluent) › activity/message-status.fluent.html:
__tests__/html2/activity/message-status.fluent.html#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 __tests__/html2/activity/message-status.fluent.html:3:9
at Object.<anonymous> (__tests__/html2/activity/message-status.fluent.html:2:7)
|
|
HTML test (8/17)
Process completed with exit code 1.
|
|
Fluent theme applied › WebChat as custom element › inside shadowRoot:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 12.596354166666668% different from snapshot (29022 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/shadow-root-js-fluent-theme-applied-web-chat-as-custom-element-inside-shadow-root-1-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
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)
|
|
suggested actions › when overriding with deprecated style options:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.4149305555555555% different from snapshot (956 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/__image_snapshots__/html/__diff_output__/suggested-actions-style-options-js-suggested-actions-when-overriding-with-deprecated-style-options-2-snap-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
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)
|
|
› themeProvider/twoInstances.html:
packages/test/harness/src/host/common/host/snapshot.js#L15
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
+ This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
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 (14/17)
Process completed with exit code 1.
|
|
› simple/fatModule/esm.sh/fluentTheme.html:
__tests__/html2/simple/fatModule/esm.sh/fluentTheme.html#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 __tests__/html2/simple/fatModule/esm.sh/fluentTheme.html:3:9
at Object.<anonymous> (__tests__/html2/simple/fatModule/esm.sh/fluentTheme.html:2:7)
|
|
HTML test (10/17)
Process completed with exit code 1.
|
|
Collapsible activity (fluent:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 3.3757019042968754% different from snapshot (22123 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/activity/collapsible.fluent.dark.html.snap-6-diff.png
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
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)
|
|
Message status › activity/message-status.html:
__tests__/html2/activity/message-status.html#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 __tests__/html2/activity/message-status.html:3:9
at Object.<anonymous> (__tests__/html2/activity/message-status.html:2:7)
|
|
HTML test (3/17)
Process completed with exit code 1.
|
|
› themeProvider/twoInstances.twoNonces.html:
packages/test/harness/src/host/common/host/snapshot.js#L15
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
+ This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
at toMatchImageSnapshot (packages/test/harness/src/host/common/host/snapshot.js:15:24)
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 (12/17)
Process completed with exit code 1.
|
|
› simple/fatModule/fluentTheme.html:
__tests__/html2/simple/fatModule/fluentTheme.html#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 __tests__/html2/simple/fatModule/fluentTheme.html:3:9
at Object.<anonymous> (__tests__/html2/simple/fatModule/fluentTheme.html:2:7)
|
|
HTML test (7/17)
Process completed with exit code 1.
|
|
› simple/fatModule/esm.sh/tsx/fluentTheme.html:
__tests__/html2/simple/fatModule/esm.sh/tsx/fluentTheme.html#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 __tests__/html2/simple/fatModule/esm.sh/tsx/fluentTheme.html:3:9
at Object.<anonymous> (__tests__/html2/simple/fatModule/esm.sh/tsx/fluentTheme.html:2:7)
|
|
HTML test (5/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*
./__tests__/html2/**/*.snap-*-diff.png. No artifacts will be uploaded.
|
|
HTML test (9/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*
./__tests__/html2/**/*.snap-*-diff.png. No artifacts will be uploaded.
|
|
HTML test (6/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*
./__tests__/html2/**/*.snap-*-diff.png. No artifacts will be uploaded.
|
|
HTML test (14/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*
./__tests__/html2/**/*.snap-*-diff.png. No artifacts will be uploaded.
|
|
HTML test (3/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*
./__tests__/html2/**/*.snap-*-diff.png. No artifacts will be uploaded.
|
|
HTML test (12/17)
No files were found with the provided path: ./__tests__/__image_snapshots__/*/__diff_output__/*
./__tests__/html2/**/*.snap-*-diff.png. No artifacts will be uploaded.
|
|
HTML test (7/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
|
113 MB |
sha256:855ffa5267257071f06f368b6bbf564bd7f81fcbfc20d5b94cec0969be2b159b
|
|
|
test-result
Expired
|
1.73 MB |
sha256:7afc7e8c8a362dc3343c6df2ace1bb87d0280dafb879069f02090b8b37c76aba
|
|
|
test-snapshot-diff
Expired
|
1.53 MB |
sha256:841553d2c99a64d1e6896a561d8dbe0a151d1ff242502d74c8eaa0e59539c557
|
|