|
32 | 32 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
|
33 | 33 | </after>
|
34 | 34 |
|
35 |
| - <!--Open Store Page --> |
36 |
| - <amOnPage url="{{AdminSystemStorePage.url}}" stepKey="amOnAdminSystemStorePage"/> |
37 |
| - <waitForPageLoad stepKey="waitForSystemStorePage"/> |
| 35 | + <!--<!–Open Store Page –>--> |
| 36 | + <!--<amOnPage url="{{AdminSystemStorePage.url}}" stepKey="amOnAdminSystemStorePage"/>--> |
| 37 | + <!--<waitForPageLoad stepKey="waitForSystemStorePage"/>--> |
38 | 38 |
|
39 |
| - <!--Create Custom Store --> |
40 |
| - <click selector="{{AdminStoresMainActionsSection.createStoreButton}}" stepKey="selectCreateStore"/> |
41 |
| - <fillField userInput="{{customStore.name}}" selector="{{AdminNewStoreGroupSection.storeGrpNameTextField}}" stepKey="fillStoreName"/> |
42 |
| - <fillField userInput="{{customStore.code}}" selector="{{AdminNewStoreGroupSection.storeGrpCodeTextField}}" stepKey="fillStoreCode"/> |
43 |
| - <selectOption userInput="{{NewRootCategory.name}}" selector="{{AdminNewStoreGroupSection.storeRootCategoryDropdown}}" stepKey="selectStoreStatus"/> |
44 |
| - <click selector="{{AdminStoresMainActionsSection.saveButton}}" stepKey="clickSaveStoreButton"/> |
| 39 | + <!--<!–Create Custom Store –>--> |
| 40 | + <!--<click selector="{{AdminStoresMainActionsSection.createStoreButton}}" stepKey="selectCreateStore"/>--> |
| 41 | + <!--<fillField userInput="{{customStore.name}}" selector="{{AdminNewStoreGroupSection.storeGrpNameTextField}}" stepKey="fillStoreName"/>--> |
| 42 | + <!--<fillField userInput="{{customStore.code}}" selector="{{AdminNewStoreGroupSection.storeGrpCodeTextField}}" stepKey="fillStoreCode"/>--> |
| 43 | + <!--<selectOption userInput="{{NewRootCategory.name}}" selector="{{AdminNewStoreGroupSection.storeRootCategoryDropdown}}" stepKey="selectStoreStatus"/>--> |
| 44 | + <!--<click selector="{{AdminStoresMainActionsSection.saveButton}}" stepKey="clickSaveStoreButton"/>--> |
| 45 | + |
| 46 | + <actionGroup ref="CreateCustomStoreActionGroup" stepKey="createCustomStore"> |
| 47 | + <argument name="website" value="{{_defaultWebsite.name}}"/> |
| 48 | + <argument name="store" value="{{customStore.name}}"/> |
| 49 | + <argument name="rootCategory" value="$$rootCategory.name$$"/> |
| 50 | + </actionGroup> |
45 | 51 |
|
46 | 52 | <!--Create Store View-->
|
47 | 53 | <actionGroup ref="AdminCreateStoreViewActionGroup" stepKey="createStoreView">
|
|
50 | 56 | </actionGroup>
|
51 | 57 |
|
52 | 58 | <!--Verify Category in Store View-->
|
53 |
| - <amOnPage url="/{{NewRootCategory.name}}/{{SimpleRootSubCategory.name}}.html" stepKey="seeTheCategoryInStoreFront"/> |
54 |
| - <waitForPageLoad stepKey="waitForSystemStorePage1"/> |
55 |
| - <click selector="{{StorefrontFooterSection.switchStoreButton}}" stepKey="ClickSwitchStoreButtonOnDefaultStore"/> |
56 |
| - <click selector="{{StorefrontFooterSection.storeLink(customStore.name)}}" stepKey="SelectSecondStoreToSwitchOn"/> |
57 |
| - <seeElement selector="{{StorefrontHeaderSection.NavigationCategoryByName(SimpleRootSubCategory.name)}}" stepKey="seeCatergoryInStoreFront"/> |
58 |
| - <click selector="{{StorefrontHeaderSection.NavigationCategoryByName(SimpleRootSubCategory.name)}}" stepKey="selectCategory"/> |
59 |
| - <waitForPageLoad stepKey="waitForProductToLoad"/> |
| 59 | + <!--<amOnPage url="/{{NewRootCategory.name}}/{{SimpleRootSubCategory.name}}.html" stepKey="seeTheCategoryInStoreFront"/>--> |
| 60 | + <!--<waitForPageLoad stepKey="waitForSystemStorePage1"/>--> |
| 61 | + <!--<click selector="{{StorefrontFooterSection.switchStoreButton}}" stepKey="ClickSwitchStoreButtonOnDefaultStore"/>--> |
| 62 | + <!--<click selector="{{StorefrontFooterSection.storeLink(customStore.name)}}" stepKey="SelectSecondStoreToSwitchOn"/>--> |
| 63 | + <!--<seeElement selector="{{StorefrontHeaderSection.NavigationCategoryByName(SimpleRootSubCategory.name)}}" stepKey="seeCatergoryInStoreFront"/>--> |
| 64 | + <!--<click selector="{{StorefrontHeaderSection.NavigationCategoryByName(SimpleRootSubCategory.name)}}" stepKey="selectCategory"/>--> |
| 65 | + <!--<waitForPageLoad stepKey="waitForProductToLoad"/>--> |
| 66 | + |
| 67 | + <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToHomepage"/> |
| 68 | + <actionGroup ref="StorefrontSwitchStoreActionGroup" stepKey="switchCustomStore"> |
| 69 | + <argument name="storeName" value="{{customStore.name}}"/> |
| 70 | + </actionGroup> |
| 71 | + <actionGroup ref="StorefrontAssertCategoryNameIsShownInMenuActionGroup" stepKey="seeCatergoryInStoreFront"> |
| 72 | + <argument name="categoryName" value="{{SimpleRootSubCategory.name}}"/> |
| 73 | + </actionGroup> |
| 74 | + <actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="selectCategory"> |
| 75 | + <argument name="categoryName" value="$$category.name$$"/> |
| 76 | + </actionGroup> |
60 | 77 |
|
61 | 78 | <!--Update URL Key-->
|
62 | 79 | <actionGroup ref="AdminOpenCategoryPageActionGroup" stepKey="openAdminCategoryIndexPage"/>
|
|
0 commit comments