Skip to content

Commit a3939e4

Browse files
committed
B2B-2127: [AWS S3] Test Failed to fill captcha field
- Added changes as per review
1 parent 227dc8d commit a3939e4

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

app/code/Magento/Captcha/Test/Mftf/ActionGroup/StorefrontCheckoutPaymentsWithCaptchaActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
</arguments>
1515

1616
<fillField selector="{{StorefrontCaptchaOnOnepageCheckoutPyamentSection.captchaField}}" userInput="{{captcha}}" stepKey="fillCaptchaField" />
17+
<waitForPageLoad stepKey="waitForPageLoad"/>
1718
</actionGroup>
1819
</actionGroups>

app/code/Magento/Customer/Test/Mftf/ActionGroup/LoginToStorefrontActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</arguments>
1818

1919
<amOnPage url="{{StorefrontCustomerSignInPage.url}}" stepKey="amOnSignInPage"/>
20-
<waitForPageLoad time="60" stepKey="waitPageFullyLoaded"/>
20+
<waitForPageLoad time="30" stepKey="waitPageFullyLoaded"/>
2121
<waitForElementVisible selector="{{StorefrontCustomerSignInFormSection.emailField}}" stepKey="waitFormAppears"/>
2222
<fillField userInput="{{Customer.email}}" selector="{{StorefrontCustomerSignInFormSection.emailField}}" stepKey="fillEmail"/>
2323
<fillField userInput="{{Customer.password}}" selector="{{StorefrontCustomerSignInFormSection.passwordField}}" stepKey="fillPassword"/>

app/code/Magento/Paypal/Test/Mftf/ActionGroup/StorefrontPaypalFillCardDataActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
<fillField selector="{{StorefrontPaypalCheckoutSection.verificationNumber}}" userInput="{{cardData.cvv}}" stepKey="setVerificationNumber"/>
2121
<selectOption selector="{{StorefrontPaypalCheckoutSection.expirationMonth}}" userInput="{{cardData.month}}" stepKey="setMonth"/>
2222
<selectOption selector="{{StorefrontPaypalCheckoutSection.expirationYear}}" userInput="{{cardData.year}}" stepKey="setYear"/>
23+
<waitForPageLoad stepKey="waitForPageLoad"/>
2324
</actionGroup>
2425
</actionGroups>

app/code/Magento/PaypalCaptcha/Test/Mftf/Test/StorefrontPaymentsCaptchaWithPayflowProTest.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,11 @@
7979
<argument name="cardData" value="Visa3DSecureCard"/>
8080
</actionGroup>
8181

82-
<waitForPageLoad stepKey="waitForPageLoad"/>
83-
8482
<!-- Enter captcha value -->
8583
<actionGroup ref="StorefrontCheckoutPaymentsWithCaptchaActionGroup" stepKey="fillCaptchaField">
8684
<argument name="captcha" value="{{PreconfiguredCaptcha.value}}"/>
8785
</actionGroup>
8886

89-
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear"/>
90-
9187
<!-- Place order -->
9288
<actionGroup ref="ClickPlaceOrderActionGroup" stepKey="clickPlacePurchaseOrder"/>
9389
<grabTextFrom selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="grabOrderNumber"/>

0 commit comments

Comments
 (0)