feat: Adds text property and fixes tests #4932
release.yml
on: push
Matrix: Components a11y tests shard
Matrix: Components integ tests shard
Components unit tests
6m 29s
release
/
release
Annotations
3 errors and 11 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-1729546595547-6709" class="awsui_file-input_181f9_j7l4l_181" id="upload-input620-1729546595547-7203" 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-1729546595547-3605" data-analytics-performance-mark="622-1729546595547-6699" 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-1729546595547-6709">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-1729546595547-6709" class="awsui_file-input_181f9_j7l4l_181" id="upload-input620-1729546595547-7203" 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-1729546595547-3605" data-analytics-performance-mark="622-1729546595547-6699" 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-1729546595547-6709">Choose file(s)</span></div>]
at Object.<anonymous> (src/__tests__/base-props-support.test.tsx:63:58)
|
Components unit tests
Process completed with exit code 1.
|
Components a11y tests shard (1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components a11y tests shard (4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components integ tests shard (4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components integ tests shard (3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components a11y tests shard (5)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components a11y tests shard (6)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components a11y tests shard (2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components a11y tests shard (3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components integ tests shard (1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Components integ tests shard (2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|