Skip to content

fix: Constrain dropdown width to viewport #4886

fix: Constrain dropdown width to viewport

fix: Constrain dropdown width to viewport #4886

Re-run triggered September 19, 2023 09:23
Status Success
Total duration 16m 55s
Artifacts 2

dry-run.yml

on: pull_request
dry-run  /  Build browser-test-tools
2m 44s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
2m 56s
dry-run / Build documenter
dry-run  /  Build global-styles
23s
dry-run / Build global-styles
dry-run  /  Build collection-hooks
52s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
26s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
1m 5s
dry-run / Build component-toolkit
dry-run  /  Build theming-core
1m 2s
dry-run / Build theming-core
dry-run  /  Build test-utils
1m 25s
dry-run / Build test-utils
dry-run  /  Build components
6m 5s
dry-run / Build components
Matrix: dry-run / Components accessibility tests shard
dry-run  /  Build board components
4m 16s
dry-run / Build board components
dry-run  /  Components unit tests
8m 42s
dry-run / Components unit tests
dry-run  /  Components integration tests
16m 42s
dry-run / Components integration tests
dry-run  /  Components accessibility tests
0s
dry-run / Components accessibility tests
Fit to window
Zoom out
Zoom in

Annotations

24 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 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: Dropdown width › updates between re-renders › 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 2: Dropdown width › updates between re-renders › 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: Dropdown width › updates between re-renders › expandToViewport: false › 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

Artifacts

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