Skip to content

chore: Add extra unit test for coverage #745

chore: Add extra unit test for coverage

chore: Add extra unit test for coverage #745

Triggered via pull request April 23, 2024 10:02
Status Success
Total duration 16m 59s
Artifacts 2

dry-run.yml

on: pull_request
dry-run  /  Build browser-test-tools
1m 54s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
59s
dry-run / Build documenter
dry-run  /  Build global-styles
20s
dry-run / Build global-styles
dry-run  /  Build collection-hooks
45s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
22s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
55s
dry-run / Build component-toolkit
dry-run  /  Build theming-core
59s
dry-run / Build theming-core
dry-run  /  Build test-utils
42s
dry-run / Build test-utils
dry-run  /  Build components
3m 29s
dry-run / Build components
Matrix: dry-run / Components accessibility tests shard
dry-run  /  Build board components
2m 10s
dry-run / Build board components
dry-run  /  Build code view components
1m 11s
dry-run / Build code view components
dry-run  /  Components unit tests
3m 2s
dry-run / Components unit tests
dry-run  /  Components integration tests
10m 4s
dry-run / Components integration tests
dry-run  /  Components motion tests
1m 13s
dry-run / Components motion tests
dry-run  /  Components accessibility tests
0s
dry-run / Components accessibility tests
dry-run  /  Demos tests
7m 4s
dry-run / Demos tests
Fit to window
Zoom out
Zoom in

Annotations

46 warnings
dry-run / Build global-styles
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build jest-preset
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build collection-hooks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build documenter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build test-utils
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build browser-test-tools
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build component-toolkit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build theming-core
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build components
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build code view components
Prop "id" is forbidden on Components
dry-run / Build code view components
Prop "className" is forbidden on Components
dry-run / Build code view components
Unexpected any. Specify a different type
dry-run / Build code view components
Unexpected any. Specify a different type
dry-run / Build code view components
Unexpected any. Specify a different type
dry-run / Build code view components
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components motion tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Build board components: pages/canvas/layouts.page.tsx#L11
Unexpected any. Specify a different type
dry-run / Build board components: pages/canvas/layouts.page.tsx#L18
Unexpected any. Specify a different type
dry-run / Build board components: pages/canvas/layouts.page.tsx#L30
Unexpected any. Specify a different type
dry-run / Build board components: src/__tests__/base-props-support.test.tsx#L24
Prop "id" is forbidden on Components
dry-run / Build board components: src/__tests__/base-props-support.test.tsx#L29
Prop "className" is forbidden on Components
dry-run / Build board components: src/board-item/internal.tsx#L58
Prop "className" is forbidden on Components
dry-run / Build board components: src/board-item/internal.tsx#L74
Prop "id" is forbidden on Components
dry-run / Build board components: src/board-item/internal.tsx#L75
Prop "id" is forbidden on Components
dry-run / Build board components: src/board-item/internal.tsx#L77
Prop "id" is forbidden on Components
dry-run / Build board components: src/board-item/internal.tsx#L78
Prop "id" is forbidden on Components
dry-run / Components unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Components accessibility tests shard (2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'loadCallback'. Either include it or remove the dependency array. If 'loadCallback' changes too often, find the parent component that defines it and wrap that definition in useCallback
dry-run / Demos tests
'React' is defined but never used
dry-run / Demos tests
'Alert' is defined but never used
dry-run / Demos tests
'Box' is defined but never used
dry-run / Demos tests
'ExternalLink' is defined but never used
dry-run / Demos tests
'setVisible' is assigned a value but never used
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'updateDirty'. Either include it or remove the dependency array. If 'updateDirty' changes too often, find the parent component that defines it and wrap that definition in useCallback
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'updateDirty'. Either include it or remove the dependency array. If 'updateDirty' changes too often, find the parent component that defines it and wrap that definition in useCallback
dry-run / Demos tests
'Link' is defined but never used
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'totalCount'. Either include it or remove the dependency array
dry-run / Components integration tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
RETRY 1: Dropdown width › keeps not overflowing the viewport after re-rendering wider › expandToViewport: false › with autosuggest: src/internal/components/dropdown/__integ__/width.test.ts#L149
expect(received).resolves.toContain(expected) // indexOf Expected substring: "Loading" Received string: "A very very very very very very very very very very very very very very very very very very very very very very very very very very long text description1 tag1 tag2 Short text This is a label tag" at Object.toContain (node_modules/expect/build/index.js:194:22) at src/internal/components/dropdown/__integ__/width.test.ts:149:63 at src/internal/components/dropdown/__integ__/width.test.ts:61:5 at node_modules/@cloudscape-design/browser-test-tools/use-browser.js:28:13
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "components-package", "dependencies". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
components-package Expired
91.3 MB
dependencies Expired
423 KB