Skip to content

feat: auto-answer one at a time, not into the future #6393

feat: auto-answer one at a time, not into the future

feat: auto-answer one at a time, not into the future #6393

Triggered via pull request October 23, 2024 16:34
Status Failure
Total duration 9m 50s
Artifacts

pull-request.yml

on: pull_request
Check file changes
6s
Check file changes
Build React App
3m 28s
Build React App
Run Integration tests
4m 14s
Run Integration tests
Run API Tests
0s
Run API Tests
Run React Tests
5m 18s
Run React Tests
Generate Hasura Change Summary
0s
Generate Hasura Change Summary
E2E tests
9m 28s
E2E tests
Upsert Vultr Instance
2m 43s
Upsert Vultr Instance
Run Pulumi Preview
0s
Run Pulumi Preview
Run Healthcheck on Pizza Services
33s
Run Healthcheck on Pizza Services
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 11 warnings, and 1 notice
src/@planx/components/Calculate/logic.test.ts > When formatOutputForAutomations is true, Calculate writes an array and future questions are auto-answered: editor.planx.uk/src/@planx/components/Calculate/logic.test.ts#L24
AssertionError: expected [ 'Calculate' ] to deeply equal [ 'Calculate', 'Question' ] - Expected + Received Array [ "Calculate", - "Question", ] ❯ src/@planx/components/Calculate/logic.test.ts:24:26
src/@planx/components/Question/Public.test.tsx > Question component > Basic layout > renders the layout correctly: editor.planx.uk/src/@planx/components/Question/Public.test.tsx#L70
TestingLibraryElementError: Unable to find an element by: [data-testid="continue-button"] Ignored nodes: comments, script, style <body> <div /> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/@planx/components/Question/Public.test.tsx:70:32
src/@planx/components/Question/Public.test.tsx > Question component > Basic layout > should display previously selected answer on back or change: editor.planx.uk/src/@planx/components/Question/Public.test.tsx#L97
TestingLibraryElementError: Unable to find an accessible element with the role "heading" 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> <div /> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/@planx/components/Question/Public.test.tsx:97:16
src/@planx/components/Question/Public.test.tsx > Question component > Basic layout > should display an error message if no option is selected: editor.planx.uk/src/@planx/components/Question/Public.test.tsx#L138
TestingLibraryElementError: Unable to find an element by: [data-testid="continue-button"] Ignored nodes: comments, script, style <body> <div /> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/@planx/components/Question/Public.test.tsx:138:32
src/@planx/components/Question/Public.test.tsx > Question component > Images layout > renders the layout correctly: editor.planx.uk/src/@planx/components/Question/Public.test.tsx#L70
TestingLibraryElementError: Unable to find an element by: [data-testid="continue-button"] Ignored nodes: comments, script, style <body> <div /> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/@planx/components/Question/Public.test.tsx:70:32
src/@planx/components/Question/Public.test.tsx > Question component > Images layout > should display previously selected answer on back or change: editor.planx.uk/src/@planx/components/Question/Public.test.tsx#L97
TestingLibraryElementError: Unable to find an accessible element with the role "heading" 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> <div /> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/@planx/components/Question/Public.test.tsx:97:16
src/@planx/components/Question/Public.test.tsx > Question component > Images layout > should display an error message if no option is selected: editor.planx.uk/src/@planx/components/Question/Public.test.tsx#L138
TestingLibraryElementError: Unable to find an element by: [data-testid="continue-button"] Ignored nodes: comments, script, style <body> <div /> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/@planx/components/Question/Public.test.tsx:138:32
src/@planx/components/Question/Public.test.tsx > Question component > Descriptions layout > renders the layout correctly: editor.planx.uk/src/@planx/components/Question/Public.test.tsx#L70
TestingLibraryElementError: Unable to find an element by: [data-testid="continue-button"] Ignored nodes: comments, script, style <body> <div /> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/@planx/components/Question/Public.test.tsx:70:32
src/@planx/components/Question/Public.test.tsx > Question component > Descriptions layout > should display previously selected answer on back or change: editor.planx.uk/src/@planx/components/Question/Public.test.tsx#L97
TestingLibraryElementError: Unable to find an accessible element with the role "heading" 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> <div /> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/@planx/components/Question/Public.test.tsx:97:16
src/@planx/components/Question/Public.test.tsx > Question component > Descriptions layout > should display an error message if no option is selected: editor.planx.uk/src/@planx/components/Question/Public.test.tsx#L138
TestingLibraryElementError: Unable to find an element by: [data-testid="continue-button"] Ignored nodes: comments, script, style <body> <div /> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/@planx/components/Question/Public.test.tsx:138:32
Check file changes
The following actions use a deprecated Node.js version and will be forced to run on node20: dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run Integration tests
The following actions use a deprecated Node.js version and will be forced to run on node20: andstor/file-existence-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run React Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: andstor/file-existence-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L97
Unexpected use of networkidle
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L88
Unexpected use of networkidle
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L97
Unexpected use of networkidle
E2E tests: e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L132
Unexpected use of networkidle
Slow Test: e2e/tests/ui-driven/[chromium] › create-flow.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow.spec.ts took 29.8s
Slow Test: e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow-with-geospatial.spec.ts took 20.5s
Slow Test: e2e/tests/ui-driven/[chromium] › sections.spec.ts#L1
e2e/tests/ui-driven/[chromium] › sections.spec.ts took 16.3s
Slow Test: e2e/tests/ui-driven/[chromium] › save-and-return.spec.ts#L1
e2e/tests/ui-driven/[chromium] › save-and-return.spec.ts took 16.1s
🎭 Playwright Run Summary
21 passed (1.5m)