File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
app/code/Magento/Checkout/Test/Mftf Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 14
14
</arguments >
15
15
<waitForPageLoad stepKey =" waitForCheckoutShippingSectionToLoad" />
16
16
<fillField selector =" {{CheckoutShippingSection.email}}" userInput =" {{customer.email}}" stepKey =" fillEmailField" />
17
+ <waitForLoadingMaskToDisappear stepKey =" waitForLoadingMaskToDisappear" />
17
18
<waitForElementVisible selector =" {{CheckoutShippingSection.password}}" stepKey =" waitForElementVisible" />
18
19
<fillField selector =" {{CheckoutShippingSection.password}}" userInput =" {{customer.password}}" stepKey =" fillPasswordField" />
19
20
<waitForLoadingMaskToDisappear stepKey =" waitForLoadingMaskToDisappear2" />
20
- <click selector =" {{CheckoutShippingSection.loginButton}}" stepKey =" clickLoginBtn" />
21
- <waitForLoadingMaskToDisappear stepKey =" waitForLoadingMaskToDisappear " />
21
+ <doubleClick selector =" {{CheckoutShippingSection.loginButton}}" stepKey =" clickLoginBtn" />
22
+ <waitForLoadingMaskToDisappear stepKey =" waitForLoadingMaskToDisappear3 " />
22
23
<waitForPageLoad stepKey =" waitForLogin" />
23
24
</actionGroup >
24
25
</actionGroups >
Original file line number Diff line number Diff line change 57
57
<click selector =" {{CheckoutCartSummarySection.proceedToCheckout}}" stepKey =" clickProceedToCheckout" />
58
58
<waitForPageLoad stepKey =" waitForProceedToCheckout" />
59
59
60
+
61
+ <!-- Login as customer on checkout page -->
62
+ <actionGroup ref =" LoginAsCustomerOnCheckoutPageActionGroup" stepKey =" customerLogin" >
63
+ <argument name =" customer" value =" $createCustomer$" />
64
+ </actionGroup >
65
+
60
66
<!-- Fill customer address data -->
61
- <fillField selector =" {{CheckoutShippingSection.email}}" userInput =" $$createCustomer.email$$" stepKey =" fillEmailField" />
62
- <waitForElementVisible selector =" {{CheckoutShippingSection.password}}" stepKey =" waitForElementVisible" />
63
- <fillField selector =" {{CheckoutShippingSection.password}}" userInput =" $$createCustomer.password$$" stepKey =" fillPasswordField" />
64
- <click selector =" {{CheckoutShippingSection.loginButton}}" stepKey =" clickLoginBtn" />
65
- <waitForPageLoad stepKey =" waitForShippingPageLoad" />
66
67
<waitForElementVisible selector =" {{CheckoutShippingSection.shipHereButton(UK_Not_Default_Address.street[0])}}" stepKey =" waitForShipHereVisible" />
67
68
<!-- Change address -->
68
69
<click selector =" {{CheckoutShippingSection.shipHereButton(UK_Not_Default_Address.street[0])}}" stepKey =" clickShipHere" />
You can’t perform that action at this time.
0 commit comments