@flaky
@scope_salt
Feature: 0133 - Coexistence with user-defined states
File name: min_salt_user_states.feature
Relative path: secondary/min_salt_user_states.feature
Given
I am on the Systems overview page of this "sle_minion"
00:00:02.103
When
I follow "States" in the content area
00:00:00.068
And
I install a user-defined state for "sle_minion" on the server
00:00:10.299
And
I follow "Highstate" in the content area
00:00:00.067
And
I click on "Show full highstate output"
00:00:00.245
And
I wait for "6" seconds
00:00:06.000
Then
I should see a "user_defined_state" or "running as PID" text in element "highstate"
00:00:00.043
When
I schedule a highstate for "sle_minion" via API
00:00:01.953
And
I wait until event "Apply highstate scheduled" is completed
00:00:23.021
Then
file "/tmp/test_user_defined_state" should exist on "sle_minion"
00:00:00.854
@flaky
@scope_salt
Scenario: Cleanup: remove user-defined state and the file it created
When
I follow "States" in the content area
00:00:00.082
And
I uninstall the user-defined state from the server
00:00:03.033
And
I uninstall the managed file from "sle_minion"
00:00:00.448
And
I follow "Highstate" in the content area
00:00:00.064
And
I click on "Show full highstate output"
00:00:00.231
And
I wait for "6" seconds
00:00:06.000
Then
I should not see a "user_defined_state" text in element "highstate"
00:00:00.049