File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
app/code/Magento/Catalog/Test/Mftf Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1616 <argument name =" categoryName" type =" string" />
1717 </arguments >
1818
19+ <waitForElementVisible selector =" {{StorefrontHeaderSection.NavigationCategoryByName(categoryName)}}" stepKey =" waitForCatName" time =" 120" />
1920 <seeElement selector =" {{StorefrontHeaderSection.NavigationCategoryByName(categoryName)}}"
2021 stepKey =" seeCatergoryInStoreFront" />
2122 </actionGroup >
Original file line number Diff line number Diff line change 4242 <click selector =" {{StorefrontHeaderSection.mobileMenuToggle}}" stepKey =" openSideMenu" />
4343 <waitForElementClickable selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createParentCategory.name$$)}}" stepKey =" waitForCategoryMenuClickable" />
4444 <click selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createParentCategory.name$$)}}" stepKey =" expandCategoryMenu" />
45- <waitForPageLoad stepKey =" waitForSearchResult" />
45+ <waitForPageLoad stepKey =" waitForSearchResult" time = " 60 " />
4646
4747 <!-- Assert the category expanded successfully -->
4848 <actionGroup ref =" StorefrontAssertCategoryNameIsShownInMenuActionGroup" stepKey =" verifySubCatMenuItemIsVisibleInTheSidebar" >
4949 <argument name =" categoryName" value =" $$createSubCategory.name$$" />
5050 </actionGroup >
5151
5252 <!-- Open the subcategory and assert it opened successfully -->
53+ <waitForElementClickable selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createSubCategory.name$$)}}" stepKey =" waitForSubCategory" time =" 90" />
5354 <click selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createSubCategory.name$$)}}" stepKey =" openSubCategory" />
55+ <waitForElementVisible selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" stepKey =" waitForCategoryName" time =" 90" />
5456 <see userInput =" $$createSubCategory.name$$" selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" stepKey =" assertCategoryName" />
5557 </test >
5658</tests >
You can’t perform that action at this time.
0 commit comments