From 98bbfe81200513c82dd4d61634f67cb6f802195b Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Fri, 17 Apr 2015 08:38:44 +0100 Subject: [PATCH] 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 --- playbooks/roles/os_tempest/defaults/main.yml | 4 ++-- .../roles/os_tempest/templates/openstack_tempest_gate.sh.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/roles/os_tempest/defaults/main.yml b/playbooks/roles/os_tempest/defaults/main.yml index 44b3689508..130ea77002 100644 --- a/playbooks/roles/os_tempest/defaults/main.yml +++ b/playbooks/roles/os_tempest/defaults/main.yml @@ -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 diff --git a/playbooks/roles/os_tempest/templates/openstack_tempest_gate.sh.j2 b/playbooks/roles/os_tempest/templates/openstack_tempest_gate.sh.j2 index fbe0bebeda..4d0a009c9b 100644 --- a/playbooks/roles/os_tempest/templates/openstack_tempest_gate.sh.j2 +++ b/playbooks/roles/os_tempest/templates/openstack_tempest_gate.sh.j2 @@ -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