File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
CatalogInventory/Test/Mftf/Test
Catalog/Test/Mftf/Section Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313 <element name =" addToCartBtn" type =" button" selector =" button.action.tocart.primary" timeout =" 30" />
1414 <element name =" successMsg" type =" button" selector =" div.message-success" timeout =" 30" />
1515 <element name =" errorMsg" type =" button" selector =" div.message-error" timeout =" 30" />
16+ <element name =" errorMsgText" type =" button" selector =" div.message-error > div" timeout =" 30" />
1617 <element name =" alertMessage" type =" text" selector =" .page.messages [role=alert]" />
1718 <element name =" messagesBlock" type =" text" selector =" .page.messages" timeout =" 30" />
1819 <element name =" addToWishlist" type =" button" selector =" //a[@class='action towishlist']" timeout =" 30" />
Original file line number Diff line number Diff line change 1717 <severity value =" CRITICAL" />
1818 <testCaseId value =" AC-5262" />
1919 <group value =" cloud" />
20- <!-- Will be fixed in scope of ACQE-7385 -->
21- <group value =" pr_exclude" />
2220 </annotations >
23-
2421 <before >
2522 <!-- Set Enable Inventory Check On Cart Load = No -->
2623 <magentoCLI command =" config:set {{DisableInventoryCheckOnCartLoad.path}} {{DisableInventoryCheckOnCartLoad.value}}" stepKey =" disableCartLoad" />
4643 <magentoCLI command =" config:set {{EnableInventoryCheckOnCartLoad.path}} {{EnableInventoryCheckOnCartLoad.value}}" stepKey =" enableCartLoad" />
4744 <actionGroup ref =" AdminLogoutActionGroup" stepKey =" adminLogout" />
4845 </after >
46+ <!-- Mouse Hover Product On Category Page initial check-->
47+ <actionGroup ref =" StorefrontHoverProductOnCategoryPageActionGroup" stepKey =" hoverProductInitial" />
4948 <!-- Open New tab-->
5049 <openNewTab stepKey =" openNewTab" />
5150 <!-- Open Product From AdminPage-->
6665 <!-- Select Add to cart-->
6766 <waitForElementClickable selector =" {{StorefrontCategoryMainSection.AddToCartBtn}}" stepKey =" waitForAddToCartButton" />
6867 <click selector =" {{StorefrontCategoryMainSection.AddToCartBtn}}" stepKey =" toCategory" />
69- <waitForElementVisible selector =" {{StorefrontProductPageSection.errorMsg}}" stepKey =" wait" />
68+ <waitForPageLoad stepKey =" waitForPage" />
69+ <waitForElementVisible selector =" {{StorefrontProductPageSection.errorMsgText}}" stepKey =" wait" />
7070 <!-- Assert the Error Message-->
71- <see selector = " {{StorefrontProductPageSection.errorMsg}} " userInput =" Product that you are trying to add is not available." stepKey =" seeErrorMessage" />
71+ <waitForText userInput =" Product that you are trying to add is not available." selector = " {{StorefrontProductPageSection.errorMsgText}} " stepKey =" seeErrorMessage" />
7272 </test >
73-
7473</tests >
You can’t perform that action at this time.
0 commit comments