Renamed tox virtualenv for UI tests

Renamed tox virtualenv for UI tests from 'tests'(incorrect name for tox plug-in) to 'uitests'
Fixed minor notes in patch-set: https://review.openstack.org/#/c/56235/14

Change-Id: If29d598e05c6ec6b957103d524b429d5cb97e812
This commit is contained in:
Vadim Rovachev 2013-12-19 15:11:46 +04:00
parent c496cc0236
commit dbdff464d4
3 changed files with 8 additions and 8 deletions

View File

@ -5,13 +5,13 @@ Savanna Dashboard Selenium Tests
Main goal of Selenium Tests
----------
Selenium tests for Savanna Dashboard are designed to check the quality of plug-in Savanna Dashboard for the Horizon.
Selenium tests for Savanna Dashboard are designed to check the correctness of the Savanna Dashboard Horizon plug-in.
How to run UI tests:
----------
It's assumed that the savanna and horizon are already installed and running.
It's assumed that savanna and horizon are already installed and running.
Information about installation and start of savanna and horizon can be found on the savanna site
http://docs.openstack.org/developer/savanna/#user-guide
@ -51,4 +51,4 @@ Coverage:
-Data sources
-Job binaries
-Jobs
-Job executions
-Job executions

View File

@ -811,7 +811,7 @@ class UITestCase(unittest2.TestCase):
i = 1
while str(status) != 'Active':
if i > cfg.common.cluster_creation_timeout * 6:
if i > cfg.common.cluster_creation_timeout * 60:
self.fail(
'cluster is not getting status \'Active\', '
'passed %d minutes' % cfg.common.cluster_creation_timeout)
@ -821,7 +821,7 @@ class UITestCase(unittest2.TestCase):
status = driver.find_element_by_link_text("selenium-cl").\
find_element_by_xpath("../../td[3]").text
time.sleep(10)
time.sleep(1)
i += 1
def await_launch_job(self):
@ -849,8 +849,8 @@ class UITestCase(unittest2.TestCase):
status = driver.find_element_by_xpath(
'//*[@id="%s"]/td[3]' % job_id).text
time.sleep(10)
timeout -= 10
time.sleep(1)
timeout -= 1
@classmethod
def tearDownClass(cls):

View File

@ -19,7 +19,7 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:tests]
[testenv:uitests]
setenv =
VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1