feat: Validate if an element to scroll is actually scrollable #326
Annotations
4 errors and 7 warnings
|
Integration tests:
src/pie-chart/__integ__/pie-chart.test.ts#L212
javascript error: javascript error: Element body #pie-chart[class*="awsui_root_1edmh"] [class*="awsui_root_1kjc7"] [class*="awsui_marker_1kjc7"]:nth-child(2) is not scrollable
(Session info: chrome=131.0.6778.204)
at getErrorFromResponseBody (node_modules/webdriver/build/utils.js:198:12)
at NodeJSRequest._request (node_modules/webdriver/build/request/index.js:166:60)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at PieChartPageObject.elementScrollTo (node_modules/@cloudscape-design/browser-test-tools/page-objects/base.js:141:9)
at src/pie-chart/__integ__/pie-chart.test.ts:212:7
at src/pie-chart/__integ__/pie-chart.test.ts:43:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Integration tests:
src/pie-chart/__integ__/pie-chart.test.ts#L242
javascript error: javascript error: Element body #pie-chart[class*="awsui_root_1edmh"] [class*="awsui_root_1kjc7"] [class*="awsui_marker_1kjc7"]:nth-child(2) is not scrollable
(Session info: chrome=131.0.6778.204)
at getErrorFromResponseBody (node_modules/webdriver/build/utils.js:198:12)
at NodeJSRequest._request (node_modules/webdriver/build/request/index.js:166:60)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at PieChartPageObject.elementScrollTo (node_modules/@cloudscape-design/browser-test-tools/page-objects/base.js:141:9)
at src/pie-chart/__integ__/pie-chart.test.ts:242:7
at src/pie-chart/__integ__/pie-chart.test.ts:43:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Integration tests
The operation was canceled.
|
Integration tests:
src/table/__integ__/with-frame.test.ts#L44
expect(received).toBe(expected) // Object.is equality
Expected: 170
Received: 120
at src/table/__integ__/with-frame.test.ts:44:21
at TablePage.runInsideIframe (node_modules/@cloudscape-design/browser-test-tools/page-objects/base.js:232:9)
at src/table/__integ__/with-frame.test.ts:39:5
at src/table/__integ__/with-frame.test.ts:32:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Integration tests:
src/pie-chart/__integ__/pie-chart.test.ts#L212
javascript error: javascript error: Element body #pie-chart[class*="awsui_root_1edmh"] [class*="awsui_root_1kjc7"] [class*="awsui_marker_1kjc7"]:nth-child(2) is not scrollable
(Session info: chrome=131.0.6778.204)
at getErrorFromResponseBody (node_modules/webdriver/build/utils.js:198:12)
at NodeJSRequest._request (node_modules/webdriver/build/request/index.js:166:60)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at PieChartPageObject.elementScrollTo (node_modules/@cloudscape-design/browser-test-tools/page-objects/base.js:141:9)
at src/pie-chart/__integ__/pie-chart.test.ts:212:7
at src/pie-chart/__integ__/pie-chart.test.ts:43:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Integration tests:
src/pie-chart/__integ__/pie-chart.test.ts#L212
javascript error: javascript error: Element body #pie-chart[class*="awsui_root_1edmh"] [class*="awsui_root_1kjc7"] [class*="awsui_marker_1kjc7"]:nth-child(2) is not scrollable
(Session info: chrome=131.0.6778.204)
at getErrorFromResponseBody (node_modules/webdriver/build/utils.js:198:12)
at NodeJSRequest._request (node_modules/webdriver/build/request/index.js:166:60)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at PieChartPageObject.elementScrollTo (node_modules/@cloudscape-design/browser-test-tools/page-objects/base.js:141:9)
at src/pie-chart/__integ__/pie-chart.test.ts:212:7
at src/pie-chart/__integ__/pie-chart.test.ts:43:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Integration tests:
src/pie-chart/__integ__/pie-chart.test.ts#L212
javascript error: javascript error: Element body #pie-chart[class*="awsui_root_1edmh"] [class*="awsui_root_1kjc7"] [class*="awsui_marker_1kjc7"]:nth-child(2) is not scrollable
(Session info: chrome=131.0.6778.204)
at getErrorFromResponseBody (node_modules/webdriver/build/utils.js:198:12)
at NodeJSRequest._request (node_modules/webdriver/build/request/index.js:166:60)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at PieChartPageObject.elementScrollTo (node_modules/@cloudscape-design/browser-test-tools/page-objects/base.js:141:9)
at src/pie-chart/__integ__/pie-chart.test.ts:212:7
at src/pie-chart/__integ__/pie-chart.test.ts:43:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Integration tests:
src/pie-chart/__integ__/pie-chart.test.ts#L242
javascript error: javascript error: Element body #pie-chart[class*="awsui_root_1edmh"] [class*="awsui_root_1kjc7"] [class*="awsui_marker_1kjc7"]:nth-child(2) is not scrollable
(Session info: chrome=131.0.6778.204)
at getErrorFromResponseBody (node_modules/webdriver/build/utils.js:198:12)
at NodeJSRequest._request (node_modules/webdriver/build/request/index.js:166:60)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at PieChartPageObject.elementScrollTo (node_modules/@cloudscape-design/browser-test-tools/page-objects/base.js:141:9)
at src/pie-chart/__integ__/pie-chart.test.ts:242:7
at src/pie-chart/__integ__/pie-chart.test.ts:43:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Integration tests:
src/pie-chart/__integ__/pie-chart.test.ts#L242
javascript error: javascript error: Element body #pie-chart[class*="awsui_root_1edmh"] [class*="awsui_root_1kjc7"] [class*="awsui_marker_1kjc7"]:nth-child(2) is not scrollable
(Session info: chrome=131.0.6778.204)
at getErrorFromResponseBody (node_modules/webdriver/build/utils.js:198:12)
at NodeJSRequest._request (node_modules/webdriver/build/request/index.js:166:60)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at PieChartPageObject.elementScrollTo (node_modules/@cloudscape-design/browser-test-tools/page-objects/base.js:141:9)
at src/pie-chart/__integ__/pie-chart.test.ts:242:7
at src/pie-chart/__integ__/pie-chart.test.ts:43:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Integration tests:
src/pie-chart/__integ__/pie-chart.test.ts#L242
javascript error: javascript error: Element body #pie-chart[class*="awsui_root_1edmh"] [class*="awsui_root_1kjc7"] [class*="awsui_marker_1kjc7"]:nth-child(2) is not scrollable
(Session info: chrome=131.0.6778.204)
at getErrorFromResponseBody (node_modules/webdriver/build/utils.js:198:12)
at NodeJSRequest._request (node_modules/webdriver/build/request/index.js:166:60)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:136:29)
at PieChartPageObject.elementScrollTo (node_modules/@cloudscape-design/browser-test-tools/page-objects/base.js:141:9)
at src/pie-chart/__integ__/pie-chart.test.ts:242:7
at src/pie-chart/__integ__/pie-chart.test.ts:43:5
at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/use-browser.js:36:13)
|
Loading