feat: Steps #10769
build-lint-test.yml
on: pull_request
build
/
git-secrets
6s
build
/
build
7m 50s
build
/
codeql
2m 19s
git-secrets
8s
deploy
/
deploy
Annotations
8 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 - 0
+ Received + 7
@@ -512,11 +512,18 @@
"awsui_preferences-button_rjqu5",
"awsui_root_rjqu5",
"awsui_slider_rjqu5",
],
"status-indicator": Array [
+ "awsui_icon_1cbgc",
"awsui_root_1cbgc",
+ ],
+ "steps": Array [
+ "awsui_root_gxp9y",
+ "awsui_step-container_gxp9y",
+ "awsui_step-details_gxp9y",
+ "awsui_step-header_gxp9y",
],
"table": Array [
"awsui_body-cell-edit-active_c6tup",
"awsui_body-cell-editor-controls_c6tup",
"awsui_body-cell-editor_c6tup",
at Object.<anonymous> (src/__tests__/test-utils-selectors.test.tsx:32:32)
|
Base props support › steps › should allow className:
src/__tests__/base-props-support.test.tsx#L28
expect(element).toHaveClass("example")
Expected the element to have class:
example
Received:
awsui_root_gxp9y_lnraj_177
at Object.<anonymous> (src/__tests__/base-props-support.test.tsx:28:47)
|
Base props support › steps › should allow id:
src/__tests__/base-props-support.test.tsx#L33
expect(element).toHaveAttribute("id", "example") // element.getAttribute("id") === "example"
Expected the element to have attribute:
id="example"
Received:
null
at Object.<anonymous> (src/__tests__/base-props-support.test.tsx:33:47)
|
Base props support › steps › should allow data-attributes:
src/__tests__/base-props-support.test.tsx#L38
expect(element).toHaveAttribute("data-testid", "example") // element.getAttribute("data-testid") === "example"
Expected the element to have attribute:
data-testid="example"
Received:
null
at Object.<anonymous> (src/__tests__/base-props-support.test.tsx:38:47)
|
Base props support › steps › className should not remove previous classes:
src/__tests__/base-props-support.test.tsx#L56
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Set {
"awsui_root_gxp9y_lnraj_177",
+ "example",
}
at Object.<anonymous> (src/__tests__/base-props-support.test.tsx:56:33)
|
Base props support › steps › className:
src/__tests__/base-props-support.test.tsx#L63
expect(received).toHaveLength(expected)
Expected length: 1
Received length: 0
Received object: []
at Object.<anonymous> (src/__tests__/base-props-support.test.tsx:63:58)
|
useBaseComponent hook is used in all allowlisted public components › components not on the to-do list have metadata attached › steps: component root DOM node has metadata property attached:
src/__tests__/use-base-component.test.tsx#L36
expect(received).toBe(expected) // Object.is equality
Expected: "Steps"
Received: undefined
at Object.<anonymous> (src/__tests__/use-base-component.test.tsx:36:63)
|
build / build
Process completed with exit code 1.
|
build / build
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/
|
build / build:
pages/button/alignment.page.tsx#L25
Unexpected 'todo' comment: 'TODO: uncomment when we add...'
|
build / build:
pages/form-field/form-field-columns.page.tsx#L20
Unexpected 'todo' comment: 'TODO: Replace this with Select'
|
build / build:
pages/utils/permutations-view.tsx#L18
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
|
build / build:
src/__a11y__/to-validate-a11y.ts#L76
Unexpected 'todo' comment: 'TODO: remove polyfill with es2019...'
|
build / build:
src/app-layout/__integ__/app-layout-focus-delegation.test.ts#L55
Unexpected 'todo' comment: 'TODO create separate split panel test...'
|
build / build:
src/app-layout/__integ__/app-layout-focus-delegation.test.ts#L87
Unexpected 'todo' comment: 'TODO create separate split panel test...'
|
build / build:
src/app-layout/__integ__/app-layout-focus-delegation.test.ts#L108
Unexpected 'todo' comment: 'todo create test specifically for mobile...'
|
build / build:
src/app-layout/__integ__/app-layout-focus-delegation.test.ts#L242
Unexpected 'todo' comment: 'todo resolve focus issue returning to...'
|
build / build:
src/app-layout/visual-refresh-toolbar/toolbar/index.tsx#L105
Unexpected 'todo' comment: 'TODO: expose configuration property'
|
build / build:
src/autosuggest/interfaces.ts#L156
Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'
|