feat: Add modal-based step navigation for narrow viewports for Wizard component #20187
build-lint-test.yml
on: pull_request
Matrix: build
Matrix: deploy
Waiting for pending jobs
Annotations
12 errors and 22 warnings
|
build (React 18) / build
Process completed with exit code 1.
|
|
Components › definition for wizard matches the snapshot:
src/__tests__/snapshot-tests/documenter.test.ts#L15
expect(received).toMatchSnapshot(hint)
Snapshot name: `Components definition for wizard matches the snapshot: wizard 1`
- Snapshot - 15
+ Received + 0
@@ -291,25 +291,10 @@
"name": "skipToButtonLabel",
"optional": true,
"type": "((targetStep: WizardProps.Step, targetStepNumber: number) => string)",
},
{
- "name": "stepNavigationConfirmButton",
- "optional": true,
- "type": "string",
- },
- {
- "name": "stepNavigationDismissAriaLabel",
- "optional": true,
- "type": "string",
- },
- {
- "name": "stepNavigationTitle",
- "optional": true,
- "type": "string",
- },
- {
"inlineType": {
"name": "(stepNumber: number) => string",
"parameters": [
{
"name": "stepNumber",
at src/__tests__/snapshot-tests/documenter.test.ts:15:24
|
|
Wizard Analytics › sends a startStep metric when navigating to a new step when navigating with the navigation:
src/wizard/__tests__/analytics.test.tsx#L188
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.<anonymous> (src/wizard/__tests__/analytics.test.tsx:188:43)
|
|
disables all navigation while a step is loading:
src/wizard/__tests__/wizard.test.tsx#L475
expect(received).toBeNull()
Received: {"element": <span aria-disabled="true" class="awsui_navigation-link_1xupv_wole5_414 awsui_navigation-link-disabled_1xupv_wole5_425 awsui_step-title_zr0a1_ppnio_6">Step 3</span>}
at Object.<anonymous> (src/wizard/__tests__/wizard.test.tsx:475:57)
|
|
Navigation › enables unvisited steps on the menu when skip-to is possible:
src/wizard/__tests__/wizard.test.tsx#L276
expect(element).not.toHaveClass("awsui_navigation-link-disabled_1xupv_wole5_425")
Expected the element not to have class:
awsui_navigation-link-disabled_1xupv_wole5_425
Received:
awsui_navigation-link_1xupv_wole5_414 awsui_navigation-link-disabled_1xupv_wole5_425 awsui_step-title_zr0a1_ppnio_6
at src/wizard/__tests__/wizard.test.tsx:276:24
at Array.forEach (<anonymous>)
at Object.<anonymous> (src/wizard/__tests__/wizard.test.tsx:275:21)
|
|
build / build
The strategy configuration was canceled because "build._18" failed
|
|
build / build
Process completed with exit code 1.
|
|
Components › definition for wizard matches the snapshot:
src/__tests__/snapshot-tests/documenter.test.ts#L15
expect(received).toMatchSnapshot(hint)
Snapshot name: `Components definition for wizard matches the snapshot: wizard 1`
- Snapshot - 15
+ Received + 0
@@ -291,25 +291,10 @@
"name": "skipToButtonLabel",
"optional": true,
"type": "((targetStep: WizardProps.Step, targetStepNumber: number) => string)",
},
{
- "name": "stepNavigationConfirmButton",
- "optional": true,
- "type": "string",
- },
- {
- "name": "stepNavigationDismissAriaLabel",
- "optional": true,
- "type": "string",
- },
- {
- "name": "stepNavigationTitle",
- "optional": true,
- "type": "string",
- },
- {
"inlineType": {
"name": "(stepNumber: number) => string",
"parameters": [
{
"name": "stepNumber",
at src/__tests__/snapshot-tests/documenter.test.ts:15:24
|
|
Wizard Analytics › sends a startStep metric when navigating to a new step when navigating with the navigation:
src/wizard/__tests__/analytics.test.tsx#L188
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.<anonymous> (src/wizard/__tests__/analytics.test.tsx:188:43)
|
|
disables all navigation while a step is loading:
src/wizard/__tests__/wizard.test.tsx#L475
expect(received).toBeNull()
Received: {"element": <span aria-disabled="true" class="awsui_navigation-link_1xupv_wole5_414 awsui_navigation-link-disabled_1xupv_wole5_425 awsui_step-title_zr0a1_ppnio_6">Step 3</span>}
at Object.<anonymous> (src/wizard/__tests__/wizard.test.tsx:475:57)
|
|
Navigation › enables unvisited steps on the menu when skip-to is possible:
src/wizard/__tests__/wizard.test.tsx#L276
expect(element).not.toHaveClass("awsui_navigation-link-disabled_1xupv_wole5_425")
Expected the element not to have class:
awsui_navigation-link-disabled_1xupv_wole5_425
Received:
awsui_navigation-link_1xupv_wole5_414 awsui_navigation-link-disabled_1xupv_wole5_425 awsui_step-title_zr0a1_ppnio_6
at src/wizard/__tests__/wizard.test.tsx:276:24
at Array.forEach (<anonymous>)
at Object.<anonymous> (src/wizard/__tests__/wizard.test.tsx:275:21)
|
|
Build, lint and test
The strategy configuration was canceled because "build._18" failed
|
|
build (React 18) / codeql
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
|
|
build / codeql
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
|
|
|
|
build (React 18) / build:
src/app-layout/__integ__/app-layout-focus-delegation.test.ts#L192
Unexpected 'todo' comment: 'todo - investigate why resize observer...'
|
|
build (React 18) / build:
src/app-layout/__integ__/app-layout-drawers.test.ts#L227
Unexpected 'todo' comment: 'todo: resolve split panel positioning...'
|
|
build (React 18) / build:
pages/utils/permutations-view.tsx#L18
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
|
|
build (React 18) / build:
pages/steps/with-updates.page.tsx#L167
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
build (React 18) / build:
pages/steps/with-updates.page.tsx#L155
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
build (React 18) / build:
pages/steps/with-updates.page.tsx#L143
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
build (React 18) / build:
pages/steps/with-updates.page.tsx#L127
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
build (React 18) / build:
pages/form-field/form-field-columns.page.tsx#L20
Unexpected 'todo' comment: 'TODO: Replace this with Select'
|
|
build (React 18) / build:
pages/button/alignment.page.tsx#L25
Unexpected 'todo' comment: 'TODO: uncomment when we add...'
|
|
|
|
build / build:
src/app-layout/__integ__/app-layout-focus-delegation.test.ts#L192
Unexpected 'todo' comment: 'todo - investigate why resize observer...'
|
|
build / build:
src/app-layout/__integ__/app-layout-drawers.test.ts#L227
Unexpected 'todo' comment: 'todo: resolve split panel positioning...'
|
|
build / build:
pages/utils/permutations-view.tsx#L18
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
|
|
build / build:
pages/steps/with-updates.page.tsx#L167
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
build / build:
pages/steps/with-updates.page.tsx#L155
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
build / build:
pages/steps/with-updates.page.tsx#L143
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
build / build:
pages/steps/with-updates.page.tsx#L127
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
build / build:
pages/form-field/form-field-columns.page.tsx#L20
Unexpected 'todo' comment: 'TODO: Replace this with Select'
|
|
build / build:
pages/button/alignment.page.tsx#L25
Unexpected 'todo' comment: 'TODO: uncomment when we add...'
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
dev-pages-react16
|
15.2 MB |
sha256:046085e4d848ac4f897dbf21616d2edcededa42342418d6b860ad6889921852d
|
|
|
dev-pages-react18
|
15.2 MB |
sha256:e8408992a9594f9192475e233ea5cfd925e71c24a1093676f071ee74eb840090
|
|