Skip to content

Commit

Permalink
Attempt to fix E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
florimondmanca committed Sep 14, 2023
1 parent 2aeb0db commit 100154a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/pages/regulation_order.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class RegulationOrderPage {

await this.page.getByLabel('Voie ou ville').fill(address);
await this.page.getByLabel('Type de restriction').selectOption({ label: restrictionType });
await this.page.getByText('Tous les véhicules', { exact: true }).check();
await this.page.getByText('Tous les véhicules', { exact: true }).check({ force: true });
await this.saveBtn.click();
this.addedLocationTitles.push(expectedTitle);
return this.getLocationByTitle(expectedTitle);
Expand Down

0 comments on commit 100154a

Please sign in to comment.