|
81 | 81 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForCategoryStoreFrontPageToLoad"/>
|
82 | 82 |
|
83 | 83 | <!--Verify category is not visible in First Store View -->
|
84 |
| - <!--<click stepKey="selectStoreSwitcher" selector="{{StorefrontHeaderSection.storeViewSwitcher}}"/>--> |
85 |
| - <!--<click stepKey="selectForstStoreView" selector="{{StorefrontHeaderSection.storeViewList(customStoreEN.name)}}"/>--> |
86 |
| - <!--<waitForPageLoad stepKey="waitForFirstStoreView"/>--> |
87 |
| - |
88 | 84 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="selectStoreSwitcher"/>
|
89 | 85 | <actionGroup ref="StorefrontSwitchStoreViewActionGroup" stepKey="selectForstStoreView">
|
90 | 86 | <argument name="storeView" value="customStoreEN"/>
|
91 | 87 | </actionGroup>
|
92 | 88 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForFirstStoreView"/>
|
93 |
| - |
94 |
| - <!--<dontSeeElement selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="dontSeeCategoryOnNavigation"/>--> |
95 | 89 | <seeElement selector="{{StorefrontBundledSection.pageNotFound}}" stepKey="seeWhoopsOurBadMessage"/>
|
96 | 90 | <actionGroup ref="StorefrontAssertCategoryNameIsNotShownInMenuActionGroup" stepKey="dontSeeCategoryOnNavigation">
|
97 | 91 | <argument name="categoryName" value="$$createCategory.name$$"/>
|
98 | 92 | </actionGroup>
|
99 | 93 |
|
100 | 94 | <!--Verify category is not visible in Second Store View -->
|
101 |
| - <!--<click stepKey="selectStoreSwitcher1" selector="{{StorefrontHeaderSection.storeViewSwitcher}}"/>--> |
102 |
| - <!--<click stepKey="selectSecondStoreView" selector="{{StorefrontHeaderSection.storeViewList(customStoreFR.name)}}"/>--> |
103 |
| - <!--<waitForPageLoad stepKey="waitForSecondstoreView"/>--> |
104 |
| - |
105 | 95 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="selectStoreSwitcher1"/>
|
106 | 96 | <actionGroup ref="StorefrontSwitchStoreViewActionGroup" stepKey="selectSecondStoreView">
|
107 | 97 | <argument name="storeView" value="customStoreFR"/>
|
108 | 98 | </actionGroup>
|
109 | 99 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForSecondstoreView"/>
|
110 |
| - |
111 |
| - <dontSeeElement selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="dontSeeCategoryOnNavigation1"/> |
| 100 | + <actionGroup ref="StorefrontAssertCategoryNameIsNotShownInMenuActionGroup" stepKey="dontSeeCategoryOnNavigation1"> |
| 101 | + <argument name="categoryName" value="$$createCategory.name$$"/> |
| 102 | + </actionGroup> |
112 | 103 | <seeElement selector="{{StorefrontBundledSection.pageNotFound}}" stepKey="seeWhoopsOurBadMessage1"/>
|
113 | 104 | </test>
|
114 | 105 | </tests>
|
0 commit comments