fix: Reduce React re-renders when checking currentCard()
#5085
Annotations
7 errors, 6 warnings, and 1 notice
e2e/tests/ui-driven/src/sections.spec.ts#L1
1) [chromium] › sections.spec.ts:314:9 › Section statuses › simple save and return › not started, ready to start and complete statuses
Test timeout of 45000ms exceeded.
|
e2e/tests/ui-driven/src/globalHelpers.ts#L235
1) [chromium] › sections.spec.ts:314:9 › Section statuses › simple save and return › not started, ready to start and complete statuses
Error: expect(locator).toContainText(expected)
Locator: locator('dl dd')
- Expected - 3
+ Received + 3
Array [
- "COMPLETED",
- "READY TO START",
- "CANNOT START YET",
+ " The status of this section of the application is:READY TO CONTINUE ",
+ " The status of this section of the application is:CANNOT START YET ",
+ " The status of this section of the application is:CANNOT START YET ",
]
Call log:
- expect.toContainText with timeout 45000ms
- waiting for locator('dl dd')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
at globalHelpers.ts:235
233 | const pageStatuses = page.locator("dl dd");
234 | await expect(pageSections).toContainText(sections.map((s) => s.title));
> 235 | await expect(pageStatuses).toContainText(sections.map((s) => s.status));
| ^
236 | }
237 |
238 | export async function fillGovUkCardDetails({
at expectSections (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:235:30)
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/sections.spec.ts:367:7
|
e2e/tests/ui-driven/src/sections.spec.ts#L1
1) [chromium] › sections.spec.ts:314:9 › Section statuses › simple save and return › not started, ready to start and complete statuses
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
e2e/tests/ui-driven/src/globalHelpers.ts#L235
1) [chromium] › sections.spec.ts:314:9 › Section statuses › simple save and return › not started, ready to start and complete statuses
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected)
Locator: locator('dl dd')
- Expected - 3
+ Received + 3
Array [
- "COMPLETED",
- "READY TO START",
- "CANNOT START YET",
+ " The status of this section of the application is:READY TO CONTINUE ",
+ " The status of this section of the application is:CANNOT START YET ",
+ " The status of this section of the application is:CANNOT START YET ",
]
Call log:
- expect.toContainText with timeout 45000ms
- waiting for locator('dl dd')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
at globalHelpers.ts:235
233 | const pageStatuses = page.locator("dl dd");
234 | await expect(pageSections).toContainText(sections.map((s) => s.title));
> 235 | await expect(pageStatuses).toContainText(sections.map((s) => s.status));
| ^
236 | }
237 |
238 | export async function fillGovUkCardDetails({
at expectSections (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:235:30)
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/sections.spec.ts:367:7
|
e2e/tests/ui-driven/src/sections.spec.ts#L1
1) [chromium] › sections.spec.ts:314:9 › Section statuses › simple save and return › not started, ready to start and complete statuses
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
e2e/tests/ui-driven/src/globalHelpers.ts#L235
1) [chromium] › sections.spec.ts:314:9 › Section statuses › simple save and return › not started, ready to start and complete statuses
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected)
Locator: locator('dl dd')
- Expected - 3
+ Received + 3
Array [
- "COMPLETED",
- "READY TO START",
- "CANNOT START YET",
+ " The status of this section of the application is:READY TO CONTINUE ",
+ " The status of this section of the application is:CANNOT START YET ",
+ " The status of this section of the application is:CANNOT START YET ",
]
Call log:
- expect.toContainText with timeout 45000ms
- waiting for locator('dl dd')
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
- locator resolved to 3 elements
at globalHelpers.ts:235
233 | const pageStatuses = page.locator("dl dd");
234 | await expect(pageSections).toContainText(sections.map((s) => s.title));
> 235 | await expect(pageStatuses).toContainText(sections.map((s) => s.status));
| ^
236 | }
237 |
238 | export async function fillGovUkCardDetails({
at expectSections (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:235:30)
at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/sections.spec.ts:367:7
|
|
e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L93
Unexpected use of networkidle
|
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L87
Unexpected use of networkidle
|
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L96
Unexpected use of networkidle
|
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L131
Unexpected use of networkidle
|
e2e/tests/ui-driven/[chromium] › sections.spec.ts#L1
e2e/tests/ui-driven/[chromium] › sections.spec.ts took 2.4m
|
e2e/tests/ui-driven/[chromium] › create-flow/create-flow.spec.ts#L1
e2e/tests/ui-driven/[chromium] › create-flow/create-flow.spec.ts took 15.3s
|
|
This job failed
Loading