Skip to content

fix: Constrain dropdown width to viewport #4888

fix: Constrain dropdown width to viewport

fix: Constrain dropdown width to viewport #4888

Triggered via pull request September 19, 2023 16:32
Status Success
Total duration 31m 55s
Artifacts 2

dry-run.yml

on: pull_request
dry-run  /  Build browser-test-tools
2m 41s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
2m 33s
dry-run / Build documenter
dry-run  /  Build global-styles
28s
dry-run / Build global-styles
dry-run  /  Build collection-hooks
59s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
22s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
59s
dry-run / Build component-toolkit
dry-run  /  Build theming-core
1m 24s
dry-run / Build theming-core
dry-run  /  Build test-utils
1m 3s
dry-run / Build test-utils
dry-run  /  Build components
6m 13s
dry-run / Build components
Matrix: dry-run / Components accessibility tests shard
dry-run  /  Build board components
4m 38s
dry-run / Build board components
dry-run  /  Components unit tests
8m 43s
dry-run / Components unit tests
dry-run  /  Components integration tests
20m 55s
dry-run / Components integration tests
dry-run  /  Components accessibility tests
1s
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: Dropdown width › updates between re-renders › expandToViewport: false › with autosuggest: 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 description1 tag1 tag2 Short text This is a label tag" at Object.toContain (node_modules/expect/build/index.js:194:22) at src/internal/components/dropdown/__integ__/width.test.ts:149:63 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: Dropdown width › updates between re-renders › expandToViewport: true › with select: 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 description1 tag1 tag2 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