Skip to content

Commit b3a9e21

Browse files
committed
MQE-1476: Deliver weekly PR
1 parent e78348e commit b3a9e21

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

app/code/Magento/CatalogSearch/Test/Mftf/ActionGroup/StorefrontCatalogSearchActionGroup.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
<!-- Quick search the phrase and check if the result page contains correct information -->
1212
<actionGroup name="StorefrontCheckQuickSearchActionGroup">
1313
<arguments>
14-
<argument name="phrase" type="string"/>
14+
<argument name="phrase" />
1515
</arguments>
16-
<fillField stepKey="fillInput" selector="{{StorefrontQuickSearchResultsSection.searchTextBox}}" userInput="{{phrase}}"/>
17-
<submitForm selector="{{StorefrontQuickSearchResultsSection.searchTextBox}}" parameterArray="[]" stepKey="submitQuickSearch" />
16+
<submitForm selector="{{StorefrontQuickSearchSection.searchMiniForm}}" parameterArray="['q' => {{phrase}}]" stepKey="fillQuickSearch" />
1817
<seeInCurrentUrl url="{{StorefrontCatalogSearchPage.url}}" stepKey="checkUrl"/>
1918
<dontSeeInCurrentUrl url="form_key=" stepKey="checkUrlFormKey"/>
2019
<seeInTitle userInput="Search results for: '{{phrase}}'" stepKey="assertQuickSearchTitle"/>

app/code/Magento/Search/Test/Mftf/Test/AdminMassDeleteSearchTermEntityTest.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,27 @@
3939

4040
<!-- Select all created below search terms -->
4141
<actionGroup ref="searchTermFilterBySearchQuery" stepKey="filterByFirstSearchQuery">
42-
<argument name="searchQuery" value="$createFirstSearchTerm.query_text$"/>
42+
<argument name="searchQuery" value="$$createFirstSearchTerm.query_text$$"/>
4343
</actionGroup>
4444
<actionGroup ref="searchTermFilterBySearchQuery" stepKey="filterBySecondSearchQuery">
45-
<argument name="searchQuery" value="$createSecondSearchTerm.query_text$"/>
45+
<argument name="searchQuery" value="$$createSecondSearchTerm.query_text$$"/>
4646
</actionGroup>
4747
<actionGroup ref="searchTermFilterBySearchQuery" stepKey="filterByThirdSearchQuery">
48-
<argument name="searchQuery" value="$createThirdSearchTerm.query_text$"/>
48+
<argument name="searchQuery" value="$$createThirdSearchTerm.query_text$$"/>
4949
</actionGroup>
5050

5151
<!-- Delete created below search terms -->
5252
<actionGroup ref="deleteSearchTerm" stepKey="deleteSearchTerms"/>
5353

5454
<!-- Assert search terms are absent on the search term page -->
5555
<actionGroup ref="AssertSearchTermNotInGrid" stepKey="assertFirstSearchTermNotInGrid">
56-
<argument name="searchQuery" value="$createFirstSearchTerm.query_text$"/>
56+
<argument name="searchQuery" value="$$createFirstSearchTerm.query_text$$"/>
5757
</actionGroup>
5858
<actionGroup ref="AssertSearchTermNotInGrid" stepKey="assertSecondSearchTermNotInGrid">
59-
<argument name="searchQuery" value="$createSecondSearchTerm.query_text$"/>
59+
<argument name="searchQuery" value="$$createSecondSearchTerm.query_text$$"/>
6060
</actionGroup>
6161
<actionGroup ref="AssertSearchTermNotInGrid" stepKey="assertThirdSearchTermNotInGrid">
62-
<argument name="searchQuery" value="$createThirdSearchTerm.query_text$"/>
62+
<argument name="searchQuery" value="$$createThirdSearchTerm.query_text$$"/>
6363
</actionGroup>
6464

6565
<!-- Go to storefront page -->
@@ -68,15 +68,15 @@
6868

6969
<!-- Verify search term deletion on storefront -->
7070
<actionGroup ref="StorefrontCheckQuickSearchActionGroup" stepKey="quickSearchForFirstSearchTerm">
71-
<argument name="phrase" value="$createFirstSearchTerm.query_text$"/>
71+
<argument name="phrase" value="$$createFirstSearchTerm.query_text$$"/>
7272
</actionGroup>
7373
<actionGroup ref="StorefrontCheckSearchIsEmpty" stepKey="checkEmptyForFirstSearchTerm"/>
7474
<actionGroup ref="StorefrontCheckQuickSearchActionGroup" stepKey="quickSearchForSecondSearchTerm">
75-
<argument name="phrase" value="$createSecondSearchTerm.query_text$"/>
75+
<argument name="phrase" value="$$createSecondSearchTerm.query_text$$"/>
7676
</actionGroup>
7777
<actionGroup ref="StorefrontCheckSearchIsEmpty" stepKey="checkEmptyForSecondSearchTerm"/>
7878
<actionGroup ref="StorefrontCheckQuickSearchActionGroup" stepKey="quickSearchForThirdSearchTerm">
79-
<argument name="phrase" value="$createThirdSearchTerm.query_text$"/>
79+
<argument name="phrase" value="$$createThirdSearchTerm.query_text$$"/>
8080
</actionGroup>
8181
<actionGroup ref="StorefrontCheckSearchIsEmpty" stepKey="checkEmptyForThirdSearchTerm"/>
8282
</test>

0 commit comments

Comments
 (0)