Skip to content

Commit

Permalink
refresh after mutation (#12529)
Browse files Browse the repository at this point in the history
  • Loading branch information
vd1992 authored Jan 20, 2025
1 parent 65d2f10 commit 865f498
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/playwright/tests/admin/pool-candidate-actions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ test.describe("Pool candidates", () => {
.fill("Notes notes notes");
await appPage.page.getByRole("button", { name: "Save changes" }).click();
await appPage.waitForGraphqlResponse("PoolCandidate_UpdateNotes");
await appPage.page.goto(`/en/admin/candidates/${candidate.id}/application`); // refresh to tackle test flakiness, sad
await expect(
appPage.page.getByRole("button", { name: /edit notes/i }),
).toBeVisible();
Expand Down

0 comments on commit 865f498

Please sign in to comment.