File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
CatalogSearch/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 3434 </after >
3535 <!-- Go to category page with `-1` as a Page Number -->
3636 <amOnPage url =" {{StorefrontCategoryPage.url($$createCategory.custom_attributes[url_key]$$)}}?p=-1" stepKey =" goToStorefrontCreatedCategoryPage" />
37- <!-- Expect redirect to the base URL of category, without any pagination -->
38- <seeCurrentUrlMatches regex =" ~{{StorefrontCategoryPage.url($$createCategory.custom_attributes[url_key]$$)}}$~" stepKey =" seeUrlWithNoPage" />
3937 <!-- Validate that "no products found" error message is not present -->
4038 <actionGroup ref =" StorefrontDontSeeNoProductsFoundActionGroup" stepKey =" dontSeeNoProdsFoundMessage" />
4139 <!-- Verify the products are visible on the Category Page -->
Original file line number Diff line number Diff line change 88
99<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
1010 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11- <test name =" CatalogSearchWithNegativeQuantityTest " >
11+ <test name =" CatalogSearchWithNegativePageNumberTest " >
1212 <annotations >
1313 <features value =" CatalogSearch" />
1414 <stories value =" Catalog Search Results" />
4040 <argument name =" pageNumber" value =" -1" />
4141 </actionGroup >
4242
43- <!-- 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-
4643 <!-- Validate that "no products found" error message is not present -->
4744 <actionGroup ref =" StorefrontDontSeeNoProductsFoundActionGroup" stepKey =" dontSeeNoProdsFoundMessage" />
4845 <!-- Verify the products are visible on the Category Page -->
You can’t perform that action at this time.
0 commit comments