|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <!--
|
3 |
| - /** |
4 |
| - * Copyright © Magento, Inc. All rights reserved. |
5 |
| - * See COPYING.txt for license details. |
6 |
| - */ |
| 3 | +/** |
| 4 | +* Copyright © Magento, Inc. All rights reserved. |
| 5 | +* See COPYING.txt for license details. |
| 6 | +*/ |
7 | 7 | -->
|
8 | 8 | <tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
9 |
| - xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 9 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
10 | 10 | <test name="StoreFrontRecentlyViewedAtStoreViewLevelTest">
|
11 | 11 | <annotations>
|
12 | 12 | <stories value="Recently Viewed Product"/>
|
|
37 | 37 | <actionGroup ref="AdminCreateStoreViewActionGroup" stepKey="createStoreViewOne">
|
38 | 38 | <argument name="customStore" value="customStoreEN"/>
|
39 | 39 | </actionGroup>
|
40 |
| - |
41 | 40 | <magentoCron stepKey="runCronIndex" groups="index"/>
|
42 | 41 |
|
43 | 42 | <!-- Set Stores > Configurations > Catalog > Recently Viewed/Compared Products > Show for Current = store view-->
|
|
96 | 95 | <amOnPage url="{{StorefrontProductPage.url($createSimpleProduct3.name$)}}" stepKey="goToStore1ProductPage3"/>
|
97 | 96 | <!-- Go to Home Page -->
|
98 | 97 | <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="amOnHomePage"/>
|
99 |
| - <actionGroup ref="AssertSeeProductDetailsOnStorefrontRecentlyViewedWidgetActionGroup" stepKey="assertStore1RecentlyViewedProduct2"> |
| 98 | + <actionGroup ref="AssertSeeProductDetailsOnStorefrontRecentlyViewedWidgetActionGroup" stepKey="assertStore1RecentlyViewedProduct2"> |
100 | 99 | <argument name="productName" value="$$createSimpleProduct2.name$$"/>
|
101 | 100 | <argument name="productPosition" value="2"/>
|
102 | 101 | </actionGroup>
|
|
129 | 128 | <grabTextFrom selector="{{StoreFrontRecentlyViewedProductSection.ProductName('2')}}" stepKey="grabDontSeeHomeProduct3"/>
|
130 | 129 | <assertNotContains stepKey="assertNotSeeProduct3">
|
131 | 130 | <actualResult type="const">$grabDontSeeHomeProduct3</actualResult>
|
132 |
| - <expectedResult type="const">$$createSimpleProduct3.name$$</expectedResult> |
| 131 | + <expectedResult type="const">$$createSimpleProduct3.name$$</expectedResult> |
133 | 132 | </assertNotContains>
|
134 | 133 |
|
135 | 134 | <actionGroup ref="StorefrontSwitchDefaultStoreViewActionGroup" stepKey="switchToDefualtStoreView"/>
|
|
146 | 145 |
|
147 | 146 | <grabTextFrom selector="{{StoreFrontRecentlyViewedProductSection.ProductName('2')}}" stepKey="grabDontSeeHomeProduct1"/>
|
148 | 147 | <assertNotContains stepKey="assertNotSeeProduct1">
|
149 |
| - <actualResult type="const">$grabDontSeeHomeProduct1</actualResult> |
150 |
| - <expectedResult type="const">$$createSimpleProduct1.name$$</expectedResult> |
| 148 | + <actualResult type="const">$grabDontSeeHomeProduct1</actualResult> |
| 149 | + <expectedResult type="const">$$createSimpleProduct1.name$$</expectedResult> |
151 | 150 | </assertNotContains>
|
152 | 151 | </test>
|
153 | 152 | </tests>
|
0 commit comments