From a38ed7e586a5fedccc498def60aae49fbd436f81 Mon Sep 17 00:00:00 2001 From: Kate Kyzyma Date: Wed, 15 Sep 2021 09:29:03 +0300 Subject: [PATCH 1/4] Refactoring AdminEditRelatedBundleProductTest --- .../AdminEditRelatedBundleProductTest.xml | 27 +++++++++++++------ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/app/code/Magento/Bundle/Test/Mftf/Test/AdminEditRelatedBundleProductTest.xml b/app/code/Magento/Bundle/Test/Mftf/Test/AdminEditRelatedBundleProductTest.xml index b132a7829866b..8a90309395dfa 100644 --- a/app/code/Magento/Bundle/Test/Mftf/Test/AdminEditRelatedBundleProductTest.xml +++ b/app/code/Magento/Bundle/Test/Mftf/Test/AdminEditRelatedBundleProductTest.xml @@ -52,7 +52,9 @@ - + + + @@ -63,18 +65,27 @@ - + + + - - - + + + + + + - - - + + + + + + + From d063a3478928cd4fa0e2327490193e68cc4576a3 Mon Sep 17 00:00:00 2001 From: Kate Kyzyma Date: Thu, 16 Sep 2021 09:25:48 +0300 Subject: [PATCH 2/4] Refactoring EnableDisableBundleProductStatusTest --- .../EnableDisableBundleProductStatusTest.xml | 66 ++++++++++++------- 1 file changed, 41 insertions(+), 25 deletions(-) diff --git a/app/code/Magento/Bundle/Test/Mftf/Test/EnableDisableBundleProductStatusTest.xml b/app/code/Magento/Bundle/Test/Mftf/Test/EnableDisableBundleProductStatusTest.xml index 45328900bf156..1bcceae46c2bc 100644 --- a/app/code/Magento/Bundle/Test/Mftf/Test/EnableDisableBundleProductStatusTest.xml +++ b/app/code/Magento/Bundle/Test/Mftf/Test/EnableDisableBundleProductStatusTest.xml @@ -35,27 +35,33 @@ - - + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + @@ -64,14 +70,20 @@ - + + + - - - + + + + + + + @@ -81,9 +93,13 @@ - - - + + + + + + + From a6d28bcf6ae502b5cc7e85c22e4553be5272a055 Mon Sep 17 00:00:00 2001 From: Kate Kyzyma Date: Thu, 16 Sep 2021 10:27:37 +0300 Subject: [PATCH 3/4] Refactoring AdminMassDeleteBundleProductsTest --- .../AdminMassDeleteBundleProductsTest.xml | 51 +++++++++++++------ .../EnableDisableBundleProductStatusTest.xml | 4 +- ...NameIsNotShownOnProductPageActionGroup.xml | 21 ++++++++ 3 files changed, 60 insertions(+), 16 deletions(-) create mode 100644 app/code/Magento/Catalog/Test/Mftf/ActionGroup/StorefrontAssertProductNameIsNotShownOnProductPageActionGroup.xml diff --git a/app/code/Magento/Bundle/Test/Mftf/Test/AdminMassDeleteBundleProductsTest.xml b/app/code/Magento/Bundle/Test/Mftf/Test/AdminMassDeleteBundleProductsTest.xml index 3b0f9afd3d4f6..911bf31cccaf7 100644 --- a/app/code/Magento/Bundle/Test/Mftf/Test/AdminMassDeleteBundleProductsTest.xml +++ b/app/code/Magento/Bundle/Test/Mftf/Test/AdminMassDeleteBundleProductsTest.xml @@ -37,8 +37,11 @@ - - + + + + + @@ -66,12 +69,17 @@ - + + + - - + + + + + @@ -104,7 +112,9 @@ - + + + @@ -117,19 +127,30 @@ - + + + + - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/app/code/Magento/Bundle/Test/Mftf/Test/EnableDisableBundleProductStatusTest.xml b/app/code/Magento/Bundle/Test/Mftf/Test/EnableDisableBundleProductStatusTest.xml index 1bcceae46c2bc..5758a782d3b55 100644 --- a/app/code/Magento/Bundle/Test/Mftf/Test/EnableDisableBundleProductStatusTest.xml +++ b/app/code/Magento/Bundle/Test/Mftf/Test/EnableDisableBundleProductStatusTest.xml @@ -100,6 +100,8 @@ - + + + diff --git a/app/code/Magento/Catalog/Test/Mftf/ActionGroup/StorefrontAssertProductNameIsNotShownOnProductPageActionGroup.xml b/app/code/Magento/Catalog/Test/Mftf/ActionGroup/StorefrontAssertProductNameIsNotShownOnProductPageActionGroup.xml new file mode 100644 index 0000000000000..8a3037e89389f --- /dev/null +++ b/app/code/Magento/Catalog/Test/Mftf/ActionGroup/StorefrontAssertProductNameIsNotShownOnProductPageActionGroup.xml @@ -0,0 +1,21 @@ + + + + + + + Validate that the provided Product Name is not shown on the product page. We may see 404 page + + + + + + + + + From 478f7655eefb47481e584565624a0c27baa5efd5 Mon Sep 17 00:00:00 2001 From: Kate Kyzyma Date: Thu, 16 Sep 2021 16:50:52 +0300 Subject: [PATCH 4/4] Refactoring AdminMassDeleteBundleProductsTest --- .../AdminMassDeleteBundleProductsTest.xml | 83 ++++++++++--------- 1 file changed, 45 insertions(+), 38 deletions(-) diff --git a/app/code/Magento/Bundle/Test/Mftf/Test/AdminMassDeleteBundleProductsTest.xml b/app/code/Magento/Bundle/Test/Mftf/Test/AdminMassDeleteBundleProductsTest.xml index 911bf31cccaf7..5c23360e74d78 100644 --- a/app/code/Magento/Bundle/Test/Mftf/Test/AdminMassDeleteBundleProductsTest.xml +++ b/app/code/Magento/Bundle/Test/Mftf/Test/AdminMassDeleteBundleProductsTest.xml @@ -44,23 +44,26 @@ - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - + + @@ -82,26 +85,33 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + - - + + + + + + @@ -127,10 +137,7 @@ - - - - +