Skip to content

Commit 85738a1

Browse files
authored
Merge pull request #236 from magento-pangolin/MQE-683
MQE-683: [Deprecation] Only use more nested assertion syntax
2 parents 826fea9 + 58b25ca commit 85738a1

File tree

84 files changed

+1365
-379
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+1365
-379
lines changed

app/code/Magento/Backend/Test/Mftf/Test/AdminAttributeTextSwatchesCanBeFiledTest.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,11 @@
110110
<grabValueFrom selector="{{AttributeManageSwatchSection.descriptionField('Admin')}}" stepKey="grabDescriptionForAdmin"/>
111111

112112
<!-- Check that Swatch and Description fields for Admin are not empty-->
113-
<assertNotEmpty actual="$grabSwatchForAdmin" stepKey="checkSwatchFieldForAdmin"/>
114-
<assertNotEmpty actual="$grabDescriptionForAdmin" stepKey="checkDescriptionFieldForAdmin"/>
113+
<assertNotEmpty stepKey="checkSwatchFieldForAdmin">
114+
<actualResult type="const">$grabSwatchForAdmin</actualResult>
115+
</assertNotEmpty>
116+
<assertNotEmpty stepKey="checkDescriptionFieldForAdmin">
117+
<actualResult type="const">$grabDescriptionForAdmin</actualResult>
118+
</assertNotEmpty>
115119
</test>
116120
</tests>

app/code/Magento/Backend/Test/Mftf/Test/AdminCheckLocaleAndDeveloperConfigInProductionModeTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
<actionGroup ref="AdminOpenStoreConfigPageActionGroup" stepKey="openStoreConfigPage" />
2929
<scrollTo selector="{{LocaleOptionsSection.sectionHeader}}" stepKey="scrollToLocaleSection" x="0" y="-80" />
3030
<conditionalClick selector="{{LocaleOptionsSection.sectionHeader}}" dependentSelector="{{LocaleOptionsSection.timezone}}" visible="false" stepKey="openLocaleSection"/>
31-
<assertElementContainsAttribute selector="{{LocaleOptionsSection.locale}}" attribute="disabled" stepKey="seeDisabledLocaleDropdown" />
31+
<assertElementContainsAttribute stepKey="seeDisabledLocaleDropdown">
32+
<expectedResult selector="{{LocaleOptionsSection.locale}}" attribute="disabled" type="string"></expectedResult>
33+
</assertElementContainsAttribute>
3234

3335
<!-- Go to the developer configuration and make sure the redirect to the configuration page takes place -->
3436
<actionGroup ref="AdminOpenStoreConfigDeveloperPageActionGroup" stepKey="goToDeveloperConfigPage"/>

app/code/Magento/Backend/Test/Mftf/Test/AdminDashboardWithChartsChart.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@
120120
<seeElement selector="{{AdminDashboardSection.dashboardDiagramAmountsContentTab}}" stepKey="seeDiagramAmountContent"/>
121121
<seeElement selector="{{AdminDashboardSection.dashboardDiagramTotals}}" stepKey="seeAmountTotals"/>
122122
<dontSeeJsError stepKey="dontSeeJsError"/>
123-
<assertGreaterThan expected="$grabStartQuantity" actual="$grabEndQuantity" stepKey="checkQuantityWasChanged"/>
123+
<assertGreaterThan stepKey="checkQuantityWasChanged">
124+
<actualResult type="const">$grabEndQuantity</actualResult>
125+
<expectedResult type="const">$grabStartQuantity</expectedResult>
126+
</assertGreaterThan>
124127
</test>
125128
</tests>

app/code/Magento/Braintree/Test/Mftf/Test/BraintreeCreditCardOnCheckoutTest.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,13 @@
105105
<grabTextFrom selector="{{CheckoutOrderSummarySection.additionalAddress}}" stepKey="additionalAddress"/>
106106
<see userInput="Shipping Address" stepKey="seeShippingAddress"/>
107107
<see userInput="Billing Address" stepKey="seeBillingAddress"/>
108-
<assertEquals stepKey="assertValuesAreEqual" actual="$billingAddr" expected="$shippingAddr"/>
109-
<assertNotEquals stepKey="assertValuesAreNotEqual" actual="$billingAddr" expected="$additionalAddress"/>
108+
<assertEquals stepKey="assertValuesAreEqual">
109+
<actualResult type="const">$billingAddr</actualResult>
110+
<expectedResult type="const">$shippingAddr</expectedResult>
111+
</assertEquals>
112+
<assertNotEquals stepKey="assertValuesAreNotEqual">
113+
<actualResult type="const">$billingAddr</actualResult>
114+
<expectedResult type="const">$additionalAddress</expectedResult>
115+
</assertNotEquals>
110116
</test>
111117
</tests>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontAddBundleOptionsToCartTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@
108108

109109
<!--Assert Bundle Product Price-->
110110
<grabTextFrom selector="{{StorefrontBundledSection.bundleProductsPrice}}" stepKey="grabProductsPrice"/>
111-
<assertEquals expected='$123.00' expectedType="string" actual="$grabProductsPrice" message="ExpectedPrice" stepKey="assertBundleProductPrice"/>
111+
<assertEquals message="ExpectedPrice" stepKey="assertBundleProductPrice">
112+
<actualResult type="const">$grabProductsPrice</actualResult>
113+
<expectedResult type="string">$123.00</expectedResult>
114+
</assertEquals>
112115

113116
<!--Chose all products from 1st & 3rd options -->
114117
<click stepKey="selectProduct1" selector="{{StorefrontBundledSection.productCheckbox('1','1')}}"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontAdminEditDataTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@
103103
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="onPageShoppingCart1"/>
104104
<waitForPageLoad stepKey="waitForCartPageLoad1"/>
105105
<grabTextFrom selector="{{CheckoutCartProductSection.nthBundleOptionName('1')}}" stepKey="grabTotalAfter"/>
106-
<assertNotEquals expected="{$grabTotalBefore}" expectedType="string" actual="{$grabTotalAfter}" actualType="string" stepKey="assertNotEquals"/>
106+
<assertNotEquals stepKey="assertNotEquals">
107+
<actualResult type="string">{$grabTotalAfter}</actualResult>
108+
<expectedResult type="string">{$grabTotalBefore}</expectedResult>
109+
</assertNotEquals>
107110

108111
<!-- Delete the bundled product -->
109112
<actionGroup stepKey="deleteBundle" ref="DeleteProductUsingProductGridActionGroup">

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontEditBundleProductTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@
115115
<waitForElementVisible stepKey="waitForInfoDropdown2" selector="{{CheckoutCartSummarySection.total}}"/>
116116
<waitForPageLoad stepKey="waitForCartPageLoad4"/>
117117
<grabTextFrom selector="{{CheckoutCartSummarySection.total}}" stepKey="grabTotalAfter"/>
118-
<assertNotEquals expected="{$grabTotalBefore}" expectedType="string" actual="{$grabTotalAfter}" actualType="string" stepKey="assertNotEquals"/>
118+
<assertNotEquals stepKey="assertNotEquals">
119+
<actualResult type="string">{$grabTotalAfter}</actualResult>
120+
<expectedResult type="string">{$grabTotalBefore}</expectedResult>
121+
</assertNotEquals>
119122

120123
<!-- Delete the bundled product -->
121124
<actionGroup stepKey="deleteBundle" ref="DeleteProductUsingProductGridActionGroup">

app/code/Magento/Catalog/Test/Mftf/ActionGroup/CheckCustomizableOptionImportActionGroup.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,17 @@
2020
<grabValueFrom selector="{{AdminProductCustomizableOptionsSection.optionTitleInput(optionIndex)}}" stepKey="grabOptionTitle"/>
2121
<grabValueFrom selector="{{AdminProductCustomizableOptionsSection.optionPrice(optionIndex)}}" stepKey="grabOptionPrice"/>
2222
<grabValueFrom selector="{{AdminProductCustomizableOptionsSection.optionSku(optionIndex)}}" stepKey="grabOptionSku"/>
23-
<assertEquals expected="{{option.title}}" expectedType="string" actual="$grabOptionTitle" stepKey="assertOptionTitle"/>
24-
<assertEquals expected="{{option.price}}" expectedType="string" actual="$grabOptionPrice" stepKey="assertOptionPrice"/>
25-
<assertEquals expected="{{option.title}}" expectedType="string" actual="$grabOptionSku" stepKey="assertOptionSku"/>
23+
<assertEquals stepKey="assertOptionTitle">
24+
<actualResult type="const">$grabOptionTitle</actualResult>
25+
<expectedResult type="string">{{option.title}}</expectedResult>
26+
</assertEquals>
27+
<assertEquals stepKey="assertOptionPrice">
28+
<actualResult type="const">$grabOptionPrice</actualResult>
29+
<expectedResult type="string">{{option.price}}</expectedResult>
30+
</assertEquals>
31+
<assertEquals stepKey="assertOptionSku">
32+
<actualResult type="const">$grabOptionSku</actualResult>
33+
<expectedResult type="string">{{option.title}}</expectedResult>
34+
</assertEquals>
2635
</actionGroup>
2736
</actionGroups>

app/code/Magento/Catalog/Test/Mftf/ActionGroup/CheckProductsOrderActionGroup.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,14 @@
2525
<waitForPageLoad stepKey="waitForPageLoad5AfterCacheCleared" time="60"/>
2626
<waitForElement selector="{{StorefrontCategoryProductSection.ProductImageByNumber('1')}}" time="120" stepKey="waitCompareWidgetLoad" />
2727
<grabAttributeFrom selector="{{StorefrontCategoryProductSection.ProductImageByNumber('1')}}" userInput="alt" stepKey="grabFirstProductName1_1"/>
28-
<assertEquals expected="{{product_1.name}}" actual="($grabFirstProductName1_1)" message="notExpectedOrder" stepKey="compare1"/>
28+
<assertEquals message="notExpectedOrder" stepKey="compare1">
29+
<actualResult type="const">($grabFirstProductName1_1)</actualResult>
30+
<expectedResult type="const">{{product_1.name}}</expectedResult>
31+
</assertEquals>
2932
<grabAttributeFrom selector="{{StorefrontCategoryProductSection.ProductImageByNumber('2')}}" userInput="alt" stepKey="grabFirstProductName2_2"/>
30-
<assertEquals expected="{{product_2.name}}" actual="($grabFirstProductName2_2)" message="notExpectedOrder" stepKey="compare2"/>
33+
<assertEquals message="notExpectedOrder" stepKey="compare2">
34+
<actualResult type="const">($grabFirstProductName2_2)</actualResult>
35+
<expectedResult type="const">{{product_2.name}}</expectedResult>
36+
</assertEquals>
3137
</actionGroup>
3238
</actionGroups>

app/code/Magento/Catalog/Test/Mftf/ActionGroup/StorefrontAssertProductSpecialPriceOnProductPageActionGroup.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
<waitForPageLoad stepKey="waitForFirstProductPage"/>
2121
<waitForElementVisible selector="{{StorefrontProductInfoMainSection.specialPriceValue}}" stepKey="waitForProductSpecialPrice"/>
2222
<grabTextFrom selector="{{StorefrontProductInfoMainSection.specialPriceValue}}" stepKey="grabProductSpecialPrice"/>
23-
<assertEquals actual="$grabProductSpecialPrice" expectedType="string" expected="{{specialPrice}}" stepKey="assertProductPriceValuesAreEqual"/>
23+
<assertEquals stepKey="assertProductPriceValuesAreEqual">
24+
<actualResult type="const">$grabProductSpecialPrice</actualResult>
25+
<expectedResult type="string">{{specialPrice}}</expectedResult>
26+
</assertEquals>
2427
</actionGroup>
2528
</actionGroups>

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@
6161
<!--Assert success message-->
6262
<comment userInput="Assert success message" stepKey="assertSuccessMsg"/>
6363
<grabTextFrom selector="{{StorefrontMessagesSection.success}}" stepKey="grabTextFromSuccessMessage"/>
64-
<assertEquals expected='You added product $$product.name$$ to the comparison list.' expectedType="string" actual="($grabTextFromSuccessMessage)" stepKey="assertSuccessMessage"/>
64+
<assertEquals stepKey="assertSuccessMessage">
65+
<actualResult type="const">($grabTextFromSuccessMessage)</actualResult>
66+
<expectedResult type="string">You added product $$product.name$$ to the comparison list.</expectedResult>
67+
</assertEquals>
6568
<!--See product in the comparison list-->
6669
<comment userInput="See product in the comparison list" stepKey="seeProductInComparisonList"/>
6770
<amOnPage url="{{StorefrontProductComparePage.url}}" stepKey="navigateToComparePage"/>
@@ -83,7 +86,10 @@
8386
<!--Assert success message-->
8487
<comment userInput="Assert success message" stepKey="assertSuccessMsg2"/>
8588
<grabTextFrom selector="{{StorefrontMessagesSection.success}}" stepKey="grabTextFromSuccessMessage2"/>
86-
<assertEquals expected='You added product $$product.name$$ to the comparison list.' expectedType="string" actual="($grabTextFromSuccessMessage)" stepKey="assertSuccessMessage2"/>
89+
<assertEquals stepKey="assertSuccessMessage2">
90+
<actualResult type="const">($grabTextFromSuccessMessage)</actualResult>
91+
<expectedResult type="string">You added product $$product.name$$ to the comparison list.</expectedResult>
92+
</assertEquals>
8793
<!--Check that product displays on add to compare widget-->
8894
<comment userInput="Check that product displays on add to compare widget" stepKey="checkProdNameOnWidget"/>
8995
<seeElement selector="{{StorefrontComparisonSidebarSection.ProductTitleByName($$product.name$$)}}" stepKey="seeProdNameOnCmpWidget"/>

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

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,14 @@
4141
<actionGroup ref="AdminFormSaveAndDuplicateActionGroup" stepKey="saveAndDuplicateProductFormFirstTime"/>
4242
<conditionalClick selector="{{AdminProductSEOSection.sectionHeader}}" dependentSelector="{{AdminProductSEOSection.urlKeyInput}}" visible="false" stepKey="openSEOSection"/>
4343
<grabValueFrom selector="{{AdminProductSEOSection.urlKeyInput}}" stepKey="grabDuplicatedProductUrlKey"/>
44-
<assertContains expected="$$createSimpleProduct.custom_attributes[url_key]$$" actual="$grabDuplicatedProductUrlKey" stepKey="assertDuplicatedProductUrlKey"/>
45-
<assertContains expectedType="string" expected="-1" actual="$grabDuplicatedProductUrlKey" stepKey="assertDuplicatedProductUrlKey1"/>
44+
<assertContains stepKey="assertDuplicatedProductUrlKey">
45+
<actualResult type="const">$grabDuplicatedProductUrlKey</actualResult>
46+
<expectedResult type="const">$$createSimpleProduct.custom_attributes[url_key]$$</expectedResult>
47+
</assertContains>
48+
<assertContains stepKey="assertDuplicatedProductUrlKey1">
49+
<actualResult type="const">$grabDuplicatedProductUrlKey</actualResult>
50+
<expectedResult type="string">-1</expectedResult>
51+
</assertContains>
4652
<!--Add duplicated product to the simple product-->
4753
<comment userInput="Add duplicated product to the simple product" stepKey="commentAddProduct"/>
4854
<amOnPage url="{{AdminProductEditPage.url($$createSimpleProduct.id$$)}}" stepKey="goToSimpleProductPage"/>
@@ -69,8 +75,14 @@
6975
<conditionalClick selector="{{AdminProductSEOSection.sectionHeader}}" dependentSelector="{{AdminProductSEOSection.urlKeyInput}}" visible="false" stepKey="openProductSEOSection"/>
7076
<waitForElementVisible selector="{{AdminProductSEOSection.urlKeyInput}}" stepKey="waitForUrlKeyField"/>
7177
<grabValueFrom selector="{{AdminProductSEOSection.urlKeyInput}}" stepKey="grabSecondDuplicatedProductUrlKey"/>
72-
<assertContains expected="$$createSimpleProduct.custom_attributes[url_key]$$" actual="$grabSecondDuplicatedProductUrlKey" stepKey="assertSecondDuplicatedProductUrlKey"/>
73-
<assertContains expectedType="string" expected="-2" actual="$grabSecondDuplicatedProductUrlKey" stepKey="assertSecondDuplicatedProductUrlKey1"/>
78+
<assertContains stepKey="assertSecondDuplicatedProductUrlKey">
79+
<actualResult type="const">$grabSecondDuplicatedProductUrlKey</actualResult>
80+
<expectedResult type="const">$$createSimpleProduct.custom_attributes[url_key]$$</expectedResult>
81+
</assertContains>
82+
<assertContains stepKey="assertSecondDuplicatedProductUrlKey1">
83+
<actualResult type="const">$grabSecondDuplicatedProductUrlKey</actualResult>
84+
<expectedResult type="string">-2</expectedResult>
85+
</assertContains>
7486
<conditionalClick selector="{{AdminProductFormRelatedUpSellCrossSellSection.sectionHeader}}" dependentSelector="{{AdminProductFormRelatedUpSellCrossSellSection.AddRelatedProductsButton}}" visible="false" stepKey="openProductRUSSection1"/>
7587
<waitForElementVisible selector="{{AdminProductFormRelatedUpSellCrossSellSection.selectedProductSku('related')}}" stepKey="waitForSelectedProductSku"/>
7688
<see selector="{{AdminProductFormRelatedUpSellCrossSellSection.selectedProductSku('related')}}" userInput="$$createSimpleProduct.sku$$-1" stepKey="seeRelatedProductForDuplicated"/>

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

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -70,34 +70,37 @@
7070
<seeOptionIsSelected selector="{{CategoryDesignSection.LayoutDropdown}}" userInput="2 columns with right bar" stepKey="see2ColumnsSelected" />
7171
</test>
7272
<test name="AdminCategoryFormDisplaySettingsUIValidationTest">
73-
<annotations>
74-
<features value="Catalog"/>
75-
<stories value="Default layout configuration MAGETWO-88793"/>
76-
<title value="Category should not be saved once layered navigation price step field is left empty"/>
77-
<description value="Once the Config setting is unchecked Category should not be saved with layered navigation price field left empty"/>
78-
<severity value="AVERAGE"/>
79-
<testCaseId value="MAGETWO-95797"/>
80-
<group value="category"/>
81-
</annotations>
82-
<before>
83-
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
84-
</before>
85-
<after>
86-
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
87-
</after>
88-
<amOnPage url="{{AdminCategoryPage.url}}" stepKey="navigateToCategoryPage"/>
89-
<waitForPageLoad time="30" stepKey="waitForPageLoad1"/>
90-
<click selector="{{AdminCategorySidebarActionSection.AddSubcategoryButton}}" stepKey="clickOnAddSubCategory"/>
91-
<fillField selector="{{AdminCategoryBasicFieldSection.CategoryNameInput}}" userInput="{{SimpleSubCategory.name}}" stepKey="enterCategoryName"/>
92-
<click selector="{{CategoryDisplaySettingsSection.DisplaySettingTab}}" stepKey="clickOnDisplaySettingsTab"/>
93-
<waitForElementVisible selector="{{CategoryDisplaySettingsSection.filterPriceRangeUseConfig}}" stepKey="wait"/>
94-
<scrollTo selector="{{CategoryDisplaySettingsSection.layeredNavigationPriceInput}}" stepKey="scrollToLayeredNavigationField"/>
95-
<uncheckOption selector="{{CategoryDisplaySettingsSection.filterPriceRangeUseConfig}}" stepKey="uncheckConfigSetting"/>
96-
<click selector="{{AdminCategoryMainActionsSection.SaveButton}}" stepKey="saveCategory"/>
97-
<see selector="{{AdminCategoryBasicFieldSection.FieldError('uid')}}" userInput="This is a required field." stepKey="seeErrorMessage"/>
98-
<!-- Verify that the Layered navigation price step field has the required indicator -->
99-
<comment userInput="Check if Layered navigation price field has required indicator icon" stepKey="comment" />
100-
<executeJS function="{{CategoryDisplaySettingsSection.RequiredFieldIndicator('filter_price_range')}}" stepKey="getRequiredFieldIndicator"/>
101-
<assertEquals expected='"*"' expectedType="string" actualType="variable" actual="getRequiredFieldIndicator" message="pass" stepKey="assertRequiredFieldIndicator1"/>
73+
<annotations>
74+
<features value="Catalog"/>
75+
<stories value="Default layout configuration MAGETWO-88793"/>
76+
<title value="Category should not be saved once layered navigation price step field is left empty"/>
77+
<description value="Once the Config setting is unchecked Category should not be saved with layered navigation price field left empty"/>
78+
<severity value="AVERAGE"/>
79+
<testCaseId value="MAGETWO-95797"/>
80+
<group value="category"/>
81+
</annotations>
82+
<before>
83+
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
84+
</before>
85+
<after>
86+
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
87+
</after>
88+
<amOnPage url="{{AdminCategoryPage.url}}" stepKey="navigateToCategoryPage"/>
89+
<waitForPageLoad time="30" stepKey="waitForPageLoad1"/>
90+
<click selector="{{AdminCategorySidebarActionSection.AddSubcategoryButton}}" stepKey="clickOnAddSubCategory"/>
91+
<fillField selector="{{AdminCategoryBasicFieldSection.CategoryNameInput}}" userInput="{{SimpleSubCategory.name}}" stepKey="enterCategoryName"/>
92+
<click selector="{{CategoryDisplaySettingsSection.DisplaySettingTab}}" stepKey="clickOnDisplaySettingsTab"/>
93+
<waitForElementVisible selector="{{CategoryDisplaySettingsSection.filterPriceRangeUseConfig}}" stepKey="wait"/>
94+
<scrollTo selector="{{CategoryDisplaySettingsSection.layeredNavigationPriceInput}}" stepKey="scrollToLayeredNavigationField"/>
95+
<uncheckOption selector="{{CategoryDisplaySettingsSection.filterPriceRangeUseConfig}}" stepKey="uncheckConfigSetting"/>
96+
<click selector="{{AdminCategoryMainActionsSection.SaveButton}}" stepKey="saveCategory"/>
97+
<see selector="{{AdminCategoryBasicFieldSection.FieldError('uid')}}" userInput="This is a required field." stepKey="seeErrorMessage"/>
98+
<!-- Verify that the Layered navigation price step field has the required indicator -->
99+
<comment userInput="Check if Layered navigation price field has required indicator icon" stepKey="comment" />
100+
<executeJS function="{{CategoryDisplaySettingsSection.RequiredFieldIndicator('filter_price_range')}}" stepKey="getRequiredFieldIndicator"/>
101+
<assertEquals message="pass" stepKey="assertRequiredFieldIndicator1">
102+
<actualResult type="variable">getRequiredFieldIndicator</actualResult>
103+
<expectedResult type="string">"*"</expectedResult>
104+
</assertEquals>
102105
</test>
103106
</tests>

0 commit comments

Comments
 (0)