@scope_visualization
@susemanager
@uyuni
Feature: 0083 - Manage users
File name: srv_users.feature
Relative path: secondary/srv_users.feature
When
I follow the left menu "Users > User List > Active"
00:00:00.277
Then
I should see a "Active Users" text
00:00:00.196
And
I should see a "Create User" link
00:00:00.014
And
I should see a "User List" link in the left menu
00:00:00.035
And
I should see a "Active" link in the left menu
00:00:00.026
And
I should see a "Deactivated" link in the left menu
00:00:00.026
And
I should see a "All" link in the left menu
00:00:00.028
And
I should see a "admin" link in the table first column
00:00:00.012
And
I should see a "Download CSV" link
00:00:00.013
When
I follow the left menu "Users > User List > Active"
00:00:00.083
And
I follow "Create User"
00:00:00.318
And
I enter "user1" as "login"
00:00:00.062
And
I enter "user1" as "desiredpassword"
00:00:00.061
And
I enter "user1" as "desiredpasswordConfirm"
00:00:00.065
And
I select "Mr." from "prefix"
00:00:00.060
And
I enter "Test" as "firstNames"
00:00:00.064
And
I enter "User" as "lastName"
00:00:00.064
And
I enter "galaxy-noise@localhost" as "email"
00:00:00.081
And
I click on "Create Login"
00:00:06.389
Then
I should see a "Account user1 created, login information sent to galaxy-noise@localhost" text
00:00:00.187
And
I should see a "user1" link
00:00:00.014
And
I should see a "normal user" text
00:00:00.175
Given
I am authorized for the "Admin" section
00:00:01.681
When
I follow the left menu "Users > User List > Active"
00:00:00.207
And
I follow "user1"
00:00:00.553
Then
I should see a "User Details" text
00:00:00.079
And
I should see a "Delete User" link
00:00:00.014
And
I should see a "Deactivate User" link
00:00:00.012
And
I should see a "Details" link
00:00:00.016
And
I should see a "System Groups" link
00:00:00.016
And
I should see a "Systems" link in the content area
00:00:00.028
And
I should see a "Channel Permissions" link
00:00:00.012
And
I should see a "Preferences" link in the content area
00:00:00.025
And
I should see a "Addresses" link
00:00:00.016
And
I should see a "user1" text
00:00:00.074
And
option "Mr." is selected as "prefix"
00:00:00.071
And
I should see "Test" in field identified by "firstNames"
00:00:00.025
And
I should see "User" in field identified by "lastName"
00:00:00.025
And
I should see a "galaxy-noise@localhost" text
00:00:00.072
And
I should see a "Administrative Roles" text
00:00:00.073
And
I should see a "Roles:" text
00:00:00.077
And
I should see a "Created:" text
00:00:00.074
And
I should see a "Last Sign In:" text
00:00:00.075
When
I follow the left menu "Users > User List > Active"
0s
And
I follow "user1"
0s
When
the "role_satellite_admin" checkbox should be disabled
0s
And
I check "role_org_admin"
0s
And
I check "role_system_group_admin"
0s
And
I check "role_channel_admin"
0s
And
I check "role_activation_key_admin"
0s
And
I check "role_config_admin"
0s
And
I click on "Update"
0s
Then
the "role_satellite_admin" checkbox should be disabled
0s
And
I should see a "SUSE Multi-Linux Manager Administrator" text
0s
And
I should see "role_org_admin" as checked
0s
And
I should see a "Organization Administrator" text
0s
And
I should see "role_system_group_admin" as checked
0s
And
I should see a "System Group Administrator" text
0s
And
I should see "role_channel_admin" as checked
0s
And
I should see a "Channel Administrator" text
0s
And
I should see "role_activation_key_admin" as checked
0s
And
I should see a "Activation Key Administrator" text
0s
And
I should see "role_config_admin" as checked
0s
And
I should see a "Configuration Administrator" text
0s
And
I should see "role_regular_user" as checked
0s
And
I should see a "Regular User" text
0s
When
I follow the left menu "Users > User List > Active"
00:00:00.081
And
I follow "user1"
00:00:00.296
When
the "role_satellite_admin" checkbox should be disabled
00:00:10.006
And
I check "role_org_admin"
00:00:00.090
And
I check "role_system_group_admin"
00:00:00.089
And
I check "role_channel_admin"
00:00:00.084
And
I check "role_activation_key_admin"
00:00:00.086
And
I check "role_config_admin"
00:00:00.087
And
I click on "Update"
00:00:00.829
Then
the "role_satellite_admin" checkbox should be disabled
00:00:10.010
And
I should see a "Uyuni Administrator" text
00:00:00.076
And
I should see "role_org_admin" as checked
00:00:00.017
And
I should see a "Organization Administrator" text
00:00:00.072
And
I should see "role_system_group_admin" as checked
00:00:00.018
And
I should see a "System Group Administrator" text
00:00:00.077
And
I should see "role_channel_admin" as checked
00:00:00.017
And
I should see a "Channel Administrator" text
00:00:00.074
And
I should see "role_activation_key_admin" as checked
00:00:00.017
And
I should see a "Activation Key Administrator" text
00:00:00.072
And
I should see "role_config_admin" as checked
00:00:00.018
And
I should see a "Configuration Administrator" text
00:00:00.072
And
I should see "role_regular_user" as checked
00:00:00.021
And
I should see a "Regular User" text
00:00:00.073
@scope_visualization
Scenario: Fail to deactivate organization administrator
When
I follow the left menu "Users > User List > Active"
00:00:00.078
And
I follow "user1"
00:00:00.480
When
I follow "Deactivate User"
00:00:00.449
Then
I should see a "This action will deactivate this user. This user will no longer be able to log in or perform actions unless it is reactivated." text
00:00:00.056
When
I click on "Deactivate User"
00:00:00.592
Then
I should see a "You cannot deactivate another organization administrator. Please remove the 'Organization Administrator' role from this user before attempting to deactivate their account." text
00:00:00.080
When
I follow "Deactivated"
00:00:00.363
Then
I should see a "No deactivated users." text
00:00:00.061
When
I follow the left menu "Users > User List > Active"
00:00:00.078
And
I follow "user1"
00:00:00.478
When
I uncheck "role_org_admin"
00:00:10.087
And
I click on "Update"
00:00:00.664
Then
I should see "role_org_admin" as unchecked
00:00:00.019
And
I should see "role_system_group_admin" as checked
00:00:00.018
And
I should see "role_channel_admin" as checked
00:00:00.020
And
I should see "role_activation_key_admin" as checked
00:00:00.020
And
I should see "role_config_admin" as checked
00:00:00.019
And
I should see "role_regular_user" as checked
00:00:00.019
When
I follow the left menu "Users > User List > Active"
00:00:00.086
And
I follow "user1"
00:00:00.514
Then
I should see "role_org_admin" as unchecked
00:00:00.018
When
I follow "Deactivate User"
00:00:00.355
Then
I should see a "This action will deactivate this user. This user will no longer be able to log in or perform actions unless it is reactivated." text
00:00:00.053
When
I click on "Deactivate User"
00:00:00.597
Then
I should see a "Active Users" text
00:00:00.184
And
I should not see a "user1" link
00:00:00.009
When
I follow "Deactivated"
00:00:00.303
Then
I should see a "Deactivated Users" text
00:00:00.073
And
I should see a "user1" link
00:00:00.009
When
I follow "All"
00:00:00.337
Then
I should see a "user1" link
00:00:00.009
When
I follow the left menu "Users > User List > Active"
0s
And
I follow "Deactivated"
0s
And
I follow "user1"
0s
Then
I should see a "Reactivate User" link
0s
When
I follow "Reactivate User"
0s
Then
I should see a "This action will allow this user to access SUSE Multi-Linux Manager. This user will retain all permissions, roles, and data that he or she had before being deactivated." text
0s
When
I click on "Reactivate User"
0s
Then
I should see a "Active Users" text
0s
And
I should see a "user1" link
0s
When
I follow "Deactivated"
0s
Then
I should not see a "user1" link
0s
When
I follow the left menu "Users > User List > Active"
00:00:00.077
And
I follow "Deactivated"
00:00:00.269
And
I follow "user1"
00:00:00.400
Then
I should see a "Reactivate User" link
00:00:00.012
When
I follow "Reactivate User"
00:00:00.435
Then
I should see a "This action will allow this user to access Uyuni. This user will retain all permissions, roles, and data that he or she had before being deactivated." text
00:00:00.057
When
I click on "Reactivate User"
00:00:00.069
Then
I should see a "Active Users" text
00:00:00.708
And
I should see a "user1" link
00:00:00.011
When
I follow "Deactivated"
00:00:00.292
Then
I should not see a "user1" link
00:00:00.005
When
I follow the left menu "Users > User List > Active"
00:00:00.079
And
I follow "user1"
00:00:00.440
When
I follow "Delete User"
00:00:00.344
Then
I should see a "Confirm User Deletion" text
00:00:00.054
And
I should see a "This will delete this user permanently." text
00:00:00.051
When
I click on "Delete User"
00:00:00.600
Then
I should see a "Active Users" text
00:00:00.178
And
I should not see a "user1" link
00:00:00.005
Given
I am authorized as "testing" with password "testing"
00:00:02.398
When
I follow the left menu "Home > My Preferences"
00:00:00.079
Then
I should see a "CSV Files" text
00:00:00.113
And
I should see a "Configure a separator character to be used in downloadable CSV files:" text
00:00:00.126
And
I should see a "Comma" text
00:00:00.101
And
I should see a "Semicolon" text
00:00:00.098
@scope_visualization
Scenario: Configure the CSV separator char to semicolon
Given
I am authorized as "testing" with password "testing"
00:00:00.465
When
I follow the left menu "Home > My Preferences"
00:00:00.092
And
I choose ";"
00:00:00.072
And
I click on "Save Preferences"
00:00:00.447
Then
I should see a "Preferences modified" text
00:00:00.105
And
radio button "radio-semicolon" should be checked
00:00:00.022
@scope_visualization
Scenario: Cleanup: configure the CSV separator char to comma
Given
I am authorized as "testing" with password "testing"
00:00:00.506
When
I follow the left menu "Home > My Preferences"
00:00:00.069
And
I choose ","
00:00:00.058
And
I click on "Save Preferences"
00:00:00.353
Then
I should see a "Preferences modified" text
00:00:00.104
And
radio button "radio-comma" should be checked
00:00:00.022