Skip to content

Commit 81a20bf

Browse files
committed
ACQE-6574 | [MFTF TESTS] StorefrontGuestAsyncCheckoutTest
Added waitForElementVisible before fillField
1 parent 1bafc57 commit 81a20bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/Sales/Test/Mftf/ActionGroup/StorefrontFillOrdersAndReturnsFormActionGroup.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@
1313
<argument name="orderNumber" type="string"/>
1414
<argument name="customer" type="entity"/>
1515
</arguments>
16+
<waitForElementVisible selector="{{StorefrontGuestOrderSearchSection.orderId}}" stepKey="waitForElementInputOrderId"/>
1617
<fillField selector="{{StorefrontGuestOrderSearchSection.orderId}}" userInput="{{orderNumber}}" stepKey="inputOrderId"/>
18+
<waitForElementVisible selector="{{StorefrontGuestOrderSearchSection.billingLastName}}" stepKey="waitForElementInputBillingLastName"/>
1719
<fillField selector="{{StorefrontGuestOrderSearchSection.billingLastName}}" userInput="{{customer.lastname}}" stepKey="inputBillingLastName"/>
20+
<waitForElementVisible selector="{{StorefrontGuestOrderSearchSection.findOrderBy}}" stepKey="waitForElementselectFindOrderByEmailToBeVisible"/>
1821
<selectOption selector="{{StorefrontGuestOrderSearchSection.findOrderBy}}" userInput="email" stepKey="selectFindOrderByEmail"/>
22+
<waitForElementVisible selector="{{StorefrontGuestOrderSearchSection.email}}" stepKey="waitForElementInputEmail"/>
1923
<fillField selector="{{StorefrontGuestOrderSearchSection.email}}" userInput="{{customer.email}}" stepKey="inputEmail"/>
2024
</actionGroup>
21-
</actionGroups>
25+
</actionGroups>

0 commit comments

Comments
 (0)