Feature: 0038 - Export and import configuration channels with new ISS implementation
Description: Distribute configuration between servers
Run export and import with ISS v2
File name: srv_handle_config_channels_with_ISS_v2.feature
Relative path: secondary/srv_handle_config_channels_with_ISS_v2.feature
When
I follow the left menu "Configuration > Channels"
00:00:00.132
And
I follow "Create Config Channel"
00:00:00.404
And
I enter "Test Config Channel" as "cofName"
00:00:00.064
And
I enter "testconfigchannel" as "cofLabel"
00:00:00.060
And
I enter "This is a test configuration channel" as "cofDescription"
00:00:00.074
And
I click on "Create Config Channel"
00:00:01.442
Then
I should see a "Test Config Channel" text
00:00:00.058
When
I follow the left menu "Configuration > Channels"
00:00:00.058
And
I follow "Test Config Channel"
00:00:00.449
And
I follow "Create Configuration File or Directory"
00:00:00.431
And
I enter "/etc/s-mgr/config" as "cffPath"
00:00:00.063
And
I enter "COLOR=white" in the editor
00:00:00.004
And
I click on "Create Configuration File"
00:00:00.062
Then
I should see a "Revision 1 of /etc/s-mgr/config from channel Test Config Channel" text
00:00:00.095
And
file "/srv/susemanager/salt/manager_org_1/testconfigchannel/init.sls" should exist on server
00:00:02.598
And
file "/srv/susemanager/salt/manager_org_1/testconfigchannel/etc/s-mgr/config" should exist on server
00:00:02.498
When
I ensure folder "/tmp/export_iss_v2" doesn't exist on "server"
00:00:02.514
When
I export config channels "testconfigchannel" with ISS v2 to "/tmp/export_iss_v2"
00:00:08.385
Then
"/tmp/export_iss_v2" folder on server is ISS v2 export directory
00:00:02.508
When
I follow the left menu "Configuration > Channels"
00:00:00.061
And
I follow "Test Config Channel"
00:00:00.479
And
I follow "Delete Channel"
00:00:00.410
And
I click on "Delete Config Channel"
00:00:00.054
Then
file "/srv/susemanager/salt/manager_org_1/testconfigchannel/init.sls" should not exist on server
00:00:02.728
And
I should not see a "Test Config Channel" link
00:00:00.008
When
I follow the left menu "Configuration > Channels"
00:00:00.059
Then
I should see a "Test Config Channel" link
00:00:00.010
And
file "/srv/susemanager/salt/manager_org_1/testconfigchannel/init.sls" should exist on server
00:00:02.627
And
file "/srv/susemanager/salt/manager_org_1/testconfigchannel/etc/s-mgr/config" should exist on server
00:00:02.530
When
I follow the left menu "Configuration > Channels"
00:00:00.059
And
I follow "Test Config Channel"
00:00:00.970
And
I follow "Delete Channel"
00:00:00.477
And
I click on "Delete Config Channel"
00:00:00.050
Then
file "/srv/susemanager/salt/manager_org_1/testconfigchannel/init.sls" should not exist on server
00:00:02.649
And
I should not see a "Test Config Channel" link
00:00:00.005