@scope_cobbler
@skip_if_github_validation
@flaky
Feature: 0082 - Edit Cobbler profiles
File name: srv_cobbler_profile.feature
Relative path: secondary/srv_cobbler_profile.feature
@scope_cobbler
@skip_if_github_validation
Scenario: Create a Cobbler distribution via the UI
When
I follow the left menu "Systems > Autoinstallation > Distributions"
00:00:00.215
And
I follow "Create Distribution"
00:00:00.297
When
I enter "isedistro_ui" as "label"
00:00:00.068
And
I enter "/var/autoinstall/Fedora_12_i386/" as "basepath"
00:00:00.081
And
I select "Fedora" from "installtype"
00:00:00.065
And
I click on "Create Autoinstallable Distribution"
00:00:00.618
Then
I should see a "Autoinstallable Distributions" text
00:00:00.074
And
I should see a "isedistro_ui" link
00:00:00.011
When
I follow the left menu "Systems > Autoinstallation > Distributions"
00:00:00.076
Then
I should see a "isedistro_ui" text
00:00:00.076
@scope_cobbler
@skip_if_github_validation
Scenario: Create a Cobbler profile via the UI
When
I follow the left menu "Systems > Autoinstallation > Profiles"
00:00:00.073
And
I follow "Create Kickstart Profile"
00:00:00.295
When
I enter "iseprofile_ui" as "kickstartLabel"
00:00:00.063
And
I click on "Next"
00:00:00.058
And
I click on "Next"
00:00:00.057
And
I enter "linux" as "rootPassword"
00:00:00.051
And
I enter "linux" as "rootPasswordConfirm"
00:00:00.055
And
I click on "Finish"
00:00:01.824
Then
I should see a "Autoinstallation: iseprofile_ui" text
00:00:00.083
And
I should see a "Autoinstallation Details" link
00:00:00.011
When
I follow the left menu "Systems > Autoinstallation > Profiles"
00:00:00.073
Then
I should see a "iseprofile_ui" text
00:00:00.071
@scope_cobbler
@skip_if_github_validation
Scenario: Change profile variables using the UI
When
I follow the left menu "Systems > Autoinstallation > Profiles"
00:00:00.066
And
I follow "iseprofile_ui"
00:00:00.444
And
I follow "Variables"
00:00:00.311
And
I enter "ise_ui_test=ISE_UI_TEST" as "variables"
00:00:00.076
And
I click on "Update Variables"
00:00:00.061
And
I refresh the page
00:00:10.385
Text 'ISE_UI_TEST' not found (ScriptError) ./features/step_definitions/navigation_steps.rb:697:in `/^I should see a "([^"]*)" text$/' features/secondary/srv_cobbler_profile.feature:59:in `I should see a "ISE_UI_TEST" text'
@scope_cobbler
@skip_if_github_validation
Scenario: Create a Cobbler distribution via the UI in the XML-RPC context
When
I follow the left menu "Systems > Autoinstallation > Distributions"
00:00:00.088
And
I follow "Create Distribution"
00:00:00.305
When
I enter "isedistro_api" as "label"
00:00:00.059
And
I enter "/var/autoinstall/Fedora_12_i386/" as "basepath"
00:00:00.078
And
I select "Fedora" from "installtype"
00:00:00.068
And
I click on "Create Autoinstallable Distribution"
00:00:00.645
Then
I should see a "Autoinstallable Distributions" text
00:00:00.079
And
I should see a "isedistro_api" link
00:00:00.012
When
I follow the left menu "Systems > Autoinstallation > Distributions"
00:00:00.072
Then
I should see a "isedistro_api" text
00:00:00.073
@scope_cobbler
@skip_if_github_validation
Scenario: Create a Cobbler profile via the UI in the XML-RPC context
When
I follow the left menu "Systems > Autoinstallation > Profiles"
00:00:00.074
And
I follow "Create Kickstart Profile"
00:00:00.324
When
I enter "iseprofile_api" as "kickstartLabel"
00:00:00.060
And
I click on "Next"
00:00:00.058
And
I click on "Next"
00:00:00.420
And
I enter "linux" as "rootPassword"
00:00:00.051
And
I enter "linux" as "rootPasswordConfirm"
00:00:00.053
And
I click on "Finish"
00:00:01.349
Then
I should see a "Autoinstallation: iseprofile_api" text
00:00:00.073
And
I should see a "Autoinstallation Details" link
00:00:00.011
When
I follow the left menu "Systems > Autoinstallation > Profiles"
00:00:00.070
Then
I should see a "iseprofile_api" text
00:00:00.068
@scope_cobbler
@skip_if_github_validation
Scenario: Cleanup: delete test profiles and distributions using API
When
I wait for "10" seconds
00:00:10.000
When
I delete profile and distribution using the API for "isedistro_ui" kickstart tree
00:00:01.263
When
I delete profile and distribution using the API for "isedistro_api" kickstart tree
00:00:01.500
When
I follow the left menu "Systems > Autoinstallation > Distributions"
00:00:00.070
And
I should not see a "isedistro_ui" text
00:00:00.060
And
I should not see a "isedistro_api" text
00:00:00.056
@scope_cobbler
@skip_if_github_validation
@flaky
Scenario: Check for errors in Cobbler monitoring
When
I wait for "5" seconds
00:00:05.000
Then
the local logs for Cobbler should not contain errors
00:00:11.491
+ Show Error
+ Show Info
+ Screenshot
Errors in Cobbler logs (ScriptError) ./features/step_definitions/cobbler_steps.rb:293:in `/^the local logs for Cobbler should not contain errors$/' features/secondary/srv_cobbler_profile.feature:107:in `the local logs for Cobbler should not contain errors'
Error in Cobbler log: ["[2026-06-17_120511_sync] 2026-06-17T12:05:12 - ERROR | ### TASK FAILED ###\n"]