From 27c03dae9cf29ae0c84f7c91cea287098f58806b Mon Sep 17 00:00:00 2001 From: Ajith Date: Sun, 10 Jan 2021 01:54:17 +0530 Subject: [PATCH] MFTF test refactored --- ...efrontDeleteCustomerAddressActionGroup.xml | 22 ++++++++++++++++ .../ActionGroup/StorefrontSeeActionGroup.xml | 22 ++++++++++++++++ .../StorefrontSelectOptionActionGroup.xml | 22 ++++++++++++++++ ...orefrontVerifyOrderGridListActionGroup.xml | 26 +++++++++++++++++++ ...StorefrontCustomerAccountOrderListTest.xml | 23 +--------------- .../StorefrontDeleteCustomerAddressTest.xml | 16 +++++++----- ...efrontUpdateCustomerAddressBelgiumTest.xml | 21 +++++++++++---- 7 files changed, 118 insertions(+), 34 deletions(-) create mode 100644 app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontDeleteCustomerAddressActionGroup.xml create mode 100644 app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontSeeActionGroup.xml create mode 100644 app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontSelectOptionActionGroup.xml create mode 100644 app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontVerifyOrderGridListActionGroup.xml diff --git a/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontDeleteCustomerAddressActionGroup.xml b/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontDeleteCustomerAddressActionGroup.xml new file mode 100644 index 0000000000000..da34196263e6b --- /dev/null +++ b/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontDeleteCustomerAddressActionGroup.xml @@ -0,0 +1,22 @@ + + + + + + + Delete customer address from the storefront. + + + + + + + + + diff --git a/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontSeeActionGroup.xml b/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontSeeActionGroup.xml new file mode 100644 index 0000000000000..cbe010d12d5ea --- /dev/null +++ b/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontSeeActionGroup.xml @@ -0,0 +1,22 @@ + + + + + + + Validates that the provided text is present and correct. + + + + + + + + + diff --git a/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontSelectOptionActionGroup.xml b/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontSelectOptionActionGroup.xml new file mode 100644 index 0000000000000..ce54dba2dacaa --- /dev/null +++ b/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontSelectOptionActionGroup.xml @@ -0,0 +1,22 @@ + + + + + + + Selects an option in a select tag or in radio button group. + + + + + + + + + diff --git a/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontVerifyOrderGridListActionGroup.xml b/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontVerifyOrderGridListActionGroup.xml new file mode 100644 index 0000000000000..4f765af7c3e65 --- /dev/null +++ b/app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontVerifyOrderGridListActionGroup.xml @@ -0,0 +1,26 @@ + + + + + + + Verify that the list of Orders is displayed in the grid + + + + + + + + + + + + + diff --git a/app/code/Magento/Customer/Test/Mftf/Test/StorefrontCustomerAccountOrderListTest.xml b/app/code/Magento/Customer/Test/Mftf/Test/StorefrontCustomerAccountOrderListTest.xml index ba113c739d706..5b453c435590b 100644 --- a/app/code/Magento/Customer/Test/Mftf/Test/StorefrontCustomerAccountOrderListTest.xml +++ b/app/code/Magento/Customer/Test/Mftf/Test/StorefrontCustomerAccountOrderListTest.xml @@ -118,27 +118,6 @@ - - - - - - - - - - - - - - - - - - - + diff --git a/app/code/Magento/Customer/Test/Mftf/Test/StorefrontDeleteCustomerAddressTest.xml b/app/code/Magento/Customer/Test/Mftf/Test/StorefrontDeleteCustomerAddressTest.xml index 51efd4e23f5d3..8d51bbc3ffe84 100644 --- a/app/code/Magento/Customer/Test/Mftf/Test/StorefrontDeleteCustomerAddressTest.xml +++ b/app/code/Magento/Customer/Test/Mftf/Test/StorefrontDeleteCustomerAddressTest.xml @@ -31,12 +31,14 @@ - - - - - - - + + + + + + + + + diff --git a/app/code/Magento/Customer/Test/Mftf/Test/StorefrontUpdateCustomerAddressBelgiumTest.xml b/app/code/Magento/Customer/Test/Mftf/Test/StorefrontUpdateCustomerAddressBelgiumTest.xml index b800b7870b5c5..7943eca241672 100644 --- a/app/code/Magento/Customer/Test/Mftf/Test/StorefrontUpdateCustomerAddressBelgiumTest.xml +++ b/app/code/Magento/Customer/Test/Mftf/Test/StorefrontUpdateCustomerAddressBelgiumTest.xml @@ -42,7 +42,10 @@ - + + + + @@ -56,10 +59,18 @@ - - + + + + + + + + - - + + + +