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.763
Then
I should see a "Task Engine Status" text
00:00:00.228
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.222
And
I should see a "Runtime Status" text
00:00:00.225
And
I should see a "Last Execution Times" link in the left menu
00:00:00.023
And
I should see a "Runtime Status" link in the left menu
00:00:00.023
When
I follow the left menu "Admin > Task Engine Status > Runtime Status"
00:00:00.071
Then
I should see a "Task Engine Status" text
00:00:00.131
And
I should see a "Last Execution Times" text
00:00:00.126
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.355
And
I should see a "Last Execution Times" link in the left menu
00:00:00.018
And
I should see a "Runtime Status" link in the left menu
00:00:00.016
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.068
And
I run "cobbler sync" on "server"
00:00:05.674
And
I refresh the page
00:00:10.374
Then
I should see a "Cobbler Sync:" text
00:00:00.244
And
I should see the correct timestamp for task "Cobbler Sync:"
00:00:10.005
And
I should see a "FINISHED" text
00:00:00.230
@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