Skip to content

Commit

Permalink
Fixed flaky tests in DMS.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmiseev committed Dec 16, 2024
1 parent 1c1cca3 commit 7fe6f4e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { LoginPage, CustomerOverviewPage } from '@pages/yves';
import { CustomerAuthDmsDynamicFixtures, CustomerAuthDmsStaticFixtures } from '@interfaces/yves';
import { CreateStoreScenario, EnableCmsBlockForAllStoresScenario, UserLoginScenario } from '@scenarios/backoffice';
import { SelectStoreScenario } from '@scenarios/yves';
import { retryableBefore } from '../../../support/e2e';

describeIfDynamicStoreEnabled(
'customer auth dms',
Expand All @@ -18,7 +19,7 @@ describeIfDynamicStoreEnabled(
let dynamicFixtures: CustomerAuthDmsDynamicFixtures;
let staticFixtures: CustomerAuthDmsStaticFixtures;

before((): void => {
retryableBefore((): void => {
({ staticFixtures, dynamicFixtures } = Cypress.env());

userLoginScenario.execute({
Expand Down

0 comments on commit 7fe6f4e

Please sign in to comment.