Skip to content

Commit 22b786b

Browse files
committed
Refactoring-AdminCreateInactiveFlatCategoryTest
1 parent 8fad53d commit 22b786b

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateInactiveFlatCategoryTest.xml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,34 +81,25 @@
8181
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForCategoryStoreFrontPageToLoad"/>
8282

8383
<!--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-
8884
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="selectStoreSwitcher"/>
8985
<actionGroup ref="StorefrontSwitchStoreViewActionGroup" stepKey="selectForstStoreView">
9086
<argument name="storeView" value="customStoreEN"/>
9187
</actionGroup>
9288
<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"/>-->
9589
<seeElement selector="{{StorefrontBundledSection.pageNotFound}}" stepKey="seeWhoopsOurBadMessage"/>
9690
<actionGroup ref="StorefrontAssertCategoryNameIsNotShownInMenuActionGroup" stepKey="dontSeeCategoryOnNavigation">
9791
<argument name="categoryName" value="$$createCategory.name$$"/>
9892
</actionGroup>
9993

10094
<!--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-
10595
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="selectStoreSwitcher1"/>
10696
<actionGroup ref="StorefrontSwitchStoreViewActionGroup" stepKey="selectSecondStoreView">
10797
<argument name="storeView" value="customStoreFR"/>
10898
</actionGroup>
10999
<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>
112103
<seeElement selector="{{StorefrontBundledSection.pageNotFound}}" stepKey="seeWhoopsOurBadMessage1"/>
113104
</test>
114105
</tests>

0 commit comments

Comments
 (0)