You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: tests/acceptance/users.feature
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -16,77 +16,77 @@ Feature: users
16
16
Scenario: Create a add new user
17
17
Given There is a add user link
18
18
When I create new user with fields Name "register", Login Name "register", Password "register" and Email "[email protected]"
19
-
And I Save the user
20
-
Then I should wait for the title "Users" and see the message "User successfully saved."
19
+
And I Save the user
20
+
Then I should see the "User successfully saved." message
21
21
22
22
Scenario: Edit user
23
23
Given I search and select the user with user name "register"
24
24
When I set name as an "Editor" and User Group as "Editor"
25
-
And I Save the user
26
-
Then I should wait for the title "Users" and see the message "User successfully saved."
25
+
And I Save the user
26
+
Then I should see the "User successfully saved." message
27
27
28
28
Scenario: Block a User
29
29
Given I have a user with user name "register"
30
30
When I block the user
31
-
Then I wait for the title "Users" and see the message "User blocked."
31
+
Then I should see the "User blocked." message
32
32
33
-
Scenario: Unblock user
34
-
Given I have a blocked user with user name "register"
35
-
When I unblock the user
36
-
Then I wait for the title "Users" and see the message "User enabled."
33
+
# Scenario: Unblock user
34
+
# Given I have a blocked user with user name "register"
35
+
# When I unblock the user
36
+
# Then I should see the "User enabled." message
37
37
38
38
Scenario: Delete user
39
39
Given I have a user with user name "Editor"
40
40
When I Delete the user "Editor"
41
-
Then I confirm the user should have been deleted by getting the title "Users" and see the message "1 user successfully deleted."
41
+
Then I should see the "1 user successfully deleted." message
42
42
43
43
Scenario: Create super admin and login into the backend
44
44
Given There is a add user link
45
45
And I fill a super admin with fields Name "prital", Login Name "prital", Password "prital", and Email "[email protected]"
46
46
When I set assigned user group as an Administrator
47
-
And I Save the user
47
+
And I Save the user
48
48
Then Login in backend with username "prital" and password "prital"
49
49
50
50
Scenario: Create User without username fails
51
51
Given There is a add user link
52
52
When I don't fill Login Name but fulfill remaining mandatory fields: Name "piyu", Password "piyu" and Email "[email protected]"
53
-
And I Save the user
53
+
And I Save the user
54
54
Then I see the title "Users: New"
55
55
But I see the alert error "Invalid field: Login Name"
56
56
57
57
Scenario: Create group
58
58
Given There is a add new group link
59
59
When I fill Group Title as a "Gsoc"
60
60
And I save the Group
61
-
Then I should wait for "Users: Groups" title and see the message "Group successfully saved."
61
+
Then I should see the "Group successfully saved." message
62
62
63
63
Scenario: Edit group
64
64
Given I search and select the Group with name "Gsoc"
65
65
And I set group Title as a "Gsoc_admin"
66
66
When I save the Group
67
-
Then I should wait for "Users: Groups" title and see the message "Group successfully saved."
67
+
Then I should see the "Group successfully saved." message
68
68
69
69
Scenario: Delete Group
70
70
Given I search and select the Group with name "Gsoc_admin"
71
71
When I Delete the Group "Gsoc_admin"
72
-
Then I confirm the group should have been deleted by getting the title "Users: Groups" and see the message "1 User Group successfully deleted."
72
+
Then I should see the "1 User Group successfully deleted." message
73
73
74
74
Scenario: Create ACL level
75
75
Given There is a add viewing access level link
76
76
When I fill Level Title as a "joomla" and set Access as a public
77
77
And I save the Access Level
78
-
Then I wait for the title "Users: Viewing Access Levels"see the message "Access level successfully saved."
78
+
Then I should see the "Access level successfully saved." message
79
79
80
80
Scenario: Edit ACL
81
81
Given I search and select the Access Level with name "joomla"
82
82
And I set Access Level title as a "Gsoc_joomla"
83
-
When I save Access Level
84
-
Then I wait for the title "Users: Viewing Access Levels" and see the message "Access level successfully saved."
83
+
When I save the Access Level
84
+
Then I should see the "Access level successfully saved." message
85
85
86
86
Scenario: Delete ACL
87
87
Given I search and select the Access Level with name "Gsoc_joomla"
88
88
When I Delete the Access level "Gsoc_joomla"
89
-
Then I confirm the Access Level have been deleted by getting the title "Users: Viewing Access Levels" and see the message "1 View Access Level successfully removed."
89
+
Then I should see the "1 View Access Level successfully removed." message
0 commit comments