diff --git a/automation-tests/browserid/pages/account_manager.py b/automation-tests/browserid/pages/account_manager.py index 3b97ce51193a4cfc4f2ca583878350541755f78d..4a4e036dcd5f77c254beec95328d2d8132ca1216 100644 --- a/automation-tests/browserid/pages/account_manager.py +++ b/automation-tests/browserid/pages/account_manager.py @@ -28,9 +28,7 @@ class AccountManager(Base): @property def signed_in(self): - WebDriverWait(self.selenium, self.timeout).until( - lambda s: s.execute_script('return jQuery.active == 0')) - return 'not_authenticated' not in self.selenium.find_element(By.TAG_NAME, 'body').get_attribute('class') + return not self.selenium.find_element(By.CSS_SELECTOR, 'body.not_authenticated') @property def emails(self):