File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Customer/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
<arguments >
16
16
<argument name =" productName" type =" string" />
17
17
</arguments >
18
-
18
+
19
19
<waitForElementVisible selector =" {{AdminCustomerShoppingCartProductItemSection.productItem}}" stepKey =" waitForElementVisible" />
20
20
<click selector =" {{AdminCustomerShoppingCartProductItemSection.productItem}}" stepKey =" expandProductItem" />
21
21
<waitForElementVisible selector =" {{AdminCustomerShoppingCartProductItemSection.productNameFilter}}" stepKey =" waitForProductFilterFieldVisible" />
22
22
<fillField selector =" {{AdminCustomerShoppingCartProductItemSection.productNameFilter}}" stepKey =" setProductName" userInput =" {{productName}}" />
23
23
<click selector =" {{AdminCustomerShoppingCartProductItemSection.searchButton}}" stepKey =" clickSearchButton" />
24
- <waitForAjaxLoad stepKey =" waitForAjax" />
24
+ <waitForPageLoad stepKey =" waitForAjax" />
25
25
<waitForElementVisible selector =" {{AdminCustomerShoppingCartProductItemSection.firstProductCheckbox}}" stepKey =" waitForElementCheckboxVisible" />
26
26
<click selector =" {{AdminCustomerShoppingCartProductItemSection.firstProductCheckbox}}" stepKey =" selectFirstCheckbox" />
27
27
<click selector =" {{AdminCustomerShoppingCartProductItemSection.addSelectionsToMyCartButton}}" stepKey =" clickAddSelectionsToMyCartButton" after =" selectFirstCheckbox" />
28
- <waitForAjaxLoad stepKey =" waitForAjax2" />
29
- <seeElement stepKey =" seeAddedProduct" selector =" {{AdminCustomerShoppingCartProductItemSection.addedProductName('productName')}}" />
28
+ <waitForPageLoad stepKey =" waitForAjax2" />
29
+ <waitForElementVisible stepKey =" seeAddedProduct" selector =" {{AdminCustomerShoppingCartProductItemSection.addedProductName('productName')}}" />
30
30
</actionGroup >
31
31
</actionGroups >
You can’t perform that action at this time.
0 commit comments