Skip to content

Commit

Permalink
[MS] Should solve flaky playwright tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-7 committed Dec 2, 2024
1 parent 9b39980 commit e4de845
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions client/tests/e2e/helpers/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export const msTest = base.extend<{
},

clientArea: async ({ home }, use) => {
UserData.reset();
await MockBms.mockLogin(home);
await MockBms.mockUserRoute(home);
await MockBms.mockListOrganizations(home);
Expand Down Expand Up @@ -181,7 +182,3 @@ export const msTest = base.extend<{
await use(home);
},
});

msTest.beforeEach(async () => {
UserData.reset();
});

0 comments on commit e4de845

Please sign in to comment.