Better props validation and standardize component template #1665
pull-request-validation.yml
on: pull_request
Build
3m 20s
Unit test
4m 17s
Build samples
36s
Static code analysis
4m 47s
Type definitions test
4m 5s
Matrix: html-test
Merge test results
25s
Merge test snapshots
3s
Annotations
30 errors and 8 warnings
|
HTML test (17/17)
Process completed with exit code 1.
|
|
activity/feedback.status.html:
https://webchat2/__dist__/webchat-es5.js#L122
ValiError: Invalid input: Received Object
at YF (https:/webchat2/__dist__/webchat-es5.js:122:357066)
at Rt (https:/webchat2/__dist__/webchat-es5.js:126:1183830)
at tTt (https:/webchat2/__dist__/webchat-es5.js:136:53650)
at renderWithHooks (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:14708:10)
at updateMemoComponent (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:14627:14)
at beginWork (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:15824:16)
at performUnitOfWork (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:19447:12)
at workLoop (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:19487:24)
|
|
HTML test (10/17)
Process completed with exit code 1.
|
|
copyButton/layout.copilot.dark.html:
https://webchat2/test-page-object.js#L184389
TypeError: Cannot read properties of null (reading 'getAttribute')
at Object.became (https:/webchat2/test-page-object.js:184389:17)
at _callee$ (<anonymous>:112:31)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:5:70)
at _next (<anonymous>:6:163)
|
|
HTML test (16/17)
Process completed with exit code 1.
|
|
activity/feedback.activity.html:
https://webchat2/__dist__/webchat-es5.js#L122
ValiError: Invalid input: Received Object
at YF (https:/webchat2/__dist__/webchat-es5.js:122:357066)
at Rt (https:/webchat2/__dist__/webchat-es5.js:126:1183830)
at tTt (https:/webchat2/__dist__/webchat-es5.js:136:53650)
at renderWithHooks (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:13073:18)
at updateFunctionComponent (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:14762:20)
at updateSimpleMemoComponent (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:14708:10)
at updateMemoComponent (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:14627:14)
at beginWork (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:15824:16)
at performUnitOfWork (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:19447:12)
at workLoop (https:/unpkg.com/react-dom@16.8.6/umd/react-dom.development.js:19487:24)
|
|
HTML test (9/17)
Process completed with exit code 1.
|
|
copyButton/behavior.html:
undefined#L0
expect(received).toBe(expected) // Object.is equality
Expected: null
Received: <div aria-activedescendant="webchat__transcript-focus-paf__activity-wzfdx" aria-label="Chat history, press arrow keys to navigate." class="webchat__basic-transcript webchat--css-rsauw-1orlmet webchat--css-rsauw-1tdc372" dir="ltr" role="group" tabindex="0"><div tabindex="0" /><div class="react-scroll-to-bottom--css-sorop-1n7m0yu webchat__basic-transcript__scrollable"><div aria-hidden="true" class="webchat__basic-transcript__filler" /><section aria-roledescription="chat history" class="webchat--css-rsauw-1l95nvm webchat__basic-transcript__transcript" role="feed"><article class="webchat__basic-transcript__activity webchat__basic-transcript__activity--acknowledged webchat__basic-transcript__activity--read"><div aria-labelledby="webchat__basic-transcript__active-descendant-label--wzfdx" class="webchat__basic-transcript__activity-active-descendant" id="webchat__transcript-focus-paf__activity-wzfdx" role="article"><div aria-hidden="true" class="webchat--css-rsauw-111jw2m" id="webchat__basic-transcript__active-descendant-label--wzfdx">Bot said: Mollit aute aute dolor ea ex magna incididunt nostrud sit nisi. Icon</div></div><div><div class="webchat__basic-transcript__activity-body"><div aria-labelledby="webchat__stacked-layout__id--367wl" class="webchat__stacked-layout webchat--css-rsauw-rctxl4 webchat--css-rsauw-vgk2yh webchat__stacked-layout--top-callout"><div class="webchat__stacked-layout__main"><div class="webchat__stacked-layout__avatar-gutter" /><div class="webchat__stacked-layout__content"><div aria-roledescription="message" class="webchat__stacked-layout__message-row" id="webchat__stacked-layout__id--367wl" role="group"><div … /><div … /></div></div><div class="webchat__stacked-layout__alignment-pad" /></div><div class="webchat__stacked-layout__status"><div class="webchat__stacked-layout__avatar-gutter" /><div class="webchat__stacked-layout__nub-pad" /><span class="webchat__activity-status webchat__activity-status--slotted webchat--css-rsauw-shlwbp"><span class="webchat__activity-status-slot"><div … /><span … /></span><span class="webchat__activity-status-slot" /></span><div class="webchat__stacked-layout__alignment-pad" /></div></div></div></div><div aria-hidden="true" class="webchat__basic-transcript__activity-focus-target" tabindex="-1" /><div class="webchat__basic-transcript__activity-indicator webchat__basic-transcript__activity-indicator--focus" /></article></section></div><div tabindex="0" /><div aria-labelledby="webchat__basic-transcript__terminator-label--l6bqk" class="webchat__basic-transcript__terminator" role="note" tabindex="0"><div class="webchat__basic-transcript__terminator-body"><div class="webchat__basic-transcript__terminator-text" id="webchat__basic-transcript__terminator-label--l6bqk">End of chat history</div></div></div><div class="webchat__basic-transcript__focus-indicator" /></div>
|
|
HTML test (2/17)
Process completed with exit code 1.
|
|
preact/activity/viewCodeButton.html:
undefined#L0
TypeError: Cannot read properties of null (reading 'focus')
|
|
HTML test (4/17)
Process completed with exit code 1.
|
|
avatar/layout.default.oneSide.rtl.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.043402777777777776% different from snapshot (100 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/avatar/layout.default.oneSide.rtl.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.
|
|
copyButton/layout.html:
https://webchat2/test-page-object.js#L184389
TypeError: Cannot read properties of null (reading 'getAttribute')
at Object.became (https:/webchat2/test-page-object.js:184389:17)
at _callee$ (<anonymous>:112:31)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:5:70)
at _next (<anonymous>:6:163)
|
|
activity/behavior.copyCode.html:
https://webchat2/test-page-object.js#L184400
Timed out while waiting for page condition "dialog to show up" after 1 seconds.
at Object.became (https:/webchat2/test-page-object.js:184400:11)
|
|
HTML test (3/17)
Process completed with exit code 1.
|
|
copyButton/behavior.hideAndShow.html:
https://webchat2/test-page-object.js#L184400
Timed out while waiting for page condition "copy button is available" after 1 seconds.
at Object.became (https:/webchat2/test-page-object.js:184400:11)
|
|
activity/viewCodeButton.html:
undefined#L0
TypeError: Cannot read properties of null (reading 'focus')
|
|
HTML test (8/17)
Process completed with exit code 1.
|
|
copyButton/layout.fluent.light.html:
https://webchat2/test-page-object.js#L184389
TypeError: Cannot read properties of null (reading 'getAttribute')
at Object.became (https:/webchat2/test-page-object.js:184389:17)
at _callee$ (<anonymous>:112:31)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:5:70)
at _next (<anonymous>:6:163)
|
|
copyButton/layout.copilot.light.html:
https://webchat2/test-page-object.js#L184389
TypeError: Cannot read properties of null (reading 'getAttribute')
at Object.became (https:/webchat2/test-page-object.js:184389:17)
at _callee$ (<anonymous>:112:31)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:5:70)
at _next (<anonymous>:6:163)
|
|
HTML test (1/17)
Process completed with exit code 1.
|
|
preact/activity/feedback.status.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.6137152777777778% different from snapshot (1414 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/preact/activity/feedback.status.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.
|
|
copyButton/layout.fluent.dark.html:
https://webchat2/test-page-object.js#L184389
TypeError: Cannot read properties of null (reading 'getAttribute')
at Object.became (https:/webchat2/test-page-object.js:184389:17)
at _callee$ (<anonymous>:112:31)
at tryCatch (<anonymous>:4:1062)
at Generator.<anonymous> (<anonymous>:4:3008)
at Generator.next (<anonymous>:4:1699)
at asyncGeneratorStep (<anonymous>:5:70)
at _next (<anonymous>:6:163)
|
|
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.47446183953033266% different from snapshot (4849 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-feedback-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)
|
|
copyButton/behavior.denied.html:
undefined#L0
TypeError: Cannot read properties of null (reading 'getAttribute')
|
|
HTML test (15/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.47230919765166335% different from snapshot (4827 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-feedback-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)
|
|
copyButton/behavior.disabled.html:
undefined#L0
TypeError: Cannot read properties of null (reading 'getAttribute')
|
|
HTML test (17/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 (10/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 (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.
|
|
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 (2/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 (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 (8/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
|
123 MB |
sha256:507bce328f101ed9536f6f12df53ec051a2750090b1ae77d76b9ddb3b2def08d
|
|
|
test-result
Expired
|
1.14 MB |
sha256:06e2a145bb452bce6312140dd38ec868b9b51610a19d855cd734b93b08a992a0
|
|
|
test-snapshot-diff
Expired
|
3.86 MB |
sha256:5e21b8a9b131e38772e5a2bdd6e9e0f738f795d8efb7f347fa3058ae30bc28f0
|
|