-
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.
🔃 [Magento Community Engineering] Community Contributions - 2.4-devel…
…op expedited Accepted Community Pull Requests: - #27399: Fixed the wrong behavior for a prompt modal when a user clicks on the modal overlay (by @serhiyzhovnir) - #26100: Fixed 24990: link doesn't redirect to dashboard (by @Usik2203) - #27493: Fix the minicart items actions alignment for tablet and desktop devices (by @vasilii-b) - #27492: Fixed tests for Magento\Framework\Stdlib\DateTime\DateTime (by @andrewbess) - #26397: Cleanup ObjectManager usage - Magento_Bundle (by @Bartlomiejsz) Fixed GitHub Issues: - #24990: Admin Panel logo link is not directing to admin dashboard page (reported by @Nagamaiah007) has been fixed in #26100 by @Usik2203 in 2.4-develop branch Related commits: 1. 5a5091c 2. 1818eaf 3. c98e03f 4. 8c672eb 5. b90f20c 6. 531a22f 7. 4336cf1 8. f39a494 9. 31bbf07 10. e1b0ff0
- Loading branch information
Showing
33 changed files
with
1,479 additions
and
1,143 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminClickLogoActionGroup.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,15 @@ | ||
<?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="AdminClickLogoActionGroup"> | ||
<click selector="{{AdminMenuSection.logo}}" stepKey="clickLogoInAdmin"/> | ||
<waitForPageLoad stepKey="waitForAdminDashboardPageLoaded"/> | ||
</actionGroup> | ||
</actionGroups> |
18 changes: 18 additions & 0 deletions
18
app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminNavigateToSetupWizardPageActionGroup.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,18 @@ | ||
<?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="AdminNavigateToSetupWizardPageActionGroup"> | ||
<annotations> | ||
<description>Open Setup Wizard Page.</description> | ||
</annotations> | ||
<amOnPage url="{{AdminSetupWizardPage.url}}" stepKey="navigateToSetupWizardPage"/> | ||
<waitForPageLoad stepKey="waitForSetupWizardPageLoaded"/> | ||
</actionGroup> | ||
</actionGroups> |
12 changes: 12 additions & 0 deletions
12
app/code/Magento/Backend/Test/Mftf/Page/AdminSetupWizardPage.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,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/PageObject.xsd"> | ||
<page name="AdminSetupWizardPage" url="admin/backendapp/redirect/app/setup/" area="admin" module="Magento_Backend"/> | ||
</pages> |
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
29 changes: 29 additions & 0 deletions
29
...Magento/Backend/Test/Mftf/Test/AdminRedirectToAdminPanelOnLogoClickFromWizardPageTest.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,29 @@ | ||
<?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="AdminRedirectToAdminPanelOnLogoClickFromWizardPageTest"> | ||
<annotations> | ||
<features value="Backend"/> | ||
<stories value="Navigate to dashboard from Setup Wizard Page"/> | ||
<title value="Navigate to dashboard after click on logo on Setup Wizard Page"/> | ||
<description value="Check navigate to dashboard after click on logo on Setup Wizard Page"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="AdminLoginActionGroup" stepKey="loginToAdminPanel"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/> | ||
</after> | ||
|
||
<actionGroup ref="AdminNavigateToSetupWizardPageActionGroup" stepKey="navigateToSetupWizardPage"/> | ||
<actionGroup ref="AdminClickLogoActionGroup" stepKey="clickOnLogo"/> | ||
<actionGroup ref="AssertAdminDashboardPageIsVisibleActionGroup" stepKey="checkTheDashboardPage"/> | ||
</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.