File tree Expand file tree Collapse file tree 4 files changed +57
-0
lines changed
app/code/Magento/Backend/Test/Mftf Expand file tree Collapse file tree 4 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminClickLogoActionGroup" >
12
+ <click selector =" {{AdminMenuSection.logo}}" stepKey =" clickLogoInAdmin" />
13
+ <seeInCurrentUrl url =" {{AdminDashboardPage.url}}" stepKey =" seeAdminDashboardUrl" />
14
+ </actionGroup >
15
+ </actionGroups >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <pages xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/PageObject.xsd" >
11
+ <page name =" AdminSetupWizardPage" url =" admin/backendapp/redirect/app/setup/" area =" admin" module =" Magento_Backend" />
12
+ </pages >
Original file line number Diff line number Diff line change 9
9
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
11
<section name =" AdminMenuSection" >
12
+ <element name =" logo" type =" button" selector =" .menu-wrapper a.logo" />
12
13
<element name =" catalog" type =" button" selector =" #menu-magento-catalog-catalog" />
13
14
<element name =" catalogProducts" type =" button" selector =" #nav li[data-ui-id='menu-magento-catalog-catalog-products']" />
14
15
<element name =" customers" type =" button" selector =" #menu-magento-customer-customer" />
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
+ <test name =" AdminLogoLinkSetupWizardPageTest" >
12
+ <annotations >
13
+ <features value =" Backend" />
14
+ <stories value =" Logo link on Setup Wizard Page" />
15
+ <title value =" Check active Logo link on Setup Wizard Page" />
16
+ <description value =" Check active Logo link on Setup Wizard Page" />
17
+ </annotations >
18
+ <before >
19
+ <actionGroup ref =" LoginAsAdmin" stepKey =" loginToAdminPanel" />
20
+ </before >
21
+ <after >
22
+ <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutFromAdmin" />
23
+ </after >
24
+
25
+ <amOnPage url =" {{AdminSetupWizardPage.url}}" stepKey =" navigateToSetupWizardPage" />
26
+ <waitForPageLoad stepKey =" waitForSetupWizardPageLoaded" />
27
+ <actionGroup ref =" AdminClickLogoActionGroup" stepKey =" navigateToDashboard" />
28
+ </test >
29
+ </tests >
You can’t perform that action at this time.
0 commit comments