Skip to content

Commit d376b80

Browse files
committed
Lint code
1 parent 6fba79a commit d376b80

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/StoreFrontRecentlyViewedAtStoreViewLevelTest.xml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
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+
*/
77
-->
88
<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">
1010
<test name="StoreFrontRecentlyViewedAtStoreViewLevelTest">
1111
<annotations>
1212
<stories value="Recently Viewed Product"/>
@@ -37,7 +37,6 @@
3737
<actionGroup ref="AdminCreateStoreViewActionGroup" stepKey="createStoreViewOne">
3838
<argument name="customStore" value="customStoreEN"/>
3939
</actionGroup>
40-
4140
<magentoCron stepKey="runCronIndex" groups="index"/>
4241

4342
<!-- Set Stores > Configurations > Catalog > Recently Viewed/Compared Products > Show for Current = store view-->
@@ -96,7 +95,7 @@
9695
<amOnPage url="{{StorefrontProductPage.url($createSimpleProduct3.name$)}}" stepKey="goToStore1ProductPage3"/>
9796
<!-- Go to Home Page -->
9897
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="amOnHomePage"/>
99-
<actionGroup ref="AssertSeeProductDetailsOnStorefrontRecentlyViewedWidgetActionGroup" stepKey="assertStore1RecentlyViewedProduct2">
98+
<actionGroup ref="AssertSeeProductDetailsOnStorefrontRecentlyViewedWidgetActionGroup" stepKey="assertStore1RecentlyViewedProduct2">
10099
<argument name="productName" value="$$createSimpleProduct2.name$$"/>
101100
<argument name="productPosition" value="2"/>
102101
</actionGroup>
@@ -129,7 +128,7 @@
129128
<grabTextFrom selector="{{StoreFrontRecentlyViewedProductSection.ProductName('2')}}" stepKey="grabDontSeeHomeProduct3"/>
130129
<assertNotContains stepKey="assertNotSeeProduct3">
131130
<actualResult type="const">$grabDontSeeHomeProduct3</actualResult>
132-
<expectedResult type="const">$$createSimpleProduct3.name$$</expectedResult>
131+
<expectedResult type="const">$$createSimpleProduct3.name$$</expectedResult>
133132
</assertNotContains>
134133

135134
<actionGroup ref="StorefrontSwitchDefaultStoreViewActionGroup" stepKey="switchToDefualtStoreView"/>
@@ -146,8 +145,8 @@
146145

147146
<grabTextFrom selector="{{StoreFrontRecentlyViewedProductSection.ProductName('2')}}" stepKey="grabDontSeeHomeProduct1"/>
148147
<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>
151150
</assertNotContains>
152151
</test>
153152
</tests>

0 commit comments

Comments
 (0)