Skip to content

Commit 0a27d04

Browse files
committed
fix: update proposal submission test to use exact text match for proposals
1 parent d4afa4d commit 0a27d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ test.describe("Proposal created logged state", () => {
3333
await page.goto("/");
3434
await page.getByTestId("proposal-discussion-link").click();
3535

36-
await expect(page.getByText(/proposals/i)).toHaveCount(2);
36+
await expect(page.getByText("Proposals", { exact: true })).toHaveCount(2);
3737
});
3838

3939
test.describe("Accept valid data", () => {

0 commit comments

Comments
 (0)