Skip to content

Commit f2a98a8

Browse files
committed
MC-10263: Verify Shopping Cart Persistence under long-term cookie
1 parent 667d5f0 commit f2a98a8

File tree

5 files changed

+6
-46
lines changed

5 files changed

+6
-46
lines changed

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutCartProductSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
<element name="productPriceByName" type="text"
3636
selector="//table[@id='shopping-cart-table']//tbody//tr[//a/text()='{{var1}}']//ancestor::td[contains(@class,'price')]//span[@class='price']"
3737
parameterized="true"/>
38-
<element name="productName" type="text" selector="#shopping-cart-table .product-item-details > strong"/>
38+
<element name="productName" type="text" selector="#shopping-cart-table tbody strong.product-item-name"/>
3939
</section>
4040
</sections>

app/code/Magento/Customer/Test/Mftf/ActionGroup/AdminDeleteCustomerActionGroup.xml

Lines changed: 0 additions & 24 deletions
This file was deleted.

app/code/Magento/Customer/Test/Mftf/ActionGroup/RemoveCustomerFromAdminActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1010
<!--Delete a customer by Email by filtering grid and using delete action-->
1111
<actionGroup name="RemoveCustomerFromAdminActionGroup">
1212
<arguments>

app/code/Magento/Persistent/Test/Mftf/Test/StorefrontVerifyShoppingCartPersistenceUnderLongTermCookieTest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
<deleteData createDataKey="createSimple2" stepKey="deleteSimple2"/>
4040
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
4141
<actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/>
42-
<actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteJohnSmithCustomer">
43-
<argument name="customerEmail" value="{{John_Smith_Customer.email}}"/>
42+
<actionGroup ref="RemoveCustomerFromAdminActionGroup" stepKey="deleteJohnSmithCustomer">
43+
<argument name="customer" value="John_Smith_Customer"/>
4444
</actionGroup>
45-
<actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteJohnDoeCustomer">
46-
<argument name="customerEmail" value="{{Simple_Customer_Without_Address.email}}"/>
45+
<actionGroup ref="RemoveCustomerFromAdminActionGroup" stepKey="deleteJohnDoeCustomer">
46+
<argument name="customer" value="Simple_Customer_Without_Address"/>
4747
</actionGroup>
4848
<actionGroup ref="logout" stepKey="logout"/>
4949
</after>

app/code/Magento/Ui/Test/Mftf/Section/AdminGridActionsMenuSection.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)