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 7
7
-->
8
8
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
- <actionGroup name =" AssertStorefrontTextOnCmsPageActionGroup " >
10
+ <actionGroup name =" AssertStorefrontProductIsShownOnCmsPageActionGroup " >
11
11
<arguments >
12
12
<argument name =" cmsTitle" type =" string" />
13
- <argument name =" cmsContent " type =" string" />
13
+ <argument name =" productName " type =" string" defaultValue = " {{_defaultProduct.name}} " />
14
14
</arguments >
15
+
15
16
<seeInTitle userInput =" {{cmsTitle}}" stepKey =" seePageTitle" />
16
- <see userInput =" {{cmsContent }}" stepKey =" seePageContent " />
17
+ <see selector = " {{StorefrontCategoryMainSection.ProductItemInfo}} " userInput =" {{productName }}" stepKey =" seeProductName " />
17
18
</actionGroup >
18
19
</actionGroups >
Original file line number Diff line number Diff line change 71
71
<switchToNextTab stepKey =" switchToNextTab" />
72
72
<waitForPageLoad stepKey =" waitForCMSPage" />
73
73
<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" >
75
75
<argument name =" cmsTitle" value =" {{_newDefaultCmsPage.title}}" />
76
- <argument name =" cmsContent " value =" $$createSimpleProduct.name$$" />
76
+ <argument name =" productName " value =" $$createSimpleProduct.name$$" />
77
77
</actionGroup >
78
78
<closeTab stepKey =" closeCurrentTab" />
79
79
</test >
You can’t perform that action at this time.
0 commit comments