Skip to content
Snippets Groups Projects

Issue #3371922: Add a feature about console and log of OpenStack Instance

Merged xiaohua guan requested to merge issue/cloud-3371922:3371922-add-a-feature into 6.x
1 file
+ 35
0
Compare changes
  • Side-by-side
  • Inline
@@ -85,6 +85,7 @@ Feature: Launch, reboot, stop, and terminate an instance for OpenStack as an "au
And I should see "<instance_name>" in the "page_header"
And I click "Log" in the "nav_tabs"
Then the url should match "/console_output"
And I should see "Console log of instance" in the "page_header"
And I should see "{{ line_number_default }}" in the "select_wrapper"
And I select "{{ line_number_updated }}" from "Number of lines"
@@ -93,6 +94,40 @@ Feature: Launch, reboot, stop, and terminate an instance for OpenStack as an "au
| {{ instance_name_operate_1 }} |
| {{ instance_name_operate_2 }} |
@api
Scenario Outline: View the console of the created instance
Given I am logged in as user "{{ drupal_user_name }}"
When I visit "/clouds/openstack/{{ cloud_context }}/instance"
And I should see the link "<instance_name>"
And I click "<instance_name>"
And the url should match "/clouds/openstack/{{ cloud_context }}/instance/"
And I should see "<instance_name>" in the "page_header"
And I click "Console" in the "nav_tabs"
Then the url should match "/console"
And I should see "Console of instance" in the "page_header"
Examples:
| instance_name |
| {{ instance_name_operate_1 }} |
| {{ instance_name_operate_2 }} |
@api
Scenario Outline: View the Action log of the created instance
Given I am logged in as user "{{ drupal_user_name }}"
When I visit "/clouds/openstack/{{ cloud_context }}/instance"
And I should see the link "<instance_name>"
And I click "<instance_name>"
And the url should match "/clouds/openstack/{{ cloud_context }}/instance/"
And I should see "<instance_name>" in the "page_header"
And I click "Action log" in the "nav_tabs"
Then the url should match "/action_log"
And I should see "Action log of instance" in the "page_header"
Examples:
| instance_name |
| {{ instance_name_operate_1 }} |
| {{ instance_name_operate_2 }} |
@api
Scenario: Refresh instance status
Given I am logged in as a user with the "Administrator" role
Loading