@flaky
@scope_visualization
@scope_salt
@skip_if_containerized_server
Feature: 0036 - Create organizations, users, groups, and activation keys using Salt states
File name: srv_user_configuration_salt_states.feature
Relative path: secondary/srv_user_configuration_salt_states.feature
@flaky
@scope_visualization
@scope_salt
Scenario: Organization my_org was correctly created
Given
I am authorized as "my_org_user" with password "my_org_user"
00:00:02.216
When
I follow the left menu "Home > My Organization"
00:00:00.068
Then
I should see a "my_org" text in the content area
00:00:00.026
When
I follow the left menu "Home > My Organization > Organization Trusts"
00:00:00.074
Then
I should see a "my_org2" text in the content area
00:00:00.021
@flaky
@scope_visualization
@scope_salt
Scenario: Organization my_org2 was correctly created
Given
I am authorized as "my_org_user2" with password "my_org_user2"
00:00:03.605
When
I follow the left menu "Home > My Organization"
00:00:00.058
Then
I should see a "my_org2" text in the content area
00:00:00.023
When
I follow the left menu "Home > My Organization > Organization Trusts"
00:00:00.067
Then
I should see a "my_org" text in the content area
00:00:00.022
@flaky
@scope_visualization
@scope_salt
Scenario: Group was correctly created
Given
I am authorized for the "Admin" section
00:00:02.090
When
I follow the left menu "Systems > System Groups"
00:00:00.134
When
I follow "minions_group"
00:00:00.390
Then
I should see a "minions_group" text
00:00:00.068
And
I should see a "System Group Status" text
00:00:00.066
@flaky
@scope_visualization
@scope_salt
Scenario: User was correctly created
Given
I am authorized as "user2" with password "user2"
00:00:01.962
When
I follow the left menu "Systems > System Groups"
00:00:00.113
And
I follow "minions_group"
00:00:00.295
Then
I should see a "minions_group" text
00:00:00.062
And
I should see a "System Group Status" text
00:00:00.059
@flaky
@scope_visualization
@scope_salt
Scenario: User channels permissions were assigned
Given
I am authorized as "user2" with password "user2"
00:00:00.334
When
I follow the left menu "Software > Channel List > All"
00:00:00.207
And
I follow "Show All Child Channels"
00:00:00.076
And
I follow "Fake-RPM-SUSE-Channel"
00:00:00.436
And
I follow "Managers"
00:00:02.903
Given
I am authorized for the "Admin" section
00:00:02.002
When
I follow the left menu "Users > User List > Active"
00:00:00.198
And
I follow "user2"
00:00:00.411
Then
I should see a "User Details" text
00:00:00.079
And
I should see "role_activation_key_admin" as checked
00:00:00.021
And
I should see "role_image_admin" as unchecked
00:00:00.017
And
I should see "role_config_admin" as checked
00:00:00.017
And
I should see "role_channel_admin" as unchecked
00:00:00.018
And
I should see "role_system_group_admin" as unchecked
00:00:00.017
@flaky
@scope_visualization
@scope_salt
Scenario: Activation Key was correctly created
When
I follow the left menu "Systems > Activation Keys"
00:00:00.113
And
I follow "My Activation Key created via Salt"
00:00:00.262
Then
I should see "10" in field identified by "usageLimit"
00:00:00.023
And
I should see "virtualization_host" as checked
00:00:00.020
And
I should see a "Push via SSH" text
00:00:00.076
And
I should see "enable-config-auto-deploy" as checked
00:00:00.019