

def test_jasmine_legacy(self):
    self.selenium.get(('%s%s' % (self.live_server_url, '/jasmine-legacy/')))
    wait = self.ui.WebDriverWait(self.selenium, 30)

    def jasmine_legacy_done(driver):
        failures = driver.find_element_by_class_name('jasmine-bar').text
        return failures
    wait.assertTrue(('0 failures' in wait.until(jasmine_legacy_done)))

dataset/ETHPy150Open openstack/horizon/horizon/test/tests/selenium_tests.py BrowserTests.test_jasmine_legacy/VarMisuse@68/100 `self`->`wait`