Remove the accounts connection page from the Ads Setup flow. #3348
js-unit-tests.yml
on: pull_request
JavaScript unit tests
2m 26s
Annotations
3 errors
JavaScript unit tests:
js/src/setup-ads/ads-stepper/index.test.js#L51
TypeError: continueToStep2 is not a function
at continueToStep2 (/home/runner/work/google-listings-and-ads/google-listings-and-ads/js/src/setup-ads/ads-stepper/index.test.js:51:3)
at Object.continueUntilStep3 (/home/runner/work/google-listings-and-ads/google-listings-and-ads/js/src/setup-ads/ads-stepper/index.test.js:65:10)
at Promise.then.completed (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-runner/build/testWorker.js:106:12)
|
JavaScript unit tests:
js/src/setup-ads/ads-stepper/index.test.js#L37
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/accounts/`
There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole
Ignored nodes: comments, script, style
<body>
<p
class="a11y-speak-intro-text"
hidden="hidden"
id="a11y-speak-intro-text"
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"
>
Notifications
</p>
<div
aria-atomic="true"
aria-live="assertive"
aria-relevant="additions text"
class="a11y-speak-region"
id="a11y-speak-assertive"
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"
/>
<div
aria-atomic="true"
aria-live="polite"
aria-relevant="additions text"
class="a11y-speak-region"
id="a11y-speak-polite"
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"
/>
<div />
</body>
at Object.getElementError (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByRole (/home/runner/work/google-listings-and-ads/google-listings-and-ads/js/src/setup-ads/ads-stepper/index.test.js:83:25)
at Promise.then.completed (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/google-listings-and-ads/google-listings-and-ads/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/google-listings-and-ads/goog
|
JavaScript unit tests
Process completed with exit code 1.
|