|
64 | 64 | <see userInput="Default welcome msg!" selector="{{StorefrontPanelHeaderSection.WelcomeMessage}}" stepKey="homeCheckWelcome"/>
|
65 | 65 |
|
66 | 66 | <!-- Open Category -->
|
| 67 | + <comment userInput="Open category" stepKey="commentOpenCategory" /> |
67 | 68 | <click selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="browseClickCategory"/>
|
68 | 69 | <actionGroup ref="StorefrontCheckCategoryActionGroup" stepKey="browseAssertCategory">
|
69 | 70 | <argument name="category" value="$$createCategory$$"/>
|
70 | 71 | <!-- @TODO: Change to scalar value after MQE-498 is implemented -->
|
71 | 72 | <argument name="productCount" value="CONST.three"/>
|
72 | 73 | </actionGroup>
|
73 |
| - <!-- Check simple product1 in category --> |
| 74 | + <!-- Check simple product 1 in category --> |
| 75 | + <comment userInput="Check simple product 1 in category" stepKey="commentCheckSimpleProductInCategory" /> |
74 | 76 | <actionGroup ref="StorefrontCheckCategorySimpleProduct" stepKey="browseAssertCategoryProduct1">
|
75 | 77 | <argument name="product" value="$$createSimpleProduct1$$"/>
|
76 | 78 | </actionGroup>
|
77 | 79 | <!-- @TODO: Move Image check to action group after MQE-697 is fixed -->
|
78 | 80 | <grabAttributeFrom selector="{{StorefrontCategoryProductSection.ProductImageByName($$createSimpleProduct1.name$$)}}" userInput="src" stepKey="browseGrabSimpleProduct1ImageSrc"/>
|
79 | 81 | <assertNotRegExp expected="'/placeholder\/small_image\.jpg/'" actual="$browseGrabSimpleProduct1ImageSrc" stepKey="browseAssertSimpleProduct1ImageNotDefault"/>
|
80 |
| - <!-- Check simple product2 in category --> |
| 82 | + <!-- Check simple product 2 in category --> |
| 83 | + <comment userInput="Check simple product 2 in category" stepKey="commentCheckSimpleProduct2InCategory" /> |
81 | 84 | <actionGroup ref="StorefrontCheckCategorySimpleProduct" stepKey="browseAssertCategoryProduct2">
|
82 | 85 | <argument name="product" value="$$createSimpleProduct2$$"/>
|
83 | 86 | </actionGroup>
|
|
86 | 89 | <assertNotRegExp expected="'/placeholder\/small_image\.jpg/'" actual="$browseGrabSimpleProduct2ImageSrc" stepKey="browseAssertSimpleProduct2ImageNotDefault"/>
|
87 | 90 |
|
88 | 91 | <!-- View Simple Product 1 -->
|
| 92 | + <comment userInput="View simple product 1" stepKey="commentViewSimpleProduct1" /> |
89 | 93 | <click selector="{{StorefrontCategoryProductSection.ProductTitleByName($$createSimpleProduct1.name$$)}}" stepKey="browseClickCategorySimpleProduct1View" after="browseAssertSimpleProduct2ImageNotDefault"/>
|
90 | 94 | <actionGroup ref="StorefrontCheckSimpleProduct" stepKey="browseAssertProduct1Page">
|
91 | 95 | <argument name="product" value="$$createSimpleProduct1$$"/>
|
|
95 | 99 | <assertNotRegExp expected="'/placeholder\/image\.jpg/'" actual="$browseGrabSimpleProduct1PageImageSrc" stepKey="browseAssertSimpleProduct1PageImageNotDefault"/>
|
96 | 100 |
|
97 | 101 | <!-- View Simple Product 2 -->
|
| 102 | + <comment userInput="View simple product 2" stepKey="commentViewSimpleProduct2" /> |
98 | 103 | <click selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="clickCategory1"/>
|
99 | 104 | <click selector="{{StorefrontCategoryProductSection.ProductTitleByName($$createSimpleProduct2.name$$)}}" stepKey="browseClickCategorySimpleProduct2View"/>
|
100 | 105 | <actionGroup ref="StorefrontCheckSimpleProduct" stepKey="browseAssertProduct2Page">
|
|
108 | 113 | <!-- Step 4: User compares products -->
|
109 | 114 | <comment userInput="Start of comparing products" stepKey="startOfComparingProducts" after="endOfBrowsingCatalog"/>
|
110 | 115 | <!-- Add Simple Product 1 to comparison -->
|
| 116 | + <comment userInput="Add simple product 1 to comparison" stepKey="commentAddSimpleProduct1ToComparison" /> |
111 | 117 | <click selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="compareClickCategory" />
|
112 | 118 | <actionGroup ref="StorefrontCheckCategoryActionGroup" stepKey="compareAssertCategory">
|
113 | 119 | <argument name="category" value="$$createCategory$$"/>
|
|
132 | 138 | </actionGroup>
|
133 | 139 |
|
134 | 140 | <!-- Add Simple Product 2 to comparison -->
|
| 141 | + <comment userInput="Add simple product 2 to comparison" stepKey="commentAddSimpleProduct2ToComparison" /> |
135 | 142 | <click selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="compareClickCategory1"/>
|
136 | 143 | <actionGroup ref="StorefrontCheckCategoryActionGroup" stepKey="compareAssertCategory1">
|
137 | 144 | <argument name="category" value="$$createCategory$$"/>
|
|
149 | 156 | </actionGroup>
|
150 | 157 |
|
151 | 158 | <!-- Check products in comparison sidebar -->
|
152 |
| - <!-- Check simple product1 in comparison sidebar --> |
153 |
| - <actionGroup ref="StorefrontCheckCompareSidebarProductActionGroup" stepKey="compareSimpleProduct1InSidebar" after="compareAddSimpleProduct2ToCompare"> |
| 159 | + <!-- Check simple product 1 in comparison sidebar --> |
| 160 | + <comment userInput="Check simple product 1 in comparison sidebar" stepKey="commentCheckSimpleProduct1InComparisonSidebar" after="compareAddSimpleProduct2ToCompare"/> |
| 161 | + <actionGroup ref="StorefrontCheckCompareSidebarProductActionGroup" stepKey="compareSimpleProduct1InSidebar" after="commentCheckSimpleProduct1InComparisonSidebar"> |
154 | 162 | <argument name="productVar" value="$$createSimpleProduct1$$"/>
|
155 | 163 | </actionGroup>
|
156 |
| - <!-- Check simple product2 in comparison sidebar --> |
| 164 | + <!-- Check simple product 2 in comparison sidebar --> |
| 165 | + <comment userInput="Check simple product 2 in comparison sidebar" stepKey="commentCheckSimpleProduct2InComparisonSidebar" /> |
157 | 166 | <actionGroup ref="StorefrontCheckCompareSidebarProductActionGroup" stepKey="compareSimpleProduct2InSidebar">
|
158 | 167 | <argument name="productVar" value="$$createSimpleProduct2$$"/>
|
159 | 168 | </actionGroup>
|
160 | 169 |
|
161 | 170 | <!-- Check products on comparison page -->
|
162 |
| - <!-- Check simple product1 on comparison page --> |
163 |
| - <actionGroup ref="StorefrontOpenAndCheckComparisionActionGroup" stepKey="compareOpenComparePage" after="compareSimpleProduct2InSidebar"/> |
| 171 | + <!-- Check simple product 1 on comparison page --> |
| 172 | + <comment userInput="Check simple product 1 on comparison page" stepKey="commentCheckSimpleProduct1OnComparisonPage" after="compareSimpleProduct2InSidebar"/> |
| 173 | + <actionGroup ref="StorefrontOpenAndCheckComparisionActionGroup" stepKey="compareOpenComparePage" after="commentCheckSimpleProduct1OnComparisonPage"/> |
164 | 174 | <actionGroup ref="StorefrontCheckCompareSimpleProductActionGroup" stepKey="compareAssertSimpleProduct1InComparison">
|
165 | 175 | <argument name="productVar" value="$$createSimpleProduct1$$"/>
|
166 | 176 | </actionGroup>
|
167 | 177 | <!-- @TODO: Move Image check to action group after MQE-697 is fixed -->
|
168 | 178 | <grabAttributeFrom selector="{{StorefrontProductCompareMainSection.ProductImageByName($$createSimpleProduct1.name$$)}}" userInput="src" stepKey="compareGrabSimpleProduct1ImageSrcInComparison"/>
|
169 | 179 | <assertNotRegExp expected="'/placeholder\/small_image\.jpg/'" actual="$compareGrabSimpleProduct1ImageSrcInComparison" stepKey="compareAssertSimpleProduct1ImageNotDefaultInComparison"/>
|
170 | 180 | <!-- Check simple product2 on comparison page -->
|
| 181 | + <comment userInput="Check simple product 2 on comparison page" stepKey="commentCheckSimpleProduct2OnComparisonPage" /> |
171 | 182 | <actionGroup ref="StorefrontCheckCompareSimpleProductActionGroup" stepKey="compareAssertSimpleProduct2InComparison">
|
172 | 183 | <argument name="productVar" value="$$createSimpleProduct2$$"/>
|
173 | 184 | </actionGroup>
|
|
176 | 187 | <assertNotRegExp expected="'/placeholder\/small_image\.jpg/'" actual="$compareGrabSimpleProduct2ImageSrcInComparison" stepKey="compareAssertSimpleProduct2ImageNotDefaultInComparison"/>
|
177 | 188 |
|
178 | 189 | <!-- Clear comparison sidebar -->
|
| 190 | + <comment userInput="Clear comparison sidebar" stepKey="commentClearComparisonSidebar" /> |
179 | 191 | <click selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategory.name$$)}}" stepKey="compareClickCategoryBeforeClear" after="compareAssertSimpleProduct2ImageNotDefaultInComparison"/>
|
180 | 192 | <actionGroup ref="StorefrontCheckCategoryActionGroup" stepKey="compareAssertCategory2">
|
181 | 193 | <argument name="category" value="$$createCategory$$"/>
|
|
0 commit comments