Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminOpenCatalogSearchTermIndexPageActionGroup">
<annotations>
<description>Open catalog search term index page.</description>
</annotations>

<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openCatalogSearchTermIndexPage"/>
<waitForPageLoad stepKey="waitForPageLoad"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
<deleteData createDataKey="createCategory1" stepKey="deleteCategory1"/>

<!-- Delete all search terms -->
<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/>
<waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage"/>
<comment userInput="Delete all search terms" stepKey="deleteAllSearchTermsComment"/>
<actionGroup ref="AdminDeleteAllSearchTermsActionGroup" stepKey="deleteAllSearchTerms"/>

Expand All @@ -53,8 +52,7 @@

<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin1"/>

<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage1"/>
<waitForPageLoad stepKey="waitForPageLoad1"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage1"/>

<actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByFirstSearchQuery1">
<argument name="searchQuery" value="$$createProduct1.name$$"/>
Expand All @@ -67,8 +65,7 @@
<argument name="searchTerm" value="UpdatedSearchTermData1"/>
</actionGroup>

<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage2"/>
<waitForPageLoad stepKey="waitForPageLoad3"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage2"/>

<actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByFirstSearchQuery2">
<argument name="searchQuery" value="{{UpdatedSearchTermData1.query_text}}"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
</after>

<!-- Go to the catalog search term page -->
<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/>
<waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage"/>

<!-- Select all created below search terms -->
<actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByFirstSearchQuery">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
<!-- Delete created product -->
<deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/>
<!-- Go to the catalog search term page -->
<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/>
<waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage"/>
<!-- Filter the search term -->
<actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByThirdSearchQuery">
<argument name="searchQuery" value="{{ApiProductDescription.value}}"/>
Expand All @@ -60,8 +59,7 @@
<argument name="productName" value="$$simpleProduct.name$$"/>
</actionGroup>
<!-- Go to the catalog search term page -->
<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/>
<waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage"/>
<!-- Filter the search term -->
<actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByThirdSearchQuery">
<argument name="searchQuery" value="{{ApiProductDescription.value}}"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
<deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/>

<!-- Go to the catalog search term page -->
<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/>
<waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage"/>

<!--Filter the search term -->
<actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByThirdSearchQuery">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
<deleteData createDataKey="product" stepKey="deleteProduct"/>

<!--Go to the catalog search term page -->
<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/>
<waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage"/>

<!--Filter the search term -->
<actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByThirdSearchQuery">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
<deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/>

<!-- Go to the catalog search term page -->
<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="openAdminCatalogSearchTermIndexPage"/>
<waitForPageLoad stepKey="waitForAdminCatalogSearchTermIndexPageLoad"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage"/>

<!--Filter the search term -->
<actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByThirdSearchQuery">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</actionGroup>
</before>
<after>
<amOnPage url="{{AdminCatalogSearchTermIndexPage.url}}" stepKey="navigateToSearchTermPage"/>
<actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="navigateToSearchTermPage"/>
<actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="findCreatedTerm">
<argument name="searchQuery" value="{{SearchTerm.query_text}}"/>
</actionGroup>
Expand Down