feat: Adds dataAttributes support to ButtonDropdown items #17748
Annotations
2 errors and 15 warnings
|
Integration tests
Process completed with exit code 1.
|
|
Integration tests:
src/table/__integ__/inline-actions.test.ts#L44
expect(received).resolves.toEqual()
Received promise rejected instead of resolved
Rejected to value: [javascript error: WebDriverError: javascript error: Element body [data-testid="table-with-dropdown-actions"][class*="awsui_root_wih1l"] [class*="awsui_wrapper_wih1l"] has not been found at the page
(Session info: chrome=144.0.7559.132) when running "execute/sync" with method "POST" and args "function getElementScrollPosition(selector) {
const element = document.querySelector(selector);
if (!element) {
throw new Error('Element ' + selector + ' has not been found at the page');
}
const overflowStyles = getComputedStyle(element).overflow.split(' ');
if (!overflowStyles.includes('auto') && !overflowStyles.includes('scroll')) {
throw new Error('Element ' + selector + ' is not scrollable');
}
return { top: element.scrollTop, left: element.scrollLeft };
}"]
at expect (node_modules/expect/build/index.js:113:15)
at src/table/__integ__/inline-actions.test.ts:44:11
at src/table/__integ__/inline-actions.test.ts:33:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
|
Integration tests:
src/table/__integ__/resizable-columns.test.ts#L349
expect(received).toEqual(expected) // deep equality
Expected: 130
Received: 230
at src/table/__integ__/resizable-columns.test.ts:349:22
at src/table/__integ__/resizable-columns.test.ts:151:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
|
Integration tests:
src/table/__integ__/resizable-columns.test.ts#L349
expect(received).toEqual(expected) // deep equality
Expected: 130
Received: 230
at src/table/__integ__/resizable-columns.test.ts:349:22
at src/table/__integ__/resizable-columns.test.ts:151:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
|
Integration tests:
src/table/__integ__/inline-actions.test.ts#L44
expect(received).resolves.toEqual()
Received promise rejected instead of resolved
Rejected to value: [javascript error: WebDriverError: javascript error: Element body [data-testid="table-with-dropdown-actions"][class*="awsui_root_wih1l"] [class*="awsui_wrapper_wih1l"] has not been found at the page
(Session info: chrome=144.0.7559.132) when running "execute/sync" with method "POST" and args "function getElementScrollPosition(selector) {
const element = document.querySelector(selector);
if (!element) {
throw new Error('Element ' + selector + ' has not been found at the page');
}
const overflowStyles = getComputedStyle(element).overflow.split(' ');
if (!overflowStyles.includes('auto') && !overflowStyles.includes('scroll')) {
throw new Error('Element ' + selector + ' is not scrollable');
}
return { top: element.scrollTop, left: element.scrollLeft };
}"]
at expect (node_modules/expect/build/index.js:113:15)
at src/table/__integ__/inline-actions.test.ts:44:11
at src/table/__integ__/inline-actions.test.ts:33:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
|
Integration tests:
src/table/__integ__/inline-actions.test.ts#L44
expect(received).resolves.toEqual()
Received promise rejected instead of resolved
Rejected to value: [javascript error: WebDriverError: javascript error: Element body [data-testid="table-with-dropdown-actions"][class*="awsui_root_wih1l"] [class*="awsui_wrapper_wih1l"] has not been found at the page
(Session info: chrome=144.0.7559.132) when running "execute/sync" with method "POST" and args "function getElementScrollPosition(selector) {
const element = document.querySelector(selector);
if (!element) {
throw new Error('Element ' + selector + ' has not been found at the page');
}
const overflowStyles = getComputedStyle(element).overflow.split(' ');
if (!overflowStyles.includes('auto') && !overflowStyles.includes('scroll')) {
throw new Error('Element ' + selector + ' is not scrollable');
}
return { top: element.scrollTop, left: element.scrollLeft };
}"]
at expect (node_modules/expect/build/index.js:113:15)
at src/table/__integ__/inline-actions.test.ts:44:11
at src/table/__integ__/inline-actions.test.ts:33:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
|
Integration tests:
src/table/__integ__/inline-actions.test.ts#L44
expect(received).resolves.toEqual()
Received promise rejected instead of resolved
Rejected to value: [javascript error: WebDriverError: javascript error: Element body [data-testid="table-with-dropdown-actions"][class*="awsui_root_wih1l"] [class*="awsui_wrapper_wih1l"] has not been found at the page
(Session info: chrome=144.0.7559.132) when running "execute/sync" with method "POST" and args "function getElementScrollPosition(selector) {
const element = document.querySelector(selector);
if (!element) {
throw new Error('Element ' + selector + ' has not been found at the page');
}
const overflowStyles = getComputedStyle(element).overflow.split(' ');
if (!overflowStyles.includes('auto') && !overflowStyles.includes('scroll')) {
throw new Error('Element ' + selector + ' is not scrollable');
}
return { top: element.scrollTop, left: element.scrollLeft };
}"]
at expect (node_modules/expect/build/index.js:113:15)
at src/table/__integ__/inline-actions.test.ts:44:11
at src/table/__integ__/inline-actions.test.ts:33:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
|
|
|
Build components package:
src/app-layout/__integ__/app-layout-focus-delegation.test.ts#L192
Unexpected 'todo' comment: 'todo - investigate why resize observer...'
|
|
Build components package:
src/app-layout/__integ__/app-layout-drawers.test.ts#L227
Unexpected 'todo' comment: 'todo: resolve split panel positioning...'
|
|
Build components package:
pages/utils/permutations-view.tsx#L18
Unexpected 'todo' comment: 'TODO: Pretty-print original JSX,...'
|
|
Build components package:
pages/steps/with-updates.page.tsx#L167
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
Build components package:
pages/steps/with-updates.page.tsx#L155
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
Build components package:
pages/steps/with-updates.page.tsx#L143
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
Build components package:
pages/steps/with-updates.page.tsx#L127
JSX element uses aria-live property. Prefer using LiveRegion component instead
|
|
Build components package:
pages/form-field/form-field-columns.page.tsx#L20
Unexpected 'todo' comment: 'TODO: Replace this with Select'
|
|
Build components package:
pages/button/alignment.page.tsx#L25
Unexpected 'todo' comment: 'TODO: uncomment when we add...'
|
Loading