feat: auto-answer one at a time, not into the future #6176
pull-request.yml
on: pull_request
Check file changes
4s
Run Integration tests
4m 28s
Run API Tests
0s
Run React Tests
5m 13s
Generate Hasura Change Summary
0s
E2E tests
9m 41s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
34s
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/pages/FlowEditor/lib/__tests__/advancedAutomations.test.ts > apple:
editor.planx.uk/src/pages/FlowEditor/lib/__tests__/advancedAutomations.test.ts#L245
AssertionError: expected [ 'HV0gV8DOil', '2PT6bTPTqj', …(2) ] to deeply equal [ '6RR1J1lmrM', 'mOPogpQa7V' ]
- Expected
+ Received
Array [
- "6RR1J1lmrM",
- "mOPogpQa7V",
+ "HV0gV8DOil",
+ "2PT6bTPTqj",
+ "3H2bGdzpIN",
+ "AFX3QwbOCd",
]
❯ src/pages/FlowEditor/lib/__tests__/advancedAutomations.test.ts:245:40
|
src/pages/FlowEditor/lib/__tests__/advancedAutomations.test.ts > apple and spanner:
editor.planx.uk/src/pages/FlowEditor/lib/__tests__/advancedAutomations.test.ts#L256
AssertionError: expected [ 'HV0gV8DOil', '2PT6bTPTqj', …(2) ] to deeply equal [ '6RR1J1lmrM', 'KcLGMm3UWw' ]
- Expected
+ Received
Array [
- "6RR1J1lmrM",
- "KcLGMm3UWw",
+ "HV0gV8DOil",
+ "2PT6bTPTqj",
+ "3H2bGdzpIN",
+ "AFX3QwbOCd",
]
❯ src/pages/FlowEditor/lib/__tests__/advancedAutomations.test.ts:256:40
|
src/pages/FlowEditor/lib/__tests__/advancedAutomations.test.ts > apple and bread:
editor.planx.uk/src/pages/FlowEditor/lib/__tests__/advancedAutomations.test.ts#L267
AssertionError: expected [ 'HV0gV8DOil', '2PT6bTPTqj', …(2) ] to deeply equal [ 't3SCqQKeUK', 'mOPogpQa7V' ]
- Expected
+ Received
Array [
- "t3SCqQKeUK",
- "mOPogpQa7V",
+ "HV0gV8DOil",
+ "2PT6bTPTqj",
+ "3H2bGdzpIN",
+ "AFX3QwbOCd",
]
❯ src/pages/FlowEditor/lib/__tests__/advancedAutomations.test.ts:267:40
|
src/pages/FlowEditor/lib/__tests__/automations.test.ts > (basic) if the passport contains > [food.fruit] it should go down the [food] path:
editor.planx.uk/src/pages/FlowEditor/lib/__tests__/automations.test.ts#L51
AssertionError: expected { _setter: { auto: false, …(1) } } to deeply equal { Object (_setter, item) }
- Expected
+ Received
Object {
"_setter": Object {
"auto": false,
"data": Object {
"item": Array [
"food.fruit",
],
},
},
- "item": Object {
- "answers": Array [
- "food",
- ],
- "auto": true,
- },
}
❯ src/pages/FlowEditor/lib/__tests__/automations.test.ts:51:38
|
src/pages/FlowEditor/lib/__tests__/automations.test.ts > (basic) if the passport contains > [hardware] it should go down the [hardware] path:
editor.planx.uk/src/pages/FlowEditor/lib/__tests__/automations.test.ts#L51
AssertionError: expected { _setter: { auto: false, …(1) } } to deeply equal { Object (_setter, item) }
- Expected
+ Received
Object {
"_setter": Object {
"auto": false,
"data": Object {
"item": Array [
"hardware",
],
},
},
- "item": Object {
- "answers": Array [
- "hardware",
- ],
- "auto": true,
- },
}
❯ src/pages/FlowEditor/lib/__tests__/automations.test.ts:51:38
|
src/pages/FlowEditor/lib/__tests__/automations.test.ts > (basic) if the passport contains > [stationary] it should go down the [other] path:
editor.planx.uk/src/pages/FlowEditor/lib/__tests__/automations.test.ts#L51
AssertionError: expected { _setter: { auto: false, …(1) } } to deeply equal { Object (_setter, item) }
- Expected
+ Received
Object {
"_setter": Object {
"auto": false,
"data": Object {
"item": Array [
"stationary",
],
},
},
- "item": Object {
- "answers": Array [
- "other",
- ],
- "auto": true,
- },
}
❯ src/pages/FlowEditor/lib/__tests__/automations.test.ts:51:38
|
src/pages/FlowEditor/lib/__tests__/automations.test.ts > (more advanced) if the passport contains > [food.fruit] it should go down the [food.fruit] path:
editor.planx.uk/src/pages/FlowEditor/lib/__tests__/automations.test.ts#L104
AssertionError: expected { _setter: { auto: false, …(1) } } to deeply equal { Object (_setter, item) }
- Expected
+ Received
Object {
"_setter": Object {
"auto": false,
"data": Object {
"item": Array [
"food.fruit",
],
},
},
- "item": Object {
- "answers": Array [
- "food.fruit",
- ],
- "auto": true,
- },
}
❯ src/pages/FlowEditor/lib/__tests__/automations.test.ts:104:38
|
src/pages/FlowEditor/lib/__tests__/automations.test.ts > (more advanced) if the passport contains > [food.dairy] it should go down the [food] path:
editor.planx.uk/src/pages/FlowEditor/lib/__tests__/automations.test.ts#L104
AssertionError: expected { _setter: { auto: false, …(1) } } to deeply equal { Object (_setter, item) }
- Expected
+ Received
Object {
"_setter": Object {
"auto": false,
"data": Object {
"item": Array [
"food.dairy",
],
},
},
- "item": Object {
- "answers": Array [
- "food",
- ],
- "auto": true,
- },
}
❯ src/pages/FlowEditor/lib/__tests__/automations.test.ts:104:38
|
src/pages/FlowEditor/lib/__tests__/automations.test.ts > (more advanced) if the passport contains > [clothes] it should go down the [other] path:
editor.planx.uk/src/pages/FlowEditor/lib/__tests__/automations.test.ts#L104
AssertionError: expected { _setter: { auto: false, …(1) } } to deeply equal { Object (_setter, item) }
- Expected
+ Received
Object {
"_setter": Object {
"auto": false,
"data": Object {
"item": Array [
"clothes",
],
},
},
- "item": Object {
- "answers": Array [
- "other",
- ],
- "auto": true,
- },
}
❯ src/pages/FlowEditor/lib/__tests__/automations.test.ts:104:38
|
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 24.3s
|
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 17.8s
|
Slow Test:
e2e/tests/ui-driven/[chromium] › save-and-return.spec.ts#L1
e2e/tests/ui-driven/[chromium] › save-and-return.spec.ts took 15.6s
|
Slow Test:
e2e/tests/ui-driven/[chromium] › sections.spec.ts#L1
e2e/tests/ui-driven/[chromium] › sections.spec.ts took 15.4s
|
🎭 Playwright Run Summary
21 passed (1.4m)
|