Skip to content

Commit e648878

Browse files
committed
SwiftOtter-SOP-348 Replace variable with hardcoded URL in MFTF regex
1 parent f9152d2 commit e648878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogSearch/Test/Mftf/Test/CatalogSearchWithNegativeQuantityTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<argument name="pageNumber" value="-1"/>
4141
</actionGroup>
4242

43-
<seeCurrentUrlMatches regex="~{{StorefrontCatalogSearchPage.url}}?q=simple$~" stepKey="seeUrlWithNoPage"/>
43+
<seeCurrentUrlMatches regex="~\/catalogsearch\/result\/?q=simple$~" stepKey="seeUrlWithNoPage"/>
4444
<!-- Validate that "no products found" error message is not present -->
4545
<actionGroup ref="StorefrontDontSeeNoProductsFoundActionGroup" stepKey="dontSeeNoProdsFoundMessage"/>
4646
<!-- Verify the products are visible on the Category Page -->

0 commit comments

Comments
 (0)