diff --git a/cypress/support/pages/backoffice/product-management/edit/product-management-edit-page.ts b/cypress/support/pages/backoffice/product-management/edit/product-management-edit-page.ts index 7d60103c..fb456296 100644 --- a/cypress/support/pages/backoffice/product-management/edit/product-management-edit-page.ts +++ b/cypress/support/pages/backoffice/product-management/edit/product-management-edit-page.ts @@ -25,7 +25,7 @@ export class ProductManagementEditPage extends BackofficePage { }); }; - checkAllStores = (): void => { + assignAllPossibleStores = (): void => { this.repository.getGeneralTab().click({ force: true }); this.repository.getAllStockInputs().check(); }; diff --git a/cypress/support/scenarios/backoffice/enable-product-for-all-stores-scenario.ts b/cypress/support/scenarios/backoffice/enable-product-for-all-stores-scenario.ts index 1c3af127..ee51ddb7 100644 --- a/cypress/support/scenarios/backoffice/enable-product-for-all-stores-scenario.ts +++ b/cypress/support/scenarios/backoffice/enable-product-for-all-stores-scenario.ts @@ -12,7 +12,7 @@ export class EnableProductForAllStoresScenario { this.productManagementListPage.visit(); this.productManagementListPage.update({ query: params.abstractProductSku, action: ActionEnum.edit }); - this.productManagementEditPage.checkAllStores(); + this.productManagementEditPage.assignAllPossibleStores(); this.productManagementEditPage.bulkPriceUpdate(params.productPrice); this.productManagementEditPage.save();