Skip to content

Commit a711e59

Browse files
committed
Merge remote-tracking branch 'origin/MC-39482' into 2.4-develop-pr112
2 parents 7c4e8cb + c79feeb commit a711e59

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1111
<test name="EndToEndB2CLoggedInUserTest">
1212
<before>
13+
<actionGroup ref="DeleteAllProductsUsingProductGridActionGroup" after="loginAsAdmin" stepKey="deleteAllProducts"/>
14+
1315
<createData entity="ApiCategory" stepKey="createCategory"/>
1416

1517
<createData entity="ApiSimpleProduct" stepKey="createSimpleProduct1">

app/code/Magento/Customer/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
</annotations>
2222
<before>
2323
<resetCookie userInput="PHPSESSID" stepKey="resetCookieForCart"/>
24+
<actionGroup ref="AdminLoginActionGroup" after="resetCookieForCart" stepKey="loginAsAdmin"/>
2425
</before>
2526
<after>
2627
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer"/>
27-
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
28+
<comment userInput="No need this since it done in before section" stepKey="loginAsAdmin"/>
2829
<actionGroup ref="DeleteCustomerFromAdminActionGroup" stepKey="deleteCustomerFromAdmin"/>
2930
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearProductsGridFilters"/>
3031
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/>

app/code/Magento/SalesRule/Test/Mftf/Test/EndToEndB2CLoggedInUserTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1111
<test name="EndToEndB2CLoggedInUserTest">
1212
<before>
13+
<actionGroup ref="AdminCartPriceRuleDeleteAllActionGroup" after="loginAsAdmin" stepKey="deleteCartPriceRule"/>
1314
<createData entity="ApiSalesRule" stepKey="createSalesRule"/>
1415
<createData entity="ApiSalesRuleCoupon" stepKey="createSalesRuleCoupon">
1516
<requiredEntity createDataKey="createSalesRule"/>

0 commit comments

Comments
 (0)