Skip to content

Commit af0c858

Browse files
ACQE-8907: [MTFT Test] StorefrontPersistentCartCheckoutAfterSessionExpireLoginAndOrderTest
- Removed steps which are not required and added clearfilter step.
1 parent e422cac commit af0c858

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@
2020
</annotations>
2121
<before>
2222
<!-- Step 2: Enable Persistence shopping cart and set enable persistence to yes -->
23-
<createData entity="PersistentConfigSettings" stepKey="enablePersistentConfigSettings"/>
24-
<!-- Allow login during checkout-->
25-
<actionGroup ref="AdminEnableDisableLoginOnCheckoutActionGroup" stepKey="enableLoginInGuestCheckout">
26-
<argument name="enableDisableValue" value="1"/>
27-
</actionGroup>
23+
<magentoCLI stepKey="enablePersistentConfigSettings" command="config:set persistent/options/enabled 1"/>
2824
<!-- Step4: Create two simple products -->
2925
<createData entity="_defaultProduct" stepKey="createSimpleProductOne"></createData>
3026
<createData entity="_defaultProduct" stepKey="createSimpleProductTwo"></createData>
@@ -44,6 +40,7 @@
4440
<actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteRegisteredCustomer">
4541
<argument name="customerEmail" value="Simple_US_Customer_NY.email"/>
4642
</actionGroup>
43+
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearFilter"/>
4744
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogoutForCleanup"/>
4845
</after>
4946
<!-- Step 5: Go to storefront and register new customer -->

0 commit comments

Comments
 (0)