Add stein gate test

This patchset adds the stein gate check and the changes necessary in
basic_deployment.py to get the auth to pass, as the app has changed
slightly since rocky.

Change-Id: I2dfde541ebcceb7b29a055fd75cd783e845839b5
This commit is contained in:
Alex Kavanagh 2019-07-08 15:20:08 +01:00
parent ae19450b01
commit 1ef2e6f49c
2 changed files with 9 additions and 3 deletions

View File

@ -270,6 +270,11 @@ class OpenstackDashboardBasicDeployment(OpenStackAmuletDeployment):
# presence of the following text is sufficient to determine whether
# authentication succeeded or not
expect = 'ServiceCatalogException at /admin/'
elif self._get_openstack_release() >= self.bionic_stein:
expect = "Sign Out"
# update the in dashboard seems to require region to be default in
# this test configuration
region = 'default'
else:
expect = 'Projects - OpenStack Dashboard'

View File

@ -19,7 +19,8 @@
from basic_deployment import OpenstackDashboardBasicDeployment
if __name__ == '__main__':
deployment = OpenstackDashboardBasicDeployment(series='bionic',
openstack='cloud:bionic-stein',
source='cloud:bionic-updates/stein')
deployment = OpenstackDashboardBasicDeployment(
series='bionic',
openstack='cloud:bionic-stein',
source='cloud:bionic-updates/stein')
deployment.run_tests()