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.866
Then
I should see a "Task Engine Status" text
00:00:00.091
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.088
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.027
And
I should see a "Runtime Status" link in the left menu
00:00:00.021
When
I follow the left menu "Admin > Task Engine Status > Runtime Status"
00:00:00.076
Then
I should see a "Task Engine Status" text
00:00:00.059
And
I should see a "Last Execution Times" text
00:00:00.052
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.349
And
I should see a "Last Execution Times" link in the left menu
00:00:00.020
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.074
And
I run "cobbler sync" on "server"
00:00:05.122
And
I refresh the page
00:00:10.363
Then
I should see a "Cobbler Sync:" text
00:00:00.087
And
I should see the correct timestamp for task "Cobbler Sync:"
00:00:10.014
And
I should see a "FINISHED" text
00:00:00.086
@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