From cf5b4f7579c989bfcff172019e633d6d8c3c92a0 Mon Sep 17 00:00:00 2001 From: Kate Kyzyma Date: Fri, 18 Feb 2022 13:03:04 +0200 Subject: [PATCH] Refactoring the test --- ...dminAssertProperCategoryUrlActionGroup.xml | 22 +++++++++ ...ryAndCheckDefaultUrlKeyOnStoreViewTest.xml | 48 ++++++++++++------- ...eCategoryWithInactiveIncludeInMenuTest.xml | 8 ++-- 3 files changed, 58 insertions(+), 20 deletions(-) create mode 100644 app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminAssertProperCategoryUrlActionGroup.xml diff --git a/app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminAssertProperCategoryUrlActionGroup.xml b/app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminAssertProperCategoryUrlActionGroup.xml new file mode 100644 index 0000000000000..4876850e0a941 --- /dev/null +++ b/app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminAssertProperCategoryUrlActionGroup.xml @@ -0,0 +1,22 @@ + + + + + + + Verifies the URL Key on the Category page. + + + + + + + + + diff --git a/app/code/Magento/Catalog/Test/Mftf/Test/AdminUpdateCategoryAndCheckDefaultUrlKeyOnStoreViewTest.xml b/app/code/Magento/Catalog/Test/Mftf/Test/AdminUpdateCategoryAndCheckDefaultUrlKeyOnStoreViewTest.xml index e800b72f33850..896afb157e6e6 100644 --- a/app/code/Magento/Catalog/Test/Mftf/Test/AdminUpdateCategoryAndCheckDefaultUrlKeyOnStoreViewTest.xml +++ b/app/code/Magento/Catalog/Test/Mftf/Test/AdminUpdateCategoryAndCheckDefaultUrlKeyOnStoreViewTest.xml @@ -33,14 +33,18 @@ - + - - - - - + + + + + + + + + @@ -51,22 +55,32 @@ - - - + + + + + - + + + - - - - + + + + + + - - - + + + + + + + diff --git a/app/code/Magento/Catalog/Test/Mftf/Test/AdminUpdateCategoryWithInactiveIncludeInMenuTest.xml b/app/code/Magento/Catalog/Test/Mftf/Test/AdminUpdateCategoryWithInactiveIncludeInMenuTest.xml index 1bd48ca89a5de..0d1c499e35349 100644 --- a/app/code/Magento/Catalog/Test/Mftf/Test/AdminUpdateCategoryWithInactiveIncludeInMenuTest.xml +++ b/app/code/Magento/Catalog/Test/Mftf/Test/AdminUpdateCategoryWithInactiveIncludeInMenuTest.xml @@ -75,9 +75,11 @@ - - - + + + + +