feat: part grouping #2245
pull-request-validation.yml
on: pull_request
Build
2m 52s
Unit test
5m 48s
Build samples
30s
Static code analysis
4m 28s
Type definitions test
3m 41s
Matrix: html-test
Merge test results
36s
Merge test snapshots
6s
Annotations
34 errors and 2 warnings
|
Static code analysis:
packages/fluent-theme/src/components/activity/CopilotMessageHeader.tsx#L13
Replace `·activity,·className·` with `⏎··activity,⏎··className⏎`
|
|
Static code analysis:
packages/component/src/Transcript/TranscriptFocus/index.ts#L3
Replace `·default·as·TranscriptFocusContentOverlay,·type·TranscriptFocusContentOverlayProps·` with `⏎··default·as·TranscriptFocusContentOverlay,⏎··type·TranscriptFocusContentOverlayProps⏎`
|
|
Static code analysis:
packages/component/src/Transcript/TranscriptFocus/TranscriptFocusContentOverlay.tsx#L13
Replace `(⏎······<div⏎········{...props}⏎········className={cx(⏎··········classNames['transcript-focus-area__content-overlay'],⏎··········className⏎········)}⏎········ref={ref}⏎······/>⏎····)` with `<div·{...props}·className={cx(classNames['transcript-focus-area__content-overlay'],·className)}·ref={ref}·/>`
|
|
Static code analysis:
packages/component/src/Transcript/TranscriptFocus/TranscriptFocusContent.tsx#L9
propType "tag" is not required, but has no corresponding defaultProps declaration
|
|
Static code analysis:
packages/component/src/Transcript/TranscriptFocus/TranscriptFocusContent.tsx#L9
Prop 'tag' should be read-only
|
|
Static code analysis:
packages/component/src/Transcript/TranscriptFocus/TranscriptFocusContent.tsx#L8
propType "focused" is not required, but has no corresponding defaultProps declaration
|
|
Static code analysis:
packages/component/src/Transcript/TranscriptFocus/TranscriptFocusContent.tsx#L8
Prop 'focused' should be read-only
|
|
Static code analysis:
packages/component/src/Transcript/TranscriptFocus/TranscriptActivityList.tsx#L13
Replace `<section·{...props}·className={cx(classNames['transcript-focus-area__activity-list'],·className)}·ref={ref}·/>` with `(⏎······<section·{...props}·className={cx(classNames['transcript-focus-area__activity-list'],·className)}·ref={ref}·/>⏎····)`
|
|
Static code analysis:
packages/component/src/Middleware/ActivityGrouping/ui/PartGrouping/private/PartGroupingActivity.tsx#L174
Replace `⏎··············{children}⏎············` with `{children}`
|
|
Static code analysis:
packages/component/src/Composer.tsx#L117
Replace `⏎····················{children}⏎··················` with `{children}`
|
|
HTML test (2/17)
Process completed with exit code 1.
|
|
transcript navigation › should focus activity by click on edges:
https://webchat2/__tests__/html/transcript.navigation.focusActivity.byClick.onEdges#L52
botframework-webchat: This hook can only be used under <GroupedRenderingActivitiesContext>
at https:/webchat2/__tests__/html/transcript.navigation.focusActivity.byClick.onEdges:52:48
|
|
Collapsible activity › activity/collapsible.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.00244140625% different from snapshot (16 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/activity/collapsible.html.snap-3-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 (9/17)
Process completed with exit code 1.
|
|
transcript navigation when focusing on transcript using mouse › should not scroll focused activity into view:
https://webchat2/__tests__/html/transcript.navigation.scrollIntoView.mouse#L104
expect(received).toBe(expected) // Object.is equality
Expected: 57
Received: 52
at https:/webchat2/__tests__/html/transcript.navigation.scrollIntoView.mouse:104:63
|
|
HTML test (5/17)
Process completed with exit code 1.
|
|
Two Chat panes side-by-side: code block navigation (right) › side-by-side/codeblock.navigation.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.28268101761252445% different from snapshot (2889 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/side-by-side/codeblock.navigation.html.snap-1-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)
|
|
Two Chat panes side-by-side: code block with dark theme navigation (right) › side-by-side/codeblock-dark.navigation.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.31927592954990214% different from snapshot (3263 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/side-by-side/codeblock-dark.navigation.html.snap-1-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)
|
|
Two Chat panes side-by-side (dark): code block with dark theme navigation (right) › side-by-side/codeblock-dark.navigation.dark.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.32661448140900196% different from snapshot (3338 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/side-by-side/codeblock-dark.navigation.dark.html.snap-1-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.
|
|
› activity/legacy/unknownActivity.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.3298611111111111% different from snapshot (760 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/activity/legacy/unknownActivity.html.snap-1-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 (12/17)
Process completed with exit code 1.
|
|
› autoScroll/autoScroll.snap.activity.html:
https://webchat2/__tests__/html2/autoScroll/autoScroll.snap.activity#L101
TypeError: Cannot read properties of undefined (reading 'offsetTop')
at https:/webchat2/__tests__/html2/autoScroll/autoScroll.snap.activity:101:41
|
|
Markdown Math Layout Scroll: Test markdown math layout scroll with fluent theme › markdown/math/layout.scroll.html:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 11.643663194444445% different from snapshot (26827 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/markdown/math/layout.scroll.html.snap-2-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 (4/17)
Process completed with exit code 1.
|
|
› autoScroll/autoScroll.snap.page.html:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 4.4921875% different from snapshot (10350 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/autoScroll/autoScroll.snap.page.html.snap-1-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.
|
|
Two Chat panes side-by-side (dark): transcript navigation (left:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.19863013698630136% different from snapshot (2030 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/side-by-side/transcript.navigation.dark.html.snap-1-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)
|
|
Two Chat panes side-by-side (dark): code block navigation (right) › side-by-side/codeblock.navigation.dark.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.36281800391389435% different from snapshot (3708 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/side-by-side/codeblock.navigation.dark.html.snap-1-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 (11/17)
Process completed with exit code 1.
|
|
› speech/bargeIn/behavior.html:
__tests__/html2/speech/bargeIn/behavior.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/speech/bargeIn/behavior.html:3:9
at Object.<anonymous> (__tests__/html2/speech/bargeIn/behavior.html:2:7)
|
|
HTML test (7/17)
Process completed with exit code 1.
|
|
Two Chat panes side-by-side: transcript navigation (left:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 0.17681017612524463% different from snapshot (1807 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/side-by-side/transcript.navigation.html.snap-1-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)
|
|
› autoScroll/autoScroll.snap.default.html:
packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 1.4973958333333335% different from snapshot (3450 differing pixels).
See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/autoScroll/autoScroll.snap.default.html.snap-1-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 (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 (11/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
|
96.4 MB |
sha256:6a5529e5801552d439cea406db953803e10454634df17c8a92d974d6f9030f51
|
|
|
test-result
Expired
|
1.66 MB |
sha256:81e252d3f94ac51aedef6133df68f7a256990050e29ef87b036ef31c7abc1bb5
|
|
|
test-snapshot-diff
Expired
|
12.2 MB |
sha256:28fdbddb21db19cba177d4c1792d140a66b6d8ea0db87e0fe1c3c1795df8e8f2
|
|