Skip to content

Commit 680312b

Browse files
#31251: [MFTF] Refactoring of Search actions on Storefront.
1 parent 958af2b commit 680312b

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<!--Verify customer don't see updated simple product link on magento storefront page -->
9898
<amOnPage url="{{StorefrontProductPage.url(simpleProductNotVisibleIndividually.urlKey)}}" stepKey="goToMagentoStorefrontPage"/>
9999
<waitForPageLoad stepKey="waitForStoreFrontProductPageLoad"/>
100-
<actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="fillAttribute">
100+
<actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="fillSimpleProductSkuInSearchTextBox">
101101
<argument name="phrase" value="{{simpleProductNotVisibleIndividually.sku}}"/>
102102
</actionGroup>
103103
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForSearchTextBox"/>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
<!--Verify customer see updated simple product link on magento storefront page and is searchable by sku -->
127127
<amOnPage url="{{StorefrontProductPage.url(simpleProductRegularPrice245InStock.urlKey)}}" stepKey="goToMagentoStorefrontPage"/>
128128
<waitForPageLoad stepKey="waitForStoreFrontProductPageLoad"/>
129-
<actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="fillAttribute">
129+
<actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="fillSimpleProductSkuInSearchTextBox">
130130
<argument name="phrase" value="{{simpleProductRegularPrice245InStock.sku}}"/>
131131
</actionGroup>
132132
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForSearchTextBox"/>

0 commit comments

Comments
 (0)