forked from magento/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.4-develop' of https://github.com/magento/magento2ce i…
…nto B2B-272
- Loading branch information
Showing
1,445 changed files
with
23,037 additions
and
13,989 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
64 changes: 0 additions & 64 deletions
64
app/code/Magento/Backup/Test/Mftf/ActionGroup/CreateBackupActionGroup.xml
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
app/code/Magento/Backup/Test/Mftf/ActionGroup/CreateDatabaseBackupActionGroup.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,28 @@ | ||
<?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="CreateDatabaseBackupActionGroup"> | ||
<annotations> | ||
<description>Creates a Database Backup using provided Backup Entity.</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="backup" defaultValue="DatabaseBackup"/> | ||
</arguments> | ||
|
||
<click selector="{{AdminMainActionsSection.databaseBackup}}" stepKey="clickCreateBackupButton"/> | ||
<waitForElementVisible selector="{{AdminCreateBackupFormSection.backupNameField}}" stepKey="waitForForm"/> | ||
<fillField selector="{{AdminCreateBackupFormSection.backupNameField}}" userInput="{{backup.name}}" stepKey="fillBackupName"/> | ||
<click selector="{{AdminCreateBackupFormSection.ok}}" stepKey="clickOk"/> | ||
<waitForPageLoad time="120" stepKey="waitForBackupProcess"/> | ||
<see selector="{{AdminMessagesSection.success}}" userInput="You created the database backup." stepKey="seeSuccessMessage"/> | ||
<see selector="{{AdminGridTableSection.backupNameColumn}}" userInput="{{backup.name}}" stepKey="seeBackupInGrid"/> | ||
<see selector="{{AdminGridTableSection.backupTypeByName(backup.name)}}" userInput="{{backup.type}}" stepKey="seeBackupType"/> | ||
</actionGroup> | ||
</actionGroups> |
28 changes: 28 additions & 0 deletions
28
app/code/Magento/Backup/Test/Mftf/ActionGroup/CreateMediaBackupActionGroup.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,28 @@ | ||
<?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="CreateMediaBackupActionGroup"> | ||
<annotations> | ||
<description>Creates a Media Backup using provided Backup Entity.</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="backup" defaultValue="MediaBackup"/> | ||
</arguments> | ||
|
||
<click selector="{{AdminMainActionsSection.mediaBackup}}" stepKey="clickCreateBackupButton"/> | ||
<waitForElementVisible selector="{{AdminCreateBackupFormSection.backupNameField}}" stepKey="waitForForm"/> | ||
<fillField selector="{{AdminCreateBackupFormSection.backupNameField}}" userInput="{{backup.name}}" stepKey="fillBackupName"/> | ||
<click selector="{{AdminCreateBackupFormSection.ok}}" stepKey="clickOk"/> | ||
<waitForPageLoad time="120" stepKey="waitForBackupProcess"/> | ||
<see selector="{{AdminMessagesSection.success}}" userInput="You created the database and media backup." stepKey="seeSuccessMessage"/> | ||
<see selector="{{AdminGridTableSection.backupNameColumn}}" userInput="{{backup.name}}" stepKey="seeBackupInGrid"/> | ||
<see selector="{{AdminGridTableSection.backupTypeByName(backup.name)}}" userInput="{{backup.type}}" stepKey="seeBackupType"/> | ||
</actionGroup> | ||
</actionGroups> |
28 changes: 28 additions & 0 deletions
28
app/code/Magento/Backup/Test/Mftf/ActionGroup/CreateSystemBackupActionGroup.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,28 @@ | ||
<?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="CreateSystemBackupActionGroup"> | ||
<annotations> | ||
<description>Creates a System Backup using provided Backup Entity.</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="backup" defaultValue="SystemBackup"/> | ||
</arguments> | ||
|
||
<click selector="{{AdminMainActionsSection.systemBackup}}" stepKey="clickCreateBackupButton"/> | ||
<waitForElementVisible selector="{{AdminCreateBackupFormSection.backupNameField}}" stepKey="waitForForm"/> | ||
<fillField selector="{{AdminCreateBackupFormSection.backupNameField}}" userInput="{{backup.name}}" stepKey="fillBackupName"/> | ||
<click selector="{{AdminCreateBackupFormSection.ok}}" stepKey="clickOk"/> | ||
<waitForElementNotVisible selector=".loading-mask" time="300" stepKey="waitForBackupProcess"/> | ||
<see selector="{{AdminMessagesSection.success}}" userInput="You created the system backup." stepKey="seeSuccessMessage"/> | ||
<see selector="{{AdminGridTableSection.backupNameColumn}}" userInput="{{backup.name}}" stepKey="seeBackupInGrid"/> | ||
<see selector="{{AdminGridTableSection.backupTypeByName(backup.name)}}" userInput="{{backup.type}}" stepKey="seeBackupType"/> | ||
</actionGroup> | ||
</actionGroups> |
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
32 changes: 32 additions & 0 deletions
32
app/code/Magento/Braintree/Test/Mftf/ActionGroup/AdminCreateNewRoleActionGroup.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,32 @@ | ||
<?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="AdminCreateNewRoleActionGroup"> | ||
<annotations> | ||
<description>Creates a User Role using the provided Data.</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="role" type="string" defaultValue=""/> | ||
<argument name="resource" type="string" defaultValue="All"/> | ||
<argument name="scope" type="string" defaultValue="Custom"/> | ||
<argument name="websites" type="string" defaultValue="Main Website"/> | ||
</arguments> | ||
|
||
<click selector="{{AdminCreateRoleSection.create}}" stepKey="clickToAddNewRole"/> | ||
<fillField selector="{{AdminCreateRoleSection.name}}" userInput="{{role.name}}" stepKey="setRoleName"/> | ||
<fillField stepKey="setPassword" selector="{{AdminCreateRoleSection.password}}" userInput="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/> | ||
<click selector="{{AdminCreateRoleSection.roleResources}}" stepKey="clickToOpenRoleResources"/> | ||
<waitForPageLoad stepKey="waitForRoleResourcePage" time="5"/> | ||
<click stepKey="checkSales" selector="//a[text()='Sales']"/> | ||
<click selector="{{AdminCreateRoleSection.save}}" stepKey="clickToSaveRole"/> | ||
<waitForPageLoad stepKey="waitForPageLoad" time="10"/> | ||
<see userInput="You saved the role." stepKey="seeSuccessMessage"/> | ||
</actionGroup> | ||
</actionGroups> |
27 changes: 27 additions & 0 deletions
27
app/code/Magento/Braintree/Test/Mftf/ActionGroup/AdminDeleteRoleActionGroup.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,27 @@ | ||
<?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="AdminDeleteRoleActionGroup"> | ||
<annotations> | ||
<description>Deletes a User Role that contains the text 'Role'. PLEASE NOTE: The Action Group values are Hardcoded.</description> | ||
</annotations> | ||
<arguments> | ||
<argument name="role" defaultValue=""/> | ||
</arguments> | ||
|
||
<click stepKey="clickOnRole" selector="{{AdminDeleteRoleSection.theRole}}"/> | ||
<fillField stepKey="TypeCurrentPassword" selector="{{AdminDeleteRoleSection.current_pass}}" userInput="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/> | ||
<click stepKey="clickToDeleteRole" selector="{{AdminDeleteRoleSection.delete}}"/> | ||
<waitForAjaxLoad stepKey="waitForDeleteConfirmationPopup" time="5"/> | ||
<click stepKey="clickToConfirm" selector="{{AdminDeleteRoleSection.confirm}}"/> | ||
<waitForPageLoad stepKey="waitForPageLoad" time="10"/> | ||
<see stepKey="seeSuccessMessage" userInput="You deleted the role."/> | ||
</actionGroup> | ||
</actionGroups> |
62 changes: 0 additions & 62 deletions
62
app/code/Magento/Braintree/Test/Mftf/ActionGroup/AdminRoleActionGroup.xml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.