Skip to content

fix: Constrain dropdown width to viewport #4894

fix: Constrain dropdown width to viewport

fix: Constrain dropdown width to viewport #4894

Triggered via pull request September 20, 2023 10:31
Status Success
Total duration 30m 14s
Artifacts 2

dry-run.yml

on: pull_request
dry-run  /  Build browser-test-tools
2m 37s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
1m 50s
dry-run / Build documenter
dry-run  /  Build global-styles
39s
dry-run / Build global-styles
dry-run  /  Build collection-hooks
48s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
19s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
58s
dry-run / Build component-toolkit
dry-run  /  Build theming-core
58s
dry-run / Build theming-core
dry-run  /  Build test-utils
1m 0s
dry-run / Build test-utils
dry-run  /  Build components
5m 5s
dry-run / Build components
Matrix: dry-run / Components accessibility tests shard
dry-run  /  Build board components
3m 41s
dry-run / Build board components
dry-run  /  Components unit tests
8m 39s
dry-run / Components unit tests
dry-run  /  Components integration tests
20m 59s
dry-run / Components integration tests
dry-run  /  Components accessibility tests
0s
dry-run / Components accessibility tests
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
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
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
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
'AppLayout' is defined but never used
dry-run / Demos tests
'AppLayout' is defined but never used
dry-run / Demos tests
'Link' is defined 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
RETRY 1: after edit is submitted: src/table/__integ__/inline-editing.test.ts#L65
expect(received).resolves.toBe() Received promise rejected instead of resolved Rejected to value: [Error: Can't call isFocused on element with selector "body [class*="awsui_root_wih1l"] [class*="awsui_wrapper_wih1l"] > [class*="awsui_table_wih1l"] tbody tr:nth-child(2) [class*="awsui_body-cell_c6tup"]:nth-child(2) [class*="awsui_body-cell-editor_c6tup"]" because element wasn't found] at expect (node_modules/expect/build/index.js:128:15) at src/table/__integ__/inline-editing.test.ts:65:11 at runMicrotasks (<anonymous>) at src/table/__integ__/inline-editing.test.ts:37:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 1: Dropdown width › keeps not overflowing the viewport after re-rendering wider › expandToViewport: false › with multiselect: 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 Short text" at Object.toContain (node_modules/expect/build/index.js:194:22) at src/internal/components/dropdown/__integ__/width.test.ts:149:63 at runMicrotasks (<anonymous>) at src/internal/components/dropdown/__integ__/width.test.ts:61:5 at node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13
RETRY 1: visualRefresh=true › automatically shrinks drawer when screen resizes: src/app-layout/__integ__/app-layout-drawers.test.ts#L120
expect(received).toBeLessThan(expected) Expected: < 502 Received: 502 at src/app-layout/__integ__/app-layout-drawers.test.ts:120:26 at runMicrotasks (<anonymous>) at src/app-layout/__integ__/app-layout-drawers.test.ts:53:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)

Artifacts

Produced during runtime
Name Size
components-package Expired
90.2 MB
dependencies Expired
328 KB