Skip to content

Better props validation and standardize component template #1662

Better props validation and standardize component template

Better props validation and standardize component template #1662

Triggered via pull request May 12, 2025 05:02
Status Failure
Total duration 12m 54s
Artifacts 3

pull-request-validation.yml

on: pull_request
Matrix: html-test
Merge test results
24s
Merge test results
Merge test snapshots
7s
Merge test snapshots
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
HTML test (14/17)
Process completed with exit code 1.
bubble/nub/withAvatars/layoutSingle.html: packages/test/harness/src/host/common/host/snapshot.js#L15
Expected image to match or be a close match to snapshot but was 8.592592592592592% different from snapshot (178176 differing pixels). See diff for details: /home/runner/work/BotFramework-WebChat/BotFramework-WebChat/__tests__/html2/bubble/nub/withAvatars/layoutSingle.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 (7/17)
Process completed with exit code 1.
accessibility feature to support "role" attribute › should fallback to "complementary" if not a valid landmark role: https://webchat2/__tests__/html/accessibility.landmarkRole.invalid#L26
expect(received).toBe(expected) // Object.is equality Expected: "complementary" Received: "invalid" at run.ignoreErrors (https:/webchat2/__tests__/html/accessibility.landmarkRole.invalid:26:106)
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
123 MB
sha256:e44c6a7a174f751c00dc652ea937d0262e9952ba961015eb6fd7aae3ecd374da
test-result Expired
1.14 MB
sha256:920ad1fadd537ba275b37e9781c907810a5b16bba7ead14f77fa0f651e57cb8e
test-snapshot-diff Expired
671 KB
sha256:64f52b802c704a206f725e96aef7bdee943c9ff3c6bfd2726a8ddb39b348df95