Skip to content

feat: FileInput component (internal) #10347

feat: FileInput component (internal)

feat: FileInput component (internal) #10347

Triggered via pull request October 22, 2024 17:58
Status Failure
Total duration 17m 54s
Artifacts 2

dry-run.yml

on: pull_request
dry-run  /  Build browser-test-tools
1m 29s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
1m 3s
dry-run / Build documenter
dry-run  /  Build global-styles
18s
dry-run / Build global-styles
dry-run  /  Build build-tools
14s
dry-run / Build build-tools
dry-run  /  Build collection-hooks
28s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
19s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
51s
dry-run / Build component-toolkit
dry-run  /  Build test-utils
30s
dry-run / Build test-utils
dry-run  /  Build theming-core
40s
dry-run / Build theming-core
dry-run  /  Build components
3m 14s
dry-run / Build components
dry-run  /  Build board components
2m 8s
dry-run / Build board components
dry-run  /  Build code view components
1m 9s
dry-run / Build code view components
dry-run  /  Build chat components
1m 20s
dry-run / Build chat components
Matrix: dry-run / Components accessibility tests shard
Matrix: dry-run / Components integration tests shard
dry-run  /  Components unit tests
3m 50s
dry-run / Components unit tests
dry-run  /  Components motion tests
1m 11s
dry-run / Components motion tests
dry-run  /  Components accessibility tests
0s
dry-run / Components accessibility tests
dry-run  /  Components integration tests
0s
dry-run / Components integration tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 59 warnings
test-utils selectors: src/__tests__/test-utils-selectors.test.tsx#L32
expect(received).toMatchSnapshot() Snapshot name: `test-utils selectors 1` - Snapshot - 2 + Received + 3 @@ -249,12 +249,10 @@ "awsui_file-option-name_ezgb4", "awsui_file-option-size_ezgb4", "awsui_file-option-thumbnail-image_ezgb4", "awsui_hints_1ubbm", "awsui_root_1ubbm", - "awsui_upload-button_4xu1k", - "awsui_upload-input_4xu1k", ], "flashbar": [ "awsui_action-button_1q84n", "awsui_action-slot_1q84n", "awsui_dismiss-button_1q84n", @@ -331,10 +329,13 @@ "awsui_control_1wepg", "awsui_description_1p2cx", "awsui_description_1wepg", "awsui_disabled_15o6u", "awsui_dropdown_qwoo0", + "awsui_file-input-button_181f9", + "awsui_file-input-container_181f9", + "awsui_file-input_181f9", "awsui_filter-container_z5mul", "awsui_filtering-match-highlight_1p2cx", "awsui_handle_sdha6", "awsui_has-background_15o6u", "awsui_highlighted_15o6u", at Object.<anonymous> (src/__tests__/test-utils-selectors.test.tsx:32:32)
Base props support › file-upload › className: src/__tests__/base-props-support.test.tsx#L63
expect(received).toHaveLength(expected) Expected length: 1 Received length: 2 Received object: [<div class="example awsui_root_1ubbm_1n37v_9 awsui_root_18582_8ro4u_141 awsui_vertical_18582_8ro4u_188 awsui_vertical-xs_18582_8ro4u_197" data-testid="data" id="id"><div class="awsui_child_18582_8ro4u_145"><div class="awsui_root_18wu0_1k6s4_916 awsui_box_18wu0_1k6s4_168 awsui_color-default_18wu0_1k6s4_168 awsui_font-size-default_18wu0_1k6s4_184 awsui_font-weight-default_18wu0_1k6s4_224"><div class="example awsui_file-input-container_181f9_j7l4l_185" data-testid="data" id="id"><input aria-label="Choose file(s)" aria-labelledby="upload-button-label619-1729620515649-2458" class="awsui_file-input_181f9_j7l4l_181" id="upload-input620-1729620515649-202" type="file" /><button aria-hidden="true" class="awsui_file-input-button_181f9_j7l4l_188 awsui_button_vjswe_17nj8_153 awsui_variant-normal_vjswe_17nj8_204" data-analytics-funnel-value="button621-1729620515649-8056" data-analytics-performance-mark="622-1729620515649-3643" tabindex="-1" type="button"><span class="awsui_icon_vjswe_17nj8_1159 awsui_icon-left_vjswe_17nj8_1159 awsui_icon_h11ix_t53c9_185 awsui_size-normal-mapped-height_h11ix_t53c9_244 awsui_size-normal_h11ix_t53c9_240 awsui_variant-normal_h11ix_t53c9_316"><svg aria-hidden="true" focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="stroke-linejoin-round" d="M1 1h14M13 10 8 5l-5 5M8 6v9" /></svg></span><span class="awsui_content_vjswe_17nj8_149 awsui_label_1f1d4_ocied_5">Choose file(s)</span></button><span class="awsui_root_xttbq_1ekiv_141" id="upload-button-label619-1729620515649-2458">Choose file(s)</span></div></div></div></div>, <div class="example awsui_file-input-container_181f9_j7l4l_185" data-testid="data" id="id"><input aria-label="Choose file(s)" aria-labelledby="upload-button-label619-1729620515649-2458" class="awsui_file-input_181f9_j7l4l_181" id="upload-input620-1729620515649-202" type="file" /><button aria-hidden="true" class="awsui_file-input-button_181f9_j7l4l_188 awsui_button_vjswe_17nj8_153 awsui_variant-normal_vjswe_17nj8_204" data-analytics-funnel-value="button621-1729620515649-8056" data-analytics-performance-mark="622-1729620515649-3643" tabindex="-1" type="button"><span class="awsui_icon_vjswe_17nj8_1159 awsui_icon-left_vjswe_17nj8_1159 awsui_icon_h11ix_t53c9_185 awsui_size-normal-mapped-height_h11ix_t53c9_244 awsui_size-normal_h11ix_t53c9_240 awsui_variant-normal_h11ix_t53c9_316"><svg aria-hidden="true" focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="stroke-linejoin-round" d="M1 1h14M13 10 8 5l-5 5M8 6v9" /></svg></span><span class="awsui_content_vjswe_17nj8_149 awsui_label_1f1d4_ocied_5">Choose file(s)</span></button><span class="awsui_root_xttbq_1ekiv_141" id="upload-button-label619-1729620515649-2458">Choose file(s)</span></div>] at Object.<anonymous> (src/__tests__/base-props-support.test.tsx:63:58)
dry-run / Components unit tests
Process completed with exit code 1.
dry-run / Build build-tools
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build global-styles
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build jest-preset
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build collection-hooks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build documenter
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build browser-test-tools
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build test-utils
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build component-toolkit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build theming-core
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build components
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components accessibility tests shard (1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components motion tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components accessibility tests shard (4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Build chat components
Prop "id" is forbidden on Components
dry-run / Build chat components
Prop "id" is forbidden on Components
dry-run / Build chat components
Prop "id" is forbidden on Components
dry-run / Build chat components
Prop "id" is forbidden on Components
dry-run / Build chat components
Prop "className" is forbidden on Components
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build chat components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Run autofix to sort these imports!
dry-run / Build board components
Run autofix to sort these imports!
dry-run / Build board components
Run autofix to sort these imports!
dry-run / Build board components
Run autofix to sort these imports!
dry-run / Build board components
Run autofix to sort these imports!
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Components unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components integration tests shard (4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components integration tests shard (3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components accessibility tests shard (3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components accessibility tests shard (6)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components accessibility tests shard (2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components integration tests shard (1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components accessibility tests shard (5)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dry-run / Components integration tests shard (2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
'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 / Demos tests
'FormField' is defined but never used
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
107 MB
dependencies
469 KB