File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
app/code/Magento/Paypal/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 23
23
<createData entity =" SimpleProduct" stepKey =" simpleProduct" >
24
24
<requiredEntity createDataKey =" simpleCategory" />
25
25
</createData >
26
+ <!-- Create customer -->
27
+ <createData entity =" Simple_US_Customer" stepKey =" createCustomer" />
26
28
<!-- Login -->
27
29
<actionGroup ref =" AdminLoginActionGroup" stepKey =" login" />
28
30
<!-- Config PayPal Standard-->
34
36
<after >
35
37
<deleteData createDataKey =" simpleProduct" stepKey =" deleteProduct" />
36
38
<deleteData createDataKey =" simpleCategory" stepKey =" deleteCategory" />
39
+ <deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
37
40
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
38
41
</after >
39
42
<actionGroup ref =" AdminEnablePaypalStandardPaylaterActionGroup" stepKey =" enablePaypalStandard" />
46
49
<argument name =" tags" value =" config full_page" />
47
50
</actionGroup >
48
51
<!-- Navigate to Storefront-->
49
- <actionGroup ref =" StorefrontOpenHomePageActionGroup" stepKey =" goToStoreFront" />
52
+ <actionGroup ref =" LoginToStorefrontActionGroup" stepKey =" goToStoreFront" >
53
+ <argument name =" Customer" value =" $createCustomer$" />
54
+ </actionGroup >
50
55
<actionGroup ref =" AssertStorefrontPaypalPaylaterActionGroup" stepKey =" verifyPaylaterInStorefrontCategoryPage" />
51
56
<!-- Disable Paypal Standard-->
52
57
<magentoCLI command =" config:set {{DisablePaypalPayStandard.path}} {{DisablePaypalPayStandard.value}}" stepKey =" disablePayPalStandard" />
You can’t perform that action at this time.
0 commit comments