Clean up <ThemeProvider> and various CSS related stuff #2612
pull-request-validation.yml
on: pull_request
Build
4m 10s
Unit test
6m 16s
Build samples
26s
Static code analysis
6m 29s
Type definitions test
4m 38s
Print commit stats
1m 6s
Matrix: html-test
Merge test results
2m 13s
Merge test snapshots
6s
Annotations
22 errors and 7 warnings
|
HTML test (9/17)
Process completed with exit code 1.
|
|
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 (13/17)
Process completed with exit code 1.
|
|
› 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 (5/17)
Process completed with exit code 1.
|
|
› themeProvider/override.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 (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 (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 (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 (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 (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 (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 (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 (13/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 (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 (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 (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 (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:d5dbc134dfd820ed89b0db634160df46ab87c6a2aac6f7c93545f07012fda6c2
|
|
|
test-result
Expired
|
1.73 MB |
sha256:9b017acc8280abddfdd04e250d6cc60181ffb291f072db6a053a4f05fc492b09
|
|
|
test-snapshot-diff
Expired
|
888 KB |
sha256:3f9f2f61aca83be3c2f7d0954d288033ab71759911a1c1c34e2b91c2a31caa9f
|
|