File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Cms/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 77-->
88<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
99 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10- <actionGroup name =" AssertStorefrontTextOnCmsPageActionGroup " >
10+ <actionGroup name =" AssertStorefrontProductIsShownOnCmsPageActionGroup " >
1111 <arguments >
1212 <argument name =" cmsTitle" type =" string" />
13- <argument name =" cmsContent " type =" string" />
13+ <argument name =" productName " type =" string" defaultValue = " {{_defaultProduct.name}} " />
1414 </arguments >
15+
1516 <seeInTitle userInput =" {{cmsTitle}}" stepKey =" seePageTitle" />
16- <see userInput =" {{cmsContent }}" stepKey =" seePageContent " />
17+ <see selector = " {{StorefrontCategoryMainSection.ProductItemInfo}} " userInput =" {{productName }}" stepKey =" seeProductName " />
1718 </actionGroup >
1819</actionGroups >
Original file line number Diff line number Diff line change 7171 <switchToNextTab stepKey =" switchToNextTab" />
7272 <waitForPageLoad stepKey =" waitForCMSPage" />
7373 <comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" seePageTitle" />
74- <actionGroup ref =" AssertStorefrontTextOnCmsPageActionGroup " stepKey =" seeProduct" >
74+ <actionGroup ref =" AssertStorefrontProductIsShownOnCmsPageActionGroup " stepKey =" seeProduct" >
7575 <argument name =" cmsTitle" value =" {{_newDefaultCmsPage.title}}" />
76- <argument name =" cmsContent " value =" $$createSimpleProduct.name$$" />
76+ <argument name =" productName " value =" $$createSimpleProduct.name$$" />
7777 </actionGroup >
7878 <closeTab stepKey =" closeCurrentTab" />
7979 </test >
You can’t perform that action at this time.
0 commit comments