|
10 | 10 | xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
|
11 | 11 | <test name="AdminMultipleWebsitesUseDefaultValuesTest">
|
12 | 12 | <annotations>
|
| 13 | + <features value="Catalog"/> |
13 | 14 | <title value="Use Default Value checkboxes should be checked for new website scope"/>
|
14 | 15 | <description value="Use Default Value checkboxes for product attribute should be checked for new website scope"/>
|
15 | 16 | <severity value="MAJOR"/>
|
|
18 | 19 | </annotations>
|
19 | 20 | <after>
|
20 | 21 | <actionGroup ref="AdminDeleteWebsiteActionGroup" stepKey="deleteSecondWebsite">
|
21 |
| - <argument name="websiteName" value="Second Website"/> |
| 22 | + <argument name="websiteName" value="Second Website"/> |
22 | 23 | </actionGroup>
|
23 | 24 | <amOnPage url="admin/admin/auth/logout/" stepKey="amOnLogoutPage"/>
|
24 | 25 | </after>
|
|
35 | 36 |
|
36 | 37 | <!--Create Store view -->
|
37 | 38 | <amOnPage url="{{AdminSystemStorePage.url}}" stepKey="amOnAdminSystemStorePage"/>
|
| 39 | + <waitForPageLoad stepKey="waitForSystemStorePage"/> |
38 | 40 | <click selector="{{AdminStoresMainActionsSection.createStoreViewButton}}" stepKey="createStoreViewButton"/>
|
39 | 41 | <waitForPageLoad stepKey="waitForProductPageLoad"/>
|
40 | 42 | <selectOption userInput="Second Store" selector="{{AdminNewStoreSection.storeGrpDropdown}}" stepKey="selectStoreGroup"/>
|
|
49 | 51 |
|
50 | 52 | <!--Create a Simple Product -->
|
51 | 53 | <amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToCatalogProductGrid"/>
|
| 54 | + <waitForPageLoad stepKey="waitForProductGrid"/> |
52 | 55 | <click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickAddProductDropdown"/>
|
53 | 56 | <click selector="{{AdminProductGridActionSection.addSimpleProduct}}" stepKey="clickAddSimpleProduct"/>
|
54 | 57 | <fillField userInput="{{_defaultProduct.name}}" selector="{{AdminProductFormSection.productName}}" stepKey="fillProductName"/>
|
|
67 | 70 | <click selector="{{AdminProductFormActionSection.changeStoreButton}}" stepKey="clickStoreviewSwitcher"/>
|
68 | 71 | <click selector="{{AdminProductFormActionSection.selectStoreView('Second Store View')}}" stepKey="chooseStoreView"/>
|
69 | 72 | <click selector="{{AdminConfirmationModalSection.ok}}" stepKey="acceptStoreSwitchingMessage"/>
|
70 |
| - <!--<waitForPageLoad stepKey="waitForStoreViewSwitched"/>--> |
71 | 73 | <waitForPageLoad time="30" stepKey="waitForPageLoad9"/>
|
72 | 74 | <see userInput="Second Store View" selector="{{AdminMainActionsSection.storeSwitcher}}" stepKey="seeNewStoreViewName"/>
|
73 | 75 |
|
|
0 commit comments