File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 43
43
<waitForPageLoad time =" 30" stepKey =" waitForProductsGridPageLoad" />
44
44
<click selector =" {{AdminProductGridActionSection.addProductToggle}}" stepKey =" clickAddProductDropdown" />
45
45
<click selector =" {{AdminProductGridActionSection.addSimpleProduct}}" stepKey =" clickAddSimpleProduct" />
46
+ <!-- Need to wait because fields are loaded a little bit later then it starts to fill them -->
47
+ <waitForElementVisible selector =" {{AdminProductFormSection.productName}}" stepKey =" waitForNameFieldVisible" />
46
48
<fillField userInput =" {{_defaultProduct.name}}" selector =" {{AdminProductFormSection.productName}}" stepKey =" fillProductName" />
47
49
<fillField userInput =" {{_defaultProduct.sku}}" selector =" {{AdminProductFormSection.productSku}}" stepKey =" fillProductSKU" />
48
50
<fillField userInput =" {{_defaultProduct.price}}" selector =" {{AdminProductFormSection.productPrice}}" stepKey =" fillProductPrice" />
56
58
<seeElement selector =" {{AdminProductMessagesSection.successMessage}}" stepKey =" seeSaveProductMessage" />
57
59
58
60
<!-- switch to the second store view -->
61
+ <scrollToTopOfPage stepKey =" scrollToPageTopToSeeStoreSwitcher" />
59
62
<click selector =" {{AdminProductFormActionSection.changeStoreButton}}" stepKey =" clickStoreviewSwitcher" />
60
63
<click selector =" {{AdminProductFormActionSection.selectStoreView('Second Store View')}}" stepKey =" chooseStoreView" />
61
64
<click selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" acceptStoreSwitchingMessage" />
You can’t perform that action at this time.
0 commit comments