Feature: 0137 - Configuration state channels via API
File name: min_config_state_channel_api.feature
Relative path: secondary/min_config_state_channel_api.feature
Unexpected HTTP status code 401 (ScriptError) ./features/support/http_client.rb:91:in `call' ./features/support/api_test.rb:80:in `ensure in block (2 levels) in call' ./features/support/api_test.rb:81:in `block (2 levels) in call' ./features/support/api_test.rb:75:in `synchronize' ./features/support/api_test.rb:75:in `block in call' features/secondary/min_config_state_channel_api.feature:7:in `I create state channel "statechannel1" via API'
And
I call configchannel.get_file_revision() with file "/init.sls", revision "1" and channel "statechannel1" via API
0s
Then
I should get file contents ""
0s
User is not logged in (ScriptError) ./features/step_definitions/navigation_steps.rb:657:in `/^I should be logged in$/' ./features/step_definitions/navigation_steps.rb:637:in `/^I am authorized as "([^"]*)" with password "([^"]*)"$/' ./features/support/env.rb:250:in `block in relog_and_visit_previous_url' ./features/support/env.rb:248:in `relog_and_visit_previous_url' ./features/support/env.rb:228:in `handle_screenshot_and_relog' ./features/support/env.rb:188:in `After'
22:18:20:000 - 22:18:33:000 | Current URL: https://uyuni-master-server.sumaci.aws/rhn/configuration/GlobalConfigChannelList.do
When
I create state channel "statechannel2" containing "touch /root/foobar:\n cmd.run:\n - creates: /root/foobar" via API
00:00:02.085
+ Show Error
Unexpected HTTP status code 401 (ScriptError) ./features/support/http_client.rb:91:in `call' ./features/support/api_test.rb:80:in `ensure in block (2 levels) in call' ./features/support/api_test.rb:81:in `block (2 levels) in call' ./features/support/api_test.rb:75:in `synchronize' ./features/support/api_test.rb:75:in `block in call' features/secondary/min_config_state_channel_api.feature:12:in `I create state channel "statechannel2" containing "touch /root/foobar:\n cmd.run:\n - creates: /root/foobar" via API'
And
I call configchannel.get_file_revision() with file "/init.sls", revision "1" and channel "statechannel2" via API
0s
Then
I should get file contents "touch /root/foobar:\n cmd.run:\n - creates: /root/foobar"
0s
Unexpected HTTP status code 401 (ScriptError) ./features/support/http_client.rb:91:in `call' ./features/support/api_test.rb:80:in `ensure in block (2 levels) in call' ./features/support/api_test.rb:81:in `block (2 levels) in call' ./features/support/api_test.rb:75:in `synchronize' ./features/support/api_test.rb:75:in `block in call' features/secondary/min_config_state_channel_api.feature:17:in `I delete channel "statechannel1" via API without error control'
And
I delete channel "statechannel2" via API without error control
0s