File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed
CatalogWidget/Test/Mftf/Test
Cms/Test/Mftf/ActionGroup
Wishlist/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 66
66
<seeElement selector =" {{StorefrontCategoryMainSection.productPriceByName($createFirstSimpleProduct.name$)}}" stepKey =" assertProductPrice" />
67
67
<moveMouseOver selector =" {{StorefrontCategoryProductSection.ProductInfoByName($createFirstSimpleProduct.name$)}}" stepKey =" hoverProduct" />
68
68
<actionGroup ref =" AssertStorefrontProductControlsAreVisibleOnHoverActionGroup" stepKey =" assertProductControlsAreVisibleOnHoverOnCmsPage" />
69
- <actionGroup ref =" AssertStorefrontAddToWishListIconIsClickableForGuestUserActionGroup" stepKey =" assertAddToWishListIconIsClickable" />
69
+ <actionGroup ref =" AssertStorefrontAddToWishListIconIsClickableForGuestUserActionGroup" stepKey =" assertAddToWishListIconIsClickable" >
70
+ <argument name =" productName" value =" $createFirstSimpleProduct.name$" />
71
+ </actionGroup >
70
72
<actionGroup ref =" StorefrontGoToCMSPageActionGroup" stepKey =" navigateAndOpenCreatedCmsPageToVerifyAddToCompareIconIsClickable" >
71
73
<argument name =" identifier" value =" $createCmsPage.identifier$" />
72
74
</actionGroup >
81
83
<seeElement selector =" {{StorefrontCategoryMainSection.productPriceByName($createFirstSimpleProduct.name$)}}" stepKey =" assertProductPriceOnCategoryPage" />
82
84
<moveMouseOver selector =" {{StorefrontCategoryProductSection.ProductInfoByName($createFirstSimpleProduct.name$)}}" stepKey =" hoverProductOnCategoryPage" />
83
85
<actionGroup ref =" AssertStorefrontProductControlsAreVisibleOnHoverActionGroup" stepKey =" assertProductControlsAreVisibleOnHoverOnCategoryPage" />
84
- <actionGroup ref =" AssertStorefrontAddToWishListIconIsClickableForGuestUserActionGroup" stepKey =" assertAddToWishListIconIsClickableOnCategoryPage" />
86
+ <actionGroup ref =" AssertStorefrontAddToWishListIconIsClickableForGuestUserActionGroup" stepKey =" assertAddToWishListIconIsClickableOnCategoryPage" >
87
+ <argument name =" productName" value =" $createFirstSimpleProduct.name$" />
88
+ </actionGroup >
85
89
<actionGroup ref =" StorefrontNavigateCategoryPageActionGroup" stepKey =" navigateCategoryCreatedInPreconditionsToVerifyAddToCompareIconIsClickable" >
86
90
<argument name =" category" value =" $createCategory$" />
87
91
</actionGroup >
Original file line number Diff line number Diff line change 19
19
<waitForElementVisible selector =" {{CmsNewPagePageActionsSection.insertWidget}}" stepKey =" waitForInsertWidgetElementVisible" />
20
20
<click selector =" {{CmsNewPagePageActionsSection.insertWidget}}" stepKey =" clickOnInsertWidgetButton" />
21
21
<waitForPageLoad stepKey =" waitForPageLoadAfterClickOnInsertWidgetButton" />
22
- <waitForElementVisible selector =" {{WidgetSection.InsertWidgetTitle}}" stepKey =" waitForInsertWidgetTitle" />
22
+ <waitForElementVisible selector =" {{WidgetSection.InsertWidgetTitle}}" stepKey =" waitForInsertWidgetTitle" />
23
23
<selectOption selector =" {{WidgetSection.WidgetType}}" userInput =" {{widgetType}}" stepKey =" selectWidgetType" />
24
24
</actionGroup >
25
25
</actionGroups >
Original file line number Diff line number Diff line change 13
13
<description >Assert "Add to Wish List" icon is clickable in category product listing</description >
14
14
</annotations >
15
15
16
- <moveMouseOver selector =" {{StorefrontCategoryMainSection.ProductItemInfo}}" stepKey =" hoverProduct" />
16
+ <arguments >
17
+ <argument name =" productName" type =" string" />
18
+ </arguments >
19
+ <moveMouseOver selector =" {{StorefrontCategoryMainSection.specifiedProductItemInfo(productName)}}" stepKey =" hoverProduct" />
17
20
<click selector =" {{StorefrontCategoryMainSection.addToWishListIconProductInfoHover}}" stepKey =" clickOnAddToWishListIcon" />
18
- <waitForElementVisible selector =" {{StorefrontCustomerLoginMessagesSection.errorMessage }}" stepKey =" waitForErrorMessageIsVisible" />
19
- <see selector =" {{StorefrontCustomerLoginMessagesSection.errorMessage }}" userInput =" You must login or register to add items to your wishlist." stepKey =" assertErrorMessage" />
21
+ <waitForElementVisible selector =" {{StorefrontMessagesSection.error }}" stepKey =" waitForErrorMessageIsVisible" />
22
+ <see selector =" {{StorefrontMessagesSection.error }}" userInput =" You must login or register to add items to your wishlist." stepKey =" assertErrorMessage" />
20
23
<seeInCurrentUrl url =" {{StorefrontCustomerSignInPage.url}}" stepKey =" assertCustomerLoginPageUrl" />
21
24
</actionGroup >
22
25
</actionGroups >
You can’t perform that action at this time.
0 commit comments