Feature: 0111 - Task Engine Status
File name: srv_task_status_engine.feature
Relative path: secondary/srv_task_status_engine.feature
When
I follow the left menu "Admin > Task Engine Status > Last Execution Times"
0s
Then
I should see a "Task Engine Status" text
0s
And
I should see a "The following is a status report for the various tasks run by the SUSE Multi-Linux Manager task engine:" text
0s
And
I should see a "Runtime Status" text
0s
And
I should see a "Last Execution Times" link in the left menu
0s
And
I should see a "Runtime Status" link in the left menu
0s
When
I follow the left menu "Admin > Task Engine Status > Last Execution Times"
00:00:00.966
Then
I should see a "Task Engine Status" text
00:00:00.099
And
I should see a "The following is a status report for the various tasks run by the Uyuni task engine:" text
00:00:00.091
And
I should see a "Runtime Status" text
00:00:00.090
And
I should see a "Last Execution Times" link in the left menu
00:00:00.026
And
I should see a "Runtime Status" link in the left menu
00:00:00.022
When
I follow the left menu "Admin > Task Engine Status > Runtime Status"
00:00:00.074
Then
I should see a "Task Engine Status" text
00:00:00.058
And
I should see a "Last Execution Times" text
00:00:00.057
And
I should see a "The server is running or has finished executing the following tasks during the latest 5 minutes." text
00:00:00.357
And
I should see a "Last Execution Times" link in the left menu
00:00:00.032
And
I should see a "Runtime Status" link in the left menu
00:00:00.018
Scenario: Run a remote command on the server to check if it shows up on Last Execution Times page
When
I follow the left menu "Admin > Task Engine Status > Last Execution Times"
00:00:00.072
And
I run "cobbler sync" on "server"
00:00:05.146
And
I refresh the page
00:00:10.411
Then
I should see a "Cobbler Sync:" text
00:00:00.095
And
I should see the correct timestamp for task "Cobbler Sync:"
00:00:10.011
And
I should see a "FINISHED" text
00:00:00.099
@scc_credentials
@susemanager
Scenario: Resync a product to trigger a new task and check if it is visible on the Runtime Status page
When
I follow the left menu "Admin > Task Engine Status > Runtime Status"
0s
And
I follow the left menu "Admin > Setup Wizard > Products"
0s
And
I wait until I do not see "Loading" text
0s
And
I enter "SUSE Linux Enterprise Server 15 SP7 x86_64" as "product-description-filter"
0s
And
I wait until I see "SUSE Linux Enterprise Server 15 SP7 x86_64" text
0s
Then
I should see the "SUSE Linux Enterprise Server 15 SP7 x86_64" selected
0s
When
I click on "Schedule channels product resync"
0s
And
I follow the left menu "Admin > Task Engine Status > Runtime Status"
0s
And
I wait until I see "repo-sync" text
0s
Then
I should see the correct timestamp for task "repo-sync"
0s
And
I should see a "running" text in the content area
0s
And
I wait until I see "finished" text
0s
And
I should see the correct timestamp for task "repo-sync"
0s