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
This commit is contained in:
Rob Cresswell 2016-04-08 15:30:34 +01:00
parent d6afbac57f
commit 7661db1ba4
1 changed files with 1 additions and 1 deletions

View File

@ -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))