-
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 #2763 from magento-pangolin/RE-develop-pr
[pangolin] Weekly RE-develop functional tests
- Loading branch information
Showing
54 changed files
with
2,438 additions
and
48 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions
31
.../tests/functional/Magento/FunctionalTest/Backend/ActionGroup/SecondaryGridActionGroup.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,31 @@ | ||
<?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="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd"> | ||
<!-- Action group to delete an item given that items name --> | ||
<!-- Must already be on the admin page containing the grid --> | ||
<actionGroup name="deleteEntitySecondaryGrid"> | ||
<arguments> | ||
<argument name="name" type="string"/> | ||
<argument name="searchInput" type="string"/> | ||
</arguments> | ||
|
||
<!-- search for the name --> | ||
<click stepKey="resetFilters" selector="{{AdminSecondaryGridSection.resetFilters}}"/> | ||
<fillField stepKey="fillIdentifier" selector="{{searchInput}}" userInput="{{name}}"/> | ||
<click stepKey="searchForName" selector="{{AdminSecondaryGridSection.searchButton}}"/> | ||
<click stepKey="clickResult" selector="{{AdminSecondaryGridSection.firstRow}}"/> | ||
<waitForPageLoad stepKey="waitForTaxRateLoad"/> | ||
|
||
<!-- delete the rule --> | ||
<click stepKey="clickDelete" selector="{{AdminStoresMainActionsSection.deleteButton}}"/> | ||
<click stepKey="clickOk" selector="{{AdminConfirmationModalSection.ok}}"/> | ||
<see stepKey="seeSuccess" selector="{{AdminCategoryMessagesSection.SuccessMessage}}" userInput="deleted"/> | ||
</actionGroup> | ||
</actionGroups> |
17 changes: 17 additions & 0 deletions
17
...nce/tests/functional/Magento/FunctionalTest/Backend/Section/AdminSecondaryGridSection.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,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd"> | ||
<section name="AdminSecondaryGridSection"> | ||
<element name="resetFilters" type="button" selector="[title='Reset Filter']"/> | ||
<element name="taxIdentifierSearch" type="input" selector=".col-code .admin__control-text"/> | ||
<element name="searchButton" type="input" selector=".admin__filter-actions [title='Search']"/> | ||
<element name="firstRow" type="block" selector="tr[data-role='row']"/> | ||
</section> | ||
</sections> |
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
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
23 changes: 0 additions & 23 deletions
23
...nce/tests/functional/Magento/FunctionalTest/Bundle/Section/AdminProductCatalogSection.xml
This file was deleted.
Oops, something went wrong.
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.