diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/11_combinationTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/11_combinationTab.ts index 934feef7c462a..349ad46ee6176 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/11_combinationTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/11_combinationTab.ts @@ -343,7 +343,7 @@ describe('BO - Catalog - Products : Combination tab', async () => { await testContext.addContextItem(this, 'testIdentifier', 'selectCombination4', baseContext); const availabilityLabel = await foClassicProductPage.getProductAvailabilityLabel(page); - expect(availabilityLabel).to.contains('Product available'); + expect(availabilityLabel).to.contains('Out-of-Stock'); }); it('should close the page', async function () { diff --git a/tests/UI/campaigns/functional/BO/03_catalog/01_products/15_stocksTab.ts b/tests/UI/campaigns/functional/BO/03_catalog/01_products/15_stocksTab.ts index c2a583d8bc3c9..67a648f621eb4 100644 --- a/tests/UI/campaigns/functional/BO/03_catalog/01_products/15_stocksTab.ts +++ b/tests/UI/campaigns/functional/BO/03_catalog/01_products/15_stocksTab.ts @@ -280,7 +280,7 @@ describe('BO - Catalog - Products : Stocks tab', async () => { expect(isAddToCartButtonEnabled).to.be.equal(false); const productAvailability = await foClassicProductPage.getProductAvailabilityLabel(page); - expect(productAvailability).to.be.contains('Out-of-Stock'); + expect(productAvailability).to.be.contains('OUT OF STOCK'); }); it('should go back to BO', async function () { diff --git a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/10_outOfStockBehaviour.ts b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/10_outOfStockBehaviour.ts index aaf9245e82d3f..40b1d121d80ed 100644 --- a/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/10_outOfStockBehaviour.ts +++ b/tests/UI/campaigns/functional/FO/hummingbird/09_productPage/02_productPage/10_outOfStockBehaviour.ts @@ -256,7 +256,7 @@ describe('FO - Product page - Product page : Out of stock behaviour', async () = expect(isAddToCartButtonEnabled).to.equal(false); const productAvailability = await foHummingbirdProductPage.getProductAvailabilityLabel(page); - expect(productAvailability).to.contains('Out-of-Stock'); + expect(productAvailability).to.contains('Out of stock'); }); it('should go back to BO', async function () { diff --git a/tests/UI/pages/BO/catalog/products/add/combinationsTab.ts b/tests/UI/pages/BO/catalog/products/add/combinationsTab.ts index 1ffe3f2ea6cb0..d2ca6f790dac7 100644 --- a/tests/UI/pages/BO/catalog/products/add/combinationsTab.ts +++ b/tests/UI/pages/BO/catalog/products/add/combinationsTab.ts @@ -335,7 +335,7 @@ class CombinationsTab extends BOBasePage { this.denyOrderRadioButton = '#product_combinations_availability_out_of_stock_type_0 +i'; this.allowOrderRadioButton = '#product_combinations_availability_out_of_stock_type_1 +i'; this.useDefaultBehaviourRadioButton = '#product_combinations_availability_out_of_stock_type_2 +i'; - this.editDefaultBehaviourLink = '#product_combinations_availability a[href*=configuration_fieldset_stock]'; + this.editDefaultBehaviourLink = '#product_combinations_availability a.btn-link[href*=configuration_fieldset_stock]'; this.labelWhenInStock = '#product_combinations_availability_available_now_label_1'; this.labelWhenOutOfStock = '#product_combinations_availability_available_later_label_1'; }