Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tech - Fix des données Playwright pour les données flaky #2837

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test.describe("Establishment creation and modification workflow", () => {
const updatedInformations: Partial<FormEstablishmentDto> = {
businessNameCustomized: faker.company.name(),
additionalInformation: faker.lorem.sentence(),
maxContactsPerMonth: faker.number.int({ min: 1, max: 10 }),
maxContactsPerMonth: faker.number.int({ min: 5, max: 7 }),
businessContact: {
job: faker.person.jobType(),
phone: faker.helpers.fromRegExp(phoneRegexp),
Expand Down
5 changes: 0 additions & 5 deletions playwright/tests/establishment/modifyEstablishment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,6 @@ const step1Availability = async (
updatedMaxContactsPerMonth.toString(),
);
await maxContactPerMonthLocator.fill(updatedMaxContactsPerMonth.toString());
const maxContactPerMonthLocatorUpdatedValue =
await maxContactPerMonthLocator.inputValue();
await expect(maxContactPerMonthLocatorUpdatedValue).toBe(
updatedMaxContactsPerMonth.toString(),
);

await goToNextStep(page, 1, "edit");
};
Expand Down
Loading