|
140 | 140 | <actualResult type="string">$getFirstProductResultStarsUnderProductName</actualResult>
|
141 | 141 | <expectedResult type="string">width: 80%;</expectedResult>
|
142 | 142 | </assertEquals>
|
143 |
| - <click selector=".action.more" stepKey="amOnProductReviewDetailsPage"/> |
144 | 143 | <!-- Check stars at rating result under the product name -->
|
145 | 144 | <grabAttributeFrom selector="#rating-result_$$createProduct2.id$$ span" userInput="style" stepKey="getSecondProductResultStarsUnderProductName"/>
|
146 | 145 | <assertEquals stepKey="checkSecondProductResultStarsUnderProductName">
|
147 | 146 | <actualResult type="string">$getSecondProductResultStarsUnderProductName</actualResult>
|
148 | 147 | <expectedResult type="string">width: 20%;</expectedResult>
|
149 | 148 | </assertEquals>
|
| 149 | + <!--Click on See Details button of two reviews --> |
| 150 | + <!-- Navigate to user account and check product ratings--> |
| 151 | + <amOnPage url="review/customer/" stepKey="amOnCustomerReviewPage2"/> |
| 152 | + <!--Click on Second Product review --> |
| 153 | + <click selector="{{StorefrontMyProductReviewsSection.reviewFirstRowSeeDetails}}" stepKey="clickFirstReviewRow"/> |
| 154 | + <grabAttributeFrom selector="#rating-result_$$createProduct2.id$$ span" userInput="style" stepKey="getSecondProductResultStarsUnderProductName1"/> |
| 155 | + <assertEquals stepKey="checkSecondProductResultStarsUnderProductName1"> |
| 156 | + <actualResult type="string">$getSecondProductResultStarsUnderProductName1</actualResult> |
| 157 | + <expectedResult type="string">width: 20%;</expectedResult> |
| 158 | + </assertEquals> |
| 159 | + <!-- Navigate to user account and check product ratings--> |
| 160 | + <amOnPage url="review/customer/" stepKey="amOnCustomerReviewPage3"/> |
| 161 | + <!--Click on first product review --> |
| 162 | + <click selector="{{StorefrontMyProductReviewsSection.reviewSecondRowSeeDetails}}" stepKey="clickSecondReviewRow"/> |
| 163 | + <grabAttributeFrom selector="#rating-result_$$createProduct1.id$$ span" userInput="style" stepKey="getFirstProductResultStarsUnderProductName2"/> |
| 164 | + <assertEquals stepKey="checkFirstProductResultStarsUnderProductName2"> |
| 165 | + <actualResult type="string">$getFirstProductResultStarsUnderProductName2</actualResult> |
| 166 | + <expectedResult type="string">width: 80%;</expectedResult> |
| 167 | + </assertEquals> |
150 | 168 | </test>
|
151 | 169 | </tests>
|
0 commit comments