@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Feature: 0030 - IPMI Power management
File name: srv_power_management.feature
Relative path: secondary/srv_power_management.feature
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Check the power management page
Given
I am on the Systems overview page of this "sle_minion"
00:00:06.490
When
I follow "Provisioning" in the content area
00:00:00.080
And
I follow "Power Management" in the content area
00:00:00.065
Then
I should see a "Power Management Settings" text
00:00:00.166
And
I should see a "IPMI" text
00:00:00.155
And
I should see a "Save" button
00:00:00.024
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Save power management values
When
I enter "fakeipmi" as "powerAddress"
00:00:00.055
And
I enter "ipmiusr" as "powerUsername"
00:00:00.052
And
I enter "test" as "powerPassword"
00:00:00.049
And
I click on "Save"
00:00:00.552
Then
I should see a "Power settings saved" text
00:00:00.167
And
the cobbler report should contain "Power Management Address : fakeipmi" for "sle_minion"
00:00:03.519
And
the cobbler report should contain "Power Management Username : ipmiusr" for "sle_minion"
00:00:03.152
And
the cobbler report should contain "Power Management Password : test" for "sle_minion"
00:00:04.648
And
the cobbler report should contain "Power Management Type : ipmilan" for "sle_minion"
00:00:03.266
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Test IPMI functions
When
I follow "Provisioning" in the content area
00:00:00.060
And
I follow "Power Management" in the content area
00:00:00.057
And
I click on "Power On"
00:00:02.834
And
I click on "Get status"
00:00:00.716
Then
I should see the power is "On"
00:00:00.038
When
I click on "Power Off"
00:00:03.326
Then
I should see a "system has been powered off" text
00:00:00.164
And
I should see the power is "Unknown"
00:00:00.035
When
I click on "Get status"
00:00:00.606
Then
I should see the power is "Off"
00:00:00.035
When
I click on "Power On"
00:00:02.755
Then
I should see a "system has been powered on" text
00:00:00.169
When
I click on "Get status"
00:00:00.715
Then
I should see the power is "On"
00:00:00.040
When
I click on "Reboot"
00:00:10.186
Then
I should see a "system has been rebooted" text
00:00:00.167
When
I click on "Get status"
00:00:00.050
Then
I should see the power is "On"
00:00:00.037
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Check power management SSM configuration
When
I follow the left menu "Systems > System List > All"
00:00:00.145
And
I click on the clear SSM button
00:00:00.103
And
I check the "sle_minion" client
00:00:00.436
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.550
And
I follow "Configure power management" in the content area
00:00:00.067
Then
I should see "sle_minion" as link
00:00:00.015
And
I should see a "Change Power Management Configuration" text
00:00:00.173
And
I should see a "Type" text
00:00:00.171
And
I should see a "Network address" text
00:00:00.163
And
I should see a "Username" text
00:00:00.167
And
I should see a "Password" text
00:00:00.160
And
I should see a "System identifier" text
00:00:00.165
And
I should see a "Update" button
00:00:00.017
When
I enter "testing" as "powerUsername"
00:00:00.053
And
I enter "qwertz" as "powerPassword"
00:00:00.048
And
I click on "Update"
00:00:00.055
Then
I should see a "Configuration successfully saved for 1 system(s)" text
00:00:00.177
And
the cobbler report should contain "Power Management Username : testing" for "sle_minion"
00:00:03.571
And
the cobbler report should contain "Power Management Password : qwertz" for "sle_minion"
00:00:03.286
And
the cobbler report should contain "Power Management Address : fakeipmi" for "sle_minion"
00:00:03.166
And
the cobbler report should contain "Power Management Type : ipmilan" for "sle_minion"
00:00:03.192
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Check power management SSM operation
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.072
When
I follow "power management operations" in the content area
00:00:00.065
Then
I should see "sle_minion" as link
00:00:00.011
And
I should see a "Power On" button
00:00:00.016
And
I should see a "Power Off" button
00:00:00.016
And
I should see a "Reboot" button
00:00:00.016
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Cleanup: reset IPMI values
Given
I want to operate on this "sle_minion"
00:00:01.174
When
I set power management value "" for "powerAddress"
00:00:01.133
And
I set power management value "" for "powerUsername"
00:00:01.127
And
I set power management value "" for "powerPassword"
00:00:01.046
Then
the cobbler report should contain "Power Management Address :" for "sle_minion"
00:00:03.159
And
the cobbler report should contain "Power Management Username :" for "sle_minion"
00:00:03.185
And
the cobbler report should contain "Power Management Password :" for "sle_minion"
00:00:03.166
And
the cobbler report should contain "Power Management Type : ipmilan" for "sle_minion"
00:00:04.563