Skip to content

Commit

Permalink
fix: fix test w/ non-unique identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalinDe committed Feb 15, 2024
1 parent 97a3cd8 commit e26dd9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/frontend/tests/ballot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test('Assert ballot form is correctly handled for anonymous users, non-voter use
await page.goto(`/ballot/show/${FORMID}`, { waitUntil: 'networkidle' });
await expect(page).toHaveURL(`/ballot/show/${FORMID}`);
await expect(castVoteButton).toBeVisible();
await expect(page.getByText(i18n.t('vote'))).toBeVisible();
await expect(page.getByText(i18n.t('vote'), { exact: true })).toBeVisible();
await expect(page.getByText(i18n.t('voteExplanation'))).toBeVisible();
});
});
Expand Down

0 comments on commit e26dd9f

Please sign in to comment.