Enable dashboard scenario test

This commit adds the dashboard scenario test to
templates/openstack_tempest_gate.sh.j2 and fixes
tempest_dashboard_login_url and tempest_dashboard_url
since horizon is always configured to use SSL.

The dashboard scenario test involves:

* checking that login page is available
* ability to log in as a regular user
* checking that the home page loads without error

This is a rather simplistic set of tests but will provide valuable
feedback in the gate that we have not introduced any significant
dashboard regressions.

Change-Id: I5c50e30d003080378cc660dda301150b16f45b72
Closes-Bug: #1445368
This commit is contained in:
Matt Thompson 2015-04-17 08:38:44 +01:00
parent 08aab736cb
commit 98bbfe8120
2 changed files with 3 additions and 3 deletions

View File

@ -33,8 +33,8 @@ tempest_compute_console_output_enabled: True
tempest_compute_resize_enabled: True
tempest_compute_snapshot_enabled: True
tempest_dashboard_login_url: "http://{{ external_lb_vip_address }}/auth/login/"
tempest_dashboard_url: "http://{{ external_lb_vip_address }}/"
tempest_dashboard_login_url: "https://{{ external_lb_vip_address }}/auth/login/"
tempest_dashboard_url: "https://{{ external_lb_vip_address }}/"
tempest_service_available_ceilometer: False
tempest_service_available_cinder: True

View File

@ -50,7 +50,7 @@ function gen_test_list_scenario() {
# network tests have been removed due to
# https://bugs.launchpad.net/openstack-ansible/+bug/1425255
# TODO: add them back once the bug has been fixed
egrep 'tempest\.scenario\.test_(minimum|swift|server)_basic(_ops)?'
egrep 'tempest\.scenario\.test_(minimum|swift|server|dashboard)_basic(_ops)?'
}
# Run smoke tests