We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e648878 commit 1df0e7fCopy full SHA for 1df0e7f
app/code/Magento/CatalogSearch/Test/Mftf/Test/CatalogSearchWithNegativeQuantityTest.xml
@@ -40,7 +40,9 @@
40
<argument name="pageNumber" value="-1"/>
41
</actionGroup>
42
43
- <seeCurrentUrlMatches regex="~\/catalogsearch\/result\/?q=simple$~" stepKey="seeUrlWithNoPage"/>
+ <!-- Expect redirect to the base URL of category, without any pagination -->
44
+ <seeCurrentUrlEquals url="{{_ENV.MAGENTO_BASE_URL}}{{StorefrontCatalogSearchPage.url}}?q=simple" stepKey="seeUrlWithNoPage"/>
45
+
46
<!-- Validate that "no products found" error message is not present -->
47
<actionGroup ref="StorefrontDontSeeNoProductsFoundActionGroup" stepKey="dontSeeNoProdsFoundMessage"/>
48
<!-- Verify the products are visible on the Category Page -->
0 commit comments