File tree Expand file tree Collapse file tree 3 files changed +64
-0
lines changed Expand file tree Collapse file tree 3 files changed +64
-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
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" AdminOpenConfigurationPageActionGroup" >
11
+ <amOnPage url =" {{AdminConfigurationAdminSectionPage.url}}" stepKey =" goToConfigurationPage" />
12
+ <waitForPageLoad stepKey =" waitForPageLoad" />
13
+ </actionGroup >
14
+ </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
+ <pages xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/PageObject.xsd" >
9
+ <page name =" AdminConfigurationAdminSectionPage" url =" admin/system_config/edit/section/admin" module =" Magento_Config" area =" admin" >
10
+ <section name =" AdminSection" />
11
+ </page >
12
+ </pages >
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 =" AdminLockAdminUserEntityTest" >
12
+ <annotations >
13
+ <features value =" User" />
14
+ <stories value =" Lock admin user during login" />
15
+ <title value =" Lock admin user after entering incorrect password specified number of times" />
16
+ <description value =" Lock admin user after entering incorrect password specified number of times" />
17
+ <group value =" user" />
18
+ <group value =" mtf_migrated" />
19
+ </annotations >
20
+
21
+ <before >
22
+ <actionGroup ref =" LoginAsAdmin" stepKey =" logIn" />
23
+ </before >
24
+ <after >
25
+ <actionGroup ref =" logout" stepKey =" logOut" />
26
+ </after >
27
+
28
+ <!-- Create New User-->
29
+ <actionGroup ref =" AdminOpenNewUserPageActionGroup" stepKey =" goToNewUserPage" />
30
+ <actionGroup ref =" AdminFillNewUserFormRequiredFieldsActionGroup" stepKey =" fillNewUserForm" >
31
+ <argument name =" user" value =" NewAdminUser" />
32
+ </actionGroup >
33
+ <actionGroup ref =" AdminClickSaveButtonOnUserFormActionGroup" stepKey =" saveNewUser" />
34
+
35
+ <actionGroup ref =" AdminOpenConfigurationPageActionGroup" stepKey =" goToConfigurationPage" />
36
+
37
+ </test >
38
+ </tests >
You can’t perform that action at this time.
0 commit comments