File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
CatalogInventory/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 42
42
<click selector =" {{StorefrontHeaderSection.mobileMenuToggle}}" stepKey =" openSideMenu" />
43
43
<waitForElementClickable selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createParentCategory.name$$)}}" stepKey =" waitForCategoryMenuClickable" />
44
44
<click selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createParentCategory.name$$)}}" stepKey =" expandCategoryMenu" />
45
- <waitForPageLoad stepKey =" waitForSearchResult" />
46
45
47
46
<!-- Assert the category expanded successfully -->
48
47
<actionGroup ref =" StorefrontAssertCategoryNameIsShownInMenuActionGroup" stepKey =" verifySubCatMenuItemIsVisibleInTheSidebar" >
Original file line number Diff line number Diff line change 11
11
<test name =" StoreFrontAddOutOfStockProductToShoppingCartTest" >
12
12
<annotations >
13
13
<features value =" [Disabled Inventory Check] Add Out of Stock Product to the Shopping Cart" />
14
- <stories value =" [Disabled Inventory Check] Add Out of Stock Product to the Shopping Cart. " />
14
+ <stories value =" [Disabled Inventory Check] Add Out of Stock Product to the Shopping Cart" />
15
15
<title value =" Checking Add Out of Stock Products to the Shopping Cart" />
16
16
<description value =" Placing the order for out of stock products and zero quantity" />
17
17
<severity value =" CRITICAL" />
62
62
<!-- Mouse Hover Product On Category Page-->
63
63
<actionGroup ref =" StorefrontHoverProductOnCategoryPageActionGroup" stepKey =" hoverProduct" />
64
64
<!-- Select Add to cart-->
65
+ <waitForElementVisible selector =" {{StorefrontCategoryMainSection.addToCartProductBySku($$simpleProductOne.sku$$)}}" stepKey =" waitForAddToCartButton" />
65
66
<click selector =" {{StorefrontCategoryMainSection.addToCartProductBySku($$simpleProductOne.sku$$)}}" stepKey =" toCategory" />
66
67
<waitForElementVisible selector =" {{StorefrontProductPageSection.errorMsg}}" stepKey =" wait" />
67
68
<!-- Assert the Error Message-->
You can’t perform that action at this time.
0 commit comments