Skip to content

Commit f073cd5

Browse files
ACQE-7264: AdminConfigPaymentsStandardTest
MFTF test fix
1 parent 96dec49 commit f073cd5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/AdminConfigPaymentsStandardTest.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
<createData entity="SimpleProduct" stepKey="simpleProduct">
2424
<requiredEntity createDataKey="simpleCategory"/>
2525
</createData>
26+
<!-- Create customer -->
27+
<createData entity="Simple_US_Customer_NY" stepKey="customer"/>
2628
<!-- Login -->
2729
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2830
<!--Config PayPal Standard-->
@@ -46,7 +48,9 @@
4648
<argument name="tags" value="config full_page"/>
4749
</actionGroup>
4850
<!--Navigate to Storefront-->
49-
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStoreFront"/>
51+
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="goToStoreFront">
52+
<argument name="Customer" value="$customer$"/>
53+
</actionGroup>
5054
<actionGroup ref="AssertStorefrontPaypalPaylaterActionGroup" stepKey="verifyPaylaterInStorefrontCategoryPage"/>
5155
<!--Disable Paypal Standard-->
5256
<magentoCLI command="config:set {{DisablePaypalPayStandard.path}} {{DisablePaypalPayStandard.value}}" stepKey="disablePayPalStandard"/>

0 commit comments

Comments
 (0)