@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Feature: 0032 - Redfish Power management
File name: srv_power_management_redfish.feature
Relative path: secondary/srv_power_management_redfish.feature
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Save power management values for Redfish
Given
I am on the Systems overview page of this "sle_minion"
00:00:01.715
When
I follow "Provisioning" in the content area
00:00:00.077
And
I follow "Power Management" in the content area
00:00:00.075
And
I enter the controller hostname as the redfish server address
00:00:00.110
And
I enter "ipmiusr" as "powerUsername"
00:00:00.057
And
I enter "test" as "powerPassword"
00:00:00.055
And
I select "Redfish" from "powerType"
00:00:00.082
And
I click on "Save"
00:00:00.530
Then
I should see a "Power settings saved" text
00:00:00.071
And
the cobbler report should contain ":8443" for "sle_minion"
00:00:03.322
And
the cobbler report should contain "Power Management Username : ipmiusr" for "sle_minion"
00:00:04.999
And
the cobbler report should contain "Power Management Password : test" for "sle_minion"
00:00:03.210
And
the cobbler report should contain "Power Management Type : redfish" for "sle_minion"
00:00:03.208
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Test Redfish functions
When
I follow "Provisioning" in the content area
00:00:00.074
And
I follow "Power Management" in the content area
00:00:00.065
And
I click on "Power On"
00:00:00.895
And
I click on "Get status"
00:00:00.997
Then
I should see the power is "On"
00:00:00.026
When
I click on "Power Off"
00:00:01.024
Then
I should see a "system has been powered off" text
00:00:00.069
And
I should see the power is "Unknown"
00:00:00.023
When
I click on "Get status"
00:00:01.014
Then
I should see the power is "Off"
00:00:00.024
When
I click on "Power On"
00:00:01.323
Then
I should see a "system has been powered on" text
00:00:00.081
When
I click on "Get status"
00:00:00.891
Then
I should see the power is "On"
00:00:00.022
When
I click on "Reboot"
00:00:06.284
Then
I should see a "system has been rebooted" text
00:00:00.070
When
I click on "Get status"
00:00:00.825
Then
I should see the power is "On"
00:00:00.023
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Check power management SSM configuration for Redfish
When
I follow the left menu "Systems > System List > All"
00:00:00.172
And
I click on the clear SSM button
00:00:00.057
And
I check the "sle_minion" client
00:00:00.444
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.547
And
I follow "Configure power management" in the content area
00:00:00.074
Link uyuni-master-suse-minion.sumaci.aws is not visible (ScriptError) ./features/step_definitions/navigation_steps.rb:758:in `/^I should see a "([^"]*)" link$/' ./features/step_definitions/setup_steps.rb:247:in `/^I should see "([^"]*)" as link$/' features/secondary/srv_power_management_redfish.feature:60:in `I should see "sle_minion" as link'
And
I should see a "Change Power Management Configuration" text
0s
And
I should see a "Type" text
0s
And
I should see a "Network address" text
0s
And
I should see a "Username" text
0s
And
I should see a "Password" text
0s
And
I should see a "System identifier" text
0s
And
I should see a "Update" button
0s
When
I enter "testing" as "powerUsername"
0s
And
I enter "qwertz" as "powerPassword"
0s
And
I click on "Update"
0s
Then
I should see a "Configuration successfully saved for 1 system(s)" text
0s
And
the cobbler report should contain "Power Management Username : testing" for "sle_minion"
0s
And
the cobbler report should contain "Power Management Password : qwertz" for "sle_minion"
0s
And
the cobbler report should contain ":8443" for "sle_minion"
0s
And
the cobbler report should contain "Power Management Type : redfish" for "sle_minion"
0s
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Check power management SSM operation for Redfish
And
I follow the left menu "Systems > System Set Manager > Overview"
00:00:00.099
When
I follow "power management operations" in the content area
00:00:00.083
Link uyuni-master-suse-minion.sumaci.aws is not visible (ScriptError) ./features/step_definitions/navigation_steps.rb:758:in `/^I should see a "([^"]*)" link$/' ./features/step_definitions/setup_steps.rb:247:in `/^I should see "([^"]*)" as link$/' features/secondary/srv_power_management_redfish.feature:80:in `I should see "sle_minion" as link'
And
I should see a "Power On" button
0s
And
I should see a "Power Off" button
0s
And
I should see a "Reboot" button
0s
@skip_if_github_validation
@scope_power_management
@scope_cobbler
@sle_minion
Scenario: Cleanup: reset Redfish values
Given
I want to operate on this "sle_minion"
00:00:00.971
When
I set power management value "" for "powerAddress"
00:00:01.003
And
I set power management value "" for "powerUsername"
00:00:00.965
And
I set power management value "" for "powerPassword"
00:00:00.970
And
I set power management value "ipmilan" for "powerType"
00:00:00.969
Then
the cobbler report should contain "Power Management Address :" for "sle_minion"
00:00:03.219
And
the cobbler report should contain "Power Management Username :" for "sle_minion"
00:00:04.531
And
the cobbler report should contain "Power Management Password :" for "sle_minion"
00:00:03.338
And
the cobbler report should contain "Power Management Type : ipmilan" for "sle_minion"
00:00:03.174