-
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.
ENGCOM-4545: 21842: don't cache absolute file paths in validator fact…
…ory #21856 - Merge Pull Request #21856 from david-fuehr/magento2:issue-21842-dont-cache-absolute-file-paths - Merged commits: 1. 1106542 2. eb989e2 3. 7d0d01e 4. e266d9a 5. 83b34b8 6. f3d4d96 7. b77d8d0 8. 875fa4c
- Loading branch information
Showing
296 changed files
with
9,265 additions
and
775 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
21 changes: 21 additions & 0 deletions
21
app/code/Magento/AdminNotification/Test/Mftf/Data/AdminMenuData.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,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd"> | ||
<entity name="AdminMenuSystem"> | ||
<data key="pageTitle">System</data> | ||
<data key="title">Notifications</data> | ||
<data key="dataUiId">magento-backend-system</data> | ||
</entity> | ||
<entity name="AdminMenuSystemOtherSettingsNotifications"> | ||
<data key="pageTitle">Notifications</data> | ||
<data key="title">Notifications</data> | ||
<data key="dataUiId">magento-adminnotification-system-adminnotification</data> | ||
</entity> | ||
</entities> |
36 changes: 36 additions & 0 deletions
36
...code/Magento/AdminNotification/Test/Mftf/Test/AdminSystemNotificationNavigateMenuTest.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,36 @@ | ||
<?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="AdminSystemNotificationNavigateMenuTest"> | ||
<annotations> | ||
<features value="AdminNotification"/> | ||
<stories value="Menu Navigation"/> | ||
<title value="Admin system notification navigate menu test"/> | ||
<description value="Admin should be able to navigate to System > Notifications"/> | ||
<severity value="CRITICAL"/> | ||
<testCaseId value="MC-14125"/> | ||
<group value="menu"/> | ||
<group value="mtf_migrated"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="logout" stepKey="logout"/> | ||
</after> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToSystemNotificationPage"> | ||
<argument name="menuUiId" value="{{AdminMenuSystem.dataUiId}}"/> | ||
<argument name="submenuUiId" value="{{AdminMenuSystemOtherSettingsNotifications.dataUiId}}"/> | ||
</actionGroup> | ||
<actionGroup ref="AdminAssertPageTitleActionGroup" stepKey="seePageTitle"> | ||
<argument name="title" value="{{AdminMenuSystemOtherSettingsNotifications.pageTitle}}"/> | ||
</actionGroup> | ||
</test> | ||
</tests> |
21 changes: 21 additions & 0 deletions
21
app/code/Magento/Analytics/Test/Mftf/Data/AdminMenuData.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,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd"> | ||
<entity name="AdminMenuReports"> | ||
<data key="pageTitle">Reports</data> | ||
<data key="title">Reports</data> | ||
<data key="dataUiId">magento-reports-report</data> | ||
</entity> | ||
<entity name="AdminMenuReportsBusinessIntelligenceAdvancedReporting"> | ||
<data key="pageTitle">AdvancedReporting</data> | ||
<data key="title">AdvancedReporting</data> | ||
<data key="dataUiId">magento-analytics-advanced-reporting</data> | ||
</entity> | ||
</entities> |
35 changes: 35 additions & 0 deletions
35
app/code/Magento/Analytics/Test/Mftf/Test/AdminAdvancedReportingNavigateMenuTest.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,35 @@ | ||
<?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="AdminAdvancedReportingNavigateMenuTest"> | ||
<annotations> | ||
<features value="Analytics"/> | ||
<stories value="Menu Navigation"/> | ||
<title value="Admin advanced reporting navigate menu test"/> | ||
<description value="Admin should be able to navigate through advanced reporting admin menu to BI reports page"/> | ||
<severity value="CRITICAL"/> | ||
<testCaseId value="MC-14152"/> | ||
<group value="menu"/> | ||
<group value="mtf_migrated"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="logout" stepKey="logout"/> | ||
</after> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateAdvancedReportingPage"> | ||
<argument name="menuUiId" value="{{AdminMenuReports.dataUiId}}"/> | ||
<argument name="submenuUiId" value="{{AdminMenuReportsBusinessIntelligenceAdvancedReporting.dataUiId}}"/> | ||
</actionGroup> | ||
<switchToNextTab stepKey="switchToNewTab"/> | ||
<seeInCurrentUrl url="advancedreporting.rjmetrics.com/report" stepKey="seeAssertAdvancedReportingPageUrl"/> | ||
</test> | ||
</tests> |
17 changes: 17 additions & 0 deletions
17
app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminAssertPageTitleActionGroup.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. | ||
*/ | ||
--> | ||
|
||
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> | ||
<actionGroup name="AdminAssertPageTitleActionGroup"> | ||
<arguments> | ||
<argument name="title" type="string"/> | ||
</arguments> | ||
<see selector="{{AdminGridHeaders.title}}" userInput="{{title}}" stepKey="assertPageTitle"/> | ||
</actionGroup> | ||
</actionGroups> |
19 changes: 19 additions & 0 deletions
19
app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminNavigateMenuActionGroup.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,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="AdminNavigateMenuActionGroup"> | ||
<arguments> | ||
<argument name="menuUiId" type="string"/> | ||
<argument name="submenuUiId" type="string"/> | ||
</arguments> | ||
<click selector="{{AdminMenuSection.menuItem(menuUiId)}}" stepKey="clickOnMenuItem"/> | ||
<click selector="{{AdminMenuSection.menuItem(submenuUiId)}}" stepKey="clickOnSubmenuItem"/> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd"> | ||
<entity name="AdminMenuContent"> | ||
<data key="pageTitle">Content</data> | ||
<data key="title">Content</data> | ||
<data key="dataUiId">magento-backend-content</data> | ||
</entity> | ||
<entity name="AdminMenuContentDesignSchedule"> | ||
<data key="pageTitle">Store Design Schedule</data> | ||
<data key="title">Schedule</data> | ||
<data key="dataUiId">magento-backend-system-design-schedule</data> | ||
</entity> | ||
<entity name="AdminMenuDashboard"> | ||
<data key="pageTitle">Dashboard</data> | ||
<data key="title">Dashboard</data> | ||
<data key="dataUiId">magento-backend-dashboard</data> | ||
</entity> | ||
<entity name="AdminMenuStores"> | ||
<data key="pageTitle">Stores</data> | ||
<data key="title">Stores</data> | ||
<data key="dataUiId">magento-backend-stores</data> | ||
</entity> | ||
<entity name="AdminMenuStoresSettingsAllStores"> | ||
<data key="pageTitle">Stores</data> | ||
<data key="title">All Stores</data> | ||
<data key="dataUiId">magento-backend-system-store</data> | ||
</entity> | ||
<entity name="AdminMenuStoresSettingsConfiguration"> | ||
<data key="pageTitle">Configuration</data> | ||
<data key="title">Configuration</data> | ||
<data key="dataUiId">magento-config-system-config</data> | ||
</entity> | ||
<entity name="AdminMenuSystemToolsCacheManagement"> | ||
<data key="pageTitle">Cache Management</data> | ||
<data key="title">Cache Management</data> | ||
<data key="dataUiId">magento-backend-system-cache</data> | ||
</entity> | ||
</entities> |
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
36 changes: 36 additions & 0 deletions
36
app/code/Magento/Backend/Test/Mftf/Test/AdminContentScheduleNavigateMenuTest.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,36 @@ | ||
<?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="AdminContentScheduleNavigateMenuTest"> | ||
<annotations> | ||
<features value="Backend"/> | ||
<stories value="Menu Navigation"/> | ||
<title value="Admin content schedule navigate menu test"/> | ||
<description value="Admin should be able to navigate to Content > Schedule"/> | ||
<severity value="CRITICAL"/> | ||
<testCaseId value="MC-14117"/> | ||
<group value="menu"/> | ||
<group value="mtf_migrated"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="logout" stepKey="logout"/> | ||
</after> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToContentSchedulePage"> | ||
<argument name="menuUiId" value="{{AdminMenuContent.dataUiId}}"/> | ||
<argument name="submenuUiId" value="{{AdminMenuContentDesignSchedule.dataUiId}}"/> | ||
</actionGroup> | ||
<actionGroup ref="AdminAssertPageTitleActionGroup" stepKey="seePageTitle"> | ||
<argument name="title" value="{{AdminMenuContentDesignSchedule.pageTitle}}"/> | ||
</actionGroup> | ||
</test> | ||
</tests> |
33 changes: 33 additions & 0 deletions
33
app/code/Magento/Backend/Test/Mftf/Test/AdminDashboardNavigateMenuTest.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,33 @@ | ||
<?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="AdminDashboardNavigateMenuTest"> | ||
<annotations> | ||
<features value="Backend"/> | ||
<stories value="Menu Navigation"/> | ||
<title value="Admin dashboard navigate menu test"/> | ||
<description value="Admin should be able to navigate to Dashboard"/> | ||
<severity value="CRITICAL"/> | ||
<testCaseId value="MC-14116"/> | ||
<group value="menu"/> | ||
<group value="mtf_migrated"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="logout" stepKey="logout"/> | ||
</after> | ||
<click selector="{{AdminMenuSection.menuItem(AdminMenuDashboard.dataUiId)}}" stepKey="clickOnMenuItem"/> | ||
<actionGroup ref="AdminAssertPageTitleActionGroup" stepKey="seePageTitle"> | ||
<argument name="title" value="{{AdminMenuDashboard.pageTitle}}"/> | ||
</actionGroup> | ||
</test> | ||
</tests> |
36 changes: 36 additions & 0 deletions
36
app/code/Magento/Backend/Test/Mftf/Test/AdminStoresAllStoresNavigateMenuTest.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,36 @@ | ||
<?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="AdminStoresAllStoresNavigateMenuTest"> | ||
<annotations> | ||
<features value="Backend"/> | ||
<stories value="Menu Navigation"/> | ||
<title value="Admin stores all stores navigate menu test"/> | ||
<description value="Admin should be able to navigate to Stores > All Stores"/> | ||
<severity value="CRITICAL"/> | ||
<testCaseId value="MC-14118"/> | ||
<group value="menu"/> | ||
<group value="mtf_migrated"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="logout" stepKey="logout"/> | ||
</after> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToStoresAllStoresPage"> | ||
<argument name="menuUiId" value="{{AdminMenuStores.dataUiId}}"/> | ||
<argument name="submenuUiId" value="{{AdminMenuStoresSettingsAllStores.dataUiId}}"/> | ||
</actionGroup> | ||
<actionGroup ref="AdminAssertPageTitleActionGroup" stepKey="seePageTitle"> | ||
<argument name="title" value="{{AdminMenuStoresSettingsAllStores.pageTitle}}"/> | ||
</actionGroup> | ||
</test> | ||
</tests> |
36 changes: 36 additions & 0 deletions
36
app/code/Magento/Backend/Test/Mftf/Test/AdminStoresConfigurationNavigateMenuTest.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,36 @@ | ||
<?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="AdminStoresConfigurationNavigateMenuTest"> | ||
<annotations> | ||
<features value="Backend"/> | ||
<stories value="Menu Navigation"/> | ||
<title value="Admin stores configuration navigate menu test"/> | ||
<description value="Admin should be able to navigate to Stores > Configuration"/> | ||
<severity value="CRITICAL"/> | ||
<testCaseId value="MC-14119"/> | ||
<group value="menu"/> | ||
<group value="mtf_migrated"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="logout" stepKey="logout"/> | ||
</after> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToStoresConfigurationPage"> | ||
<argument name="menuUiId" value="{{AdminMenuStores.dataUiId}}"/> | ||
<argument name="submenuUiId" value="{{AdminMenuStoresSettingsConfiguration.dataUiId}}"/> | ||
</actionGroup> | ||
<actionGroup ref="AdminAssertPageTitleActionGroup" stepKey="seePageTitle"> | ||
<argument name="title" value="{{AdminMenuStoresSettingsConfiguration.pageTitle}}"/> | ||
</actionGroup> | ||
</test> | ||
</tests> |
Oops, something went wrong.