File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
app/code/Magento/Paypal/Test/Mftf Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 21
21
<waitForElementClickable selector =" {{PayPalPaymentSection.email}}" stepKey =" waitForLoginForm" />
22
22
<click selector =" {{PayPalPaymentSection.email}}" stepKey =" focusOnEmailField" />
23
23
<clearField selector =" {{PayPalPaymentSection.email}}" stepKey =" clearEmailField" />
24
- <waitForElementVisible selector =" {{PayPalPaymentSection.email}}" stepKey =" waitForLoginField" />
25
24
<fillField selector =" {{PayPalPaymentSection.email}}" userInput =" {{credentials.magento/PAYPAL_LOGIN}}" stepKey =" fillEmail" />
26
25
<click selector =" {{PayPalPaymentSection.nextButton}}" stepKey =" clickNext" />
27
26
<waitForElementVisible selector =" {{PayPalPaymentSection.password}}" stepKey =" waitForPasswordField" />
Original file line number Diff line number Diff line change 20
20
</annotations >
21
21
<before >
22
22
<actionGroup ref =" AdminLoginActionGroup" stepKey =" login" />
23
- <!-- Enable Flat rate -->
24
- <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
25
23
<!-- Create Category -->
26
24
<createData entity =" SimpleSubCategory" stepKey =" createCategory" />
27
25
<createData entity =" ApiSimplePrice10Qty10" stepKey =" createProduct" >
96
94
<waitForPageLoad stepKey =" waitForPagePlacingOrderSuccessfully" />
97
95
<!-- See success messages-->
98
96
<waitForElementVisible selector =" {{CheckoutSuccessMainSection.successTitle}}" stepKey =" waitForSuccessTitle" />
99
- <see selector =" {{CheckoutSuccessMainSection.successTitle}}" userInput =" Thank you for your purchase!" stepKey =" seeSuccessTitle" />
100
- <see selector =" {{CheckoutSuccessMainSection.orderNumberText}}" userInput =" Your order number is: " stepKey =" seeOrderNumber" />
97
+ <waitForText selector =" {{CheckoutSuccessMainSection.successTitle}}" userInput =" Thank you for your purchase!" stepKey =" seeSuccessTitle" />
98
+ <waitForText selector =" {{CheckoutSuccessMainSection.orderNumberText}}" userInput =" Your order number is: " stepKey =" seeOrderNumber" />
101
99
<waitForElementVisible selector =" {{CheckoutSuccessMainSection.orderNumber22}}" stepKey =" waitForOrderNumberToBeGrabbed" />
102
100
<grabTextFrom selector =" {{CheckoutSuccessMainSection.orderNumber22}}" stepKey =" grabOrderNumber" />
103
101
<!-- Go to order page -->
You can’t perform that action at this time.
0 commit comments