-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4250 from magento-tsg-csl3/2.3-develop-pr22
[TSG-CSL3] For 2.3 (pr22)
- Loading branch information
Showing
15 changed files
with
727 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
app/code/Magento/Customer/Test/Mftf/Test/AdminExactMatchSearchInCustomerGridTest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> | ||
<test name="AdminExactMatchSearchInCustomerGridTest"> | ||
<annotations> | ||
<features value="Customer"/> | ||
<stories value="Customer Search"/> | ||
<title value="Admin customer grid exact match searching"/> | ||
<description value="Admin customer grid exact match searching with quotes in keyword"/> | ||
<severity value="MAJOR"/> | ||
<testCaseId value="MC-16335"/> | ||
<useCaseId value="MAGETWO-99605"/> | ||
<group value="customer"/> | ||
</annotations> | ||
<before> | ||
<createData entity="Simple_US_Customer" stepKey="createFirstCustomer"/> | ||
<createData entity="Simple_US_Customer" stepKey="createSecondCustomer"> | ||
<field key="firstname">"Jane Doe"</field> | ||
</createData> | ||
<actionGroup ref="LoginAsAdmin" stepKey="login"/> | ||
</before> | ||
<after> | ||
<deleteData createDataKey="createFirstCustomer" stepKey="deleteFirstCustomer"/> | ||
<deleteData createDataKey="createSecondCustomer" stepKey="deleteSecondCustomer"/> | ||
<amOnPage url="{{AdminCustomerPage.url}}" stepKey="openCustomersGridPage"/> | ||
<actionGroup ref="AdminResetFilterInCustomerAddressGrid" stepKey="clearCustomerGridFilter"/> | ||
<actionGroup ref="logout" stepKey="logout"/> | ||
</after> | ||
<!--Step 1: Go to Customers > All Customers--> | ||
<amOnPage url="{{AdminCustomerPage.url}}" stepKey="openCustomersGridPage"/> | ||
<!--Step 2: On Customers grid page search customer by keyword with quotes--> | ||
<actionGroup ref="searchAdminDataGridByKeyword" stepKey="searchCustomer"> | ||
<argument name="keyword" value="$$createSecondCustomer.firstname$$"/> | ||
</actionGroup> | ||
<!--Step 3: Check if customer is placed in a first row and clear grid filter--> | ||
<actionGroup ref="AdminAssertCustomerInCustomersGrid" stepKey="checkCustomerInGrid"> | ||
<argument name="text" value="$$createSecondCustomer.fullname$$"/> | ||
<argument name="row" value="1"/> | ||
</actionGroup> | ||
</test> | ||
</tests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.