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.769
Then
I should see a "Task Engine Status" text
00:00:00.120
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.107
And
I should see a "Runtime Status" text
00:00:00.100
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.023
When
I follow the left menu "Admin > Task Engine Status > Runtime Status"
00:00:00.081
Then
I should see a "Task Engine Status" text
00:00:00.056
And
I should see a "Last Execution Times" text
00:00:00.053
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.458
And
I should see a "Last Execution Times" link in the left menu
00:00:00.021
And
I should see a "Runtime Status" link in the left menu
00:00:00.019
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.078
And
I run "cobbler sync" on "server"
00:00:05.585
And
I refresh the page
00:00:10.369
Then
I should see a "Cobbler Sync:" text
00:00:00.104
And
I should see the correct timestamp for task "Cobbler Sync:"
00:00:10.017
And
I should see a "FINISHED" text
00:00:00.097
@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