Skip to content
Snippets Groups Projects
Commit 5d3ab3b6 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

(selenium tests) fix enemy #1 - turn two distinct transactions into a signle...

(selenium tests) fix enemy #1 - turn two distinct transactions into a signle transaction to fix StaleElementErrors seen during ChangePassword tests /cc @klrmn @zac @6a68
parent 352aac29
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ class AccountManager(Base): ...@@ -28,7 +28,7 @@ class AccountManager(Base):
@property @property
def signed_in(self): def signed_in(self):
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 @property
def emails(self): def emails(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment