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.
387-Test coverage of getting IDs of CMS page/blocks by GraphQL API
Merge remote-tracking branch 'origin/2.3-develop' into 387-test-coverage-cms-page # Conflicts: # app/code/Magento/CmsGraphQl/etc/schema.graphqls
- Loading branch information
Showing
1,019 changed files
with
29,811 additions
and
6,345 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> |
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/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> |
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.