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 34
34
</after >
35
35
<!-- Go to category page with `-1` as a Page Number -->
36
36
<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" />
39
37
<!-- Validate that "no products found" error message is not present -->
40
38
<actionGroup ref =" StorefrontDontSeeNoProductsFoundActionGroup" stepKey =" dontSeeNoProdsFoundMessage" />
41
39
<!-- Verify the products are visible on the Category Page -->
Original file line number Diff line number Diff line change 8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
- <test name =" CatalogSearchWithNegativeQuantityTest " >
11
+ <test name =" CatalogSearchWithNegativePageNumberTest " >
12
12
<annotations >
13
13
<features value =" CatalogSearch" />
14
14
<stories value =" Catalog Search Results" />
40
40
<argument name =" pageNumber" value =" -1" />
41
41
</actionGroup >
42
42
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
-
46
43
<!-- Validate that "no products found" error message is not present -->
47
44
<actionGroup ref =" StorefrontDontSeeNoProductsFoundActionGroup" stepKey =" dontSeeNoProdsFoundMessage" />
48
45
<!-- Verify the products are visible on the Category Page -->
You can’t perform that action at this time.
0 commit comments