summaryrefslogtreecommitdiff
path: root/horizon/test
diff options
context:
space:
mode:
authorRob Cresswell <robert.cresswell@outlook.com>2016-04-08 15:30:34 +0100
committerRob Cresswell <robert.cresswell@outlook.com>2016-04-08 20:44:11 +0100
commit7661db1ba438a13cf77d64913bfc88767b6bcdae (patch)
treec0ef61533ef011609e11a9b0b917e92b55c607d6 /horizon/test
parentd6afbac57f8982b981ad5afbcbf1a6434d4e4d01 (diff)
downloadhorizon-7661db1ba438a13cf77d64913bfc88767b6bcdae.tar.gz
Fix Selenium Tests
A recent update to XStatic-Jasmine appears to have altered the class name that a selenium test was looking for. This patch amends the class so that the test correctly finds the class. Change-Id: I8d6844cdb14a84bd5498429b8545cdca8ba173b6 Closes-Bug: 1567965
Diffstat (limited to 'horizon/test')
-rw-r--r--horizon/test/tests/selenium_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/horizon/test/tests/selenium_tests.py b/horizon/test/tests/selenium_tests.py
index b81b40844..1c776b594 100644
--- a/horizon/test/tests/selenium_tests.py
+++ b/horizon/test/tests/selenium_tests.py
@@ -24,7 +24,7 @@ class BrowserTests(test.SeleniumTestCase):
wait = self.ui.WebDriverWait(self.selenium, 30)
def jasmine_legacy_done(driver):
- failures = driver.find_element_by_class_name("bar").text
+ failures = driver.find_element_by_class_name("jasmine-bar").text
return failures
self.assertTrue('0 failures' in wait.until(jasmine_legacy_done))