Skip to content

Commit

Permalink
fix: Tests for E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed Jan 10, 2024
1 parent b23c33e commit efddec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/tests/ui-driven/src/globalHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export async function answerChecklist({
});
await expect(checklist).toBeVisible();
for (const answer of answers) {
await page.locator("label", { hasText: answer }).click();
await page.getByRole("button", { name: answer, exact: true }).click();

Check failure on line 196 in e2e/tests/ui-driven/src/globalHelpers.ts

View workflow job for this annotation

GitHub Actions / E2E tests

[chromium] › sections.spec.ts:64:9 › Section statuses › a straight-through journey › not started

1) [chromium] › sections.spec.ts:64:9 › Section statuses › a straight-through journey › not started, ready to start and complete statuses Error: locator.click: Test timeout of 45000ms exceeded. Call log: - waiting for getByRole('button', { name: 'B', exact: true }) at globalHelpers.ts:196 194 | await expect(checklist).toBeVisible(); 195 | for (const answer of answers) { > 196 | await page.getByRole("button", { name: answer, exact: true }).click(); | ^ 197 | } 198 | } 199 | at answerChecklist (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:196:67) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/sections.spec.ts:114:7

Check failure on line 196 in e2e/tests/ui-driven/src/globalHelpers.ts

View workflow job for this annotation

GitHub Actions / E2E tests

[chromium] › sections.spec.ts:64:9 › Section statuses › a straight-through journey › not started

1) [chromium] › sections.spec.ts:64:9 › Section statuses › a straight-through journey › not started, ready to start and complete statuses Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 45000ms exceeded. Call log: - waiting for getByRole('button', { name: 'B', exact: true }) at globalHelpers.ts:196 194 | await expect(checklist).toBeVisible(); 195 | for (const answer of answers) { > 196 | await page.getByRole("button", { name: answer, exact: true }).click(); | ^ 197 | } 198 | } 199 | at answerChecklist (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:196:67) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/sections.spec.ts:114:7

Check failure on line 196 in e2e/tests/ui-driven/src/globalHelpers.ts

View workflow job for this annotation

GitHub Actions / E2E tests

[chromium] › sections.spec.ts:64:9 › Section statuses › a straight-through journey › not started

1) [chromium] › sections.spec.ts:64:9 › Section statuses › a straight-through journey › not started, ready to start and complete statuses Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 45000ms exceeded. Call log: - waiting for getByRole('button', { name: 'B', exact: true }) at globalHelpers.ts:196 194 | await expect(checklist).toBeVisible(); 195 | for (const answer of answers) { > 196 | await page.getByRole("button", { name: answer, exact: true }).click(); | ^ 197 | } 198 | } 199 | at answerChecklist (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/globalHelpers.ts:196:67) at /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/sections.spec.ts:114:7
}
}

Expand Down

0 comments on commit efddec1

Please sign in to comment.