|
16 | 16 | <severity value="CRITICAL"/>
|
17 | 17 | <testCaseId value="MC-14765"/>
|
18 | 18 | <group value="mtf_migrated"/>
|
19 |
| - <skip> |
20 |
| - <issueId value="MC-19868"/> |
21 |
| - </skip> |
22 | 19 | </annotations>
|
23 | 20 | <before>
|
24 | 21 | <!-- Login as admin -->
|
25 |
| - <comment userInput="Login as admin" stepKey="loginAsAdminComment"/> |
26 | 22 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
27 |
| - <!-- Go to the catalog search term page --> |
28 |
| - <comment userInput="Go to the catalog search term page" stepKey="goToSearchTermPageComment"/> |
29 |
| - <amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/> |
30 |
| - <waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/> |
31 |
| - <!-- Delete all search terms --> |
32 |
| - <comment userInput="Delete all search terms" stepKey="deleteAllSearchTermsComment"/> |
33 |
| - <actionGroup ref="AdminDeleteAllSearchTermsActionGroup" stepKey="deleteAllSearchTerms"/> |
34 |
| - <actionGroup ref="DeleteAllProductsUsingProductGridActionGroup" stepKey="deleteAllProducts"/> |
35 | 23 | <!-- Create product with description -->
|
36 |
| - <comment userInput="Create product with description" stepKey="createProductWithDescriptionComment"/> |
37 | 24 | <createData entity="SimpleProductWithDescription" stepKey="simpleProduct"/>
|
38 | 25 |
|
39 | 26 | <!-- Perform reindex and flush cache -->
|
|
42 | 29 | </before>
|
43 | 30 | <after>
|
44 | 31 | <!-- Delete created product -->
|
45 |
| - <comment userInput="Delete created product" stepKey="deleteCreatedProductComment"/> |
46 | 32 | <deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/>
|
47 | 33 | <!-- Go to the catalog search term page -->
|
48 |
| - <comment userInput="Go to the catalog search term page" stepKey="goToSearchTermPageComment2"/> |
49 | 34 | <amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/>
|
50 | 35 | <waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/>
|
51 | 36 | <!-- Filter the search term -->
|
52 |
| - <comment userInput="Filter search term" stepKey="filterSearchTermComment"/> |
53 | 37 | <actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByThirdSearchQuery">
|
54 | 38 | <argument name="searchQuery" value="{{ApiProductDescription.value}}"/>
|
55 | 39 | </actionGroup>
|
56 | 40 | <!-- Delete created below search terms -->
|
57 |
| - <comment userInput="Delete created below search terms" stepKey="deleteCreatedBelowSearchTermsComment"/> |
58 | 41 | <actionGroup ref="AdminDeleteSearchTermActionGroup" stepKey="deleteSearchTerms"/>
|
59 | 42 | <actionGroup ref="logout" stepKey="logout"/>
|
60 | 43 | </after>
|
61 | 44 | <!-- Go to storefront home page -->
|
62 |
| - <comment userInput="Go to storefront home page" stepKey="goToStorefrontHomePageComment"/> |
63 | 45 | <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openStoreFrontHomePage"/>
|
64 | 46 | <!-- Storefront quick search by product name -->
|
65 |
| - <comment userInput="Storefront quick search by product name" stepKey="storefrontQuickSearchByProductNameComment"/> |
66 | 47 | <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchByProductName">
|
67 | 48 | <argument name="phrase" value="{{ApiProductDescription.value}}"/>
|
68 | 49 | </actionGroup>
|
69 | 50 | <!-- Verify search suggestions and select the suggestion from dropdown options -->
|
70 |
| - <comment userInput="Verify search suggestions and select the suggestion from dropdown options" stepKey="verifySearchSuggestionsComment"/> |
71 | 51 | <actionGroup ref="StoreFrontSelectDropDownSearchSuggestionActionGroup" stepKey="seeDropDownSearchSuggestion">
|
72 | 52 | <argument name="searchQuery" value="{{ApiProductDescription.value}}"/>
|
73 | 53 | </actionGroup>
|
74 | 54 | <!-- Assert Product storefront main page -->
|
75 |
| - <comment userInput="See product name" stepKey="seeProductNameComment"/> |
76 | 55 | <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProductName">
|
77 | 56 | <argument name="productName" value="$$simpleProduct.name$$"/>
|
78 | 57 | </actionGroup>
|
79 | 58 | <!-- Go to the catalog search term page -->
|
80 |
| - <comment userInput="Go to the catalog search term page" stepKey="goToSearchTermPageComment3"/> |
81 | 59 | <amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/>
|
82 | 60 | <waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/>
|
83 | 61 | <!-- Filter the search term -->
|
84 |
| - <comment userInput="Filter search term" stepKey="filterSearchTermComment2"/> |
85 | 62 | <actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByThirdSearchQuery">
|
86 | 63 | <argument name="searchQuery" value="{{ApiProductDescription.value}}"/>
|
87 | 64 | </actionGroup>
|
88 | 65 | <!-- Assert Search Term in grid -->
|
89 |
| - <comment userInput="Check is search term in grid or not" stepKey="isSearchTermInGridComment"/> |
90 | 66 | <see stepKey="seeSearchTermInGrid" selector="{{AdminCatalogSearchTermIndexSection.gridRow}}" userInput="{{ApiProductDescription.value}}" />
|
91 | 67 | <see selector="{{AdminCatalogSearchTermIndexSection.numberOfSearchTermResults}}" userInput="1" stepKey="seeNumberOfSearchTermResultInGrid"/>
|
92 | 68 | </test>
|
|
0 commit comments