Skip to content
Browse files

Trying to get this test to pass on travis

  • Loading branch information...
1 parent a373b9d commit 0632c370a1130026d05bec362a0d766ad140a57c @jpic jpic committed
Showing with 6 additions and 2 deletions.
  1. +6 −2 session_security/tests/script.py
View
8 session_security/tests/script.py
@@ -102,9 +102,13 @@ def test_double_window_hide_warning(self):
self.browser.switch_to_window(win)
self.assertWarningShown()
- time.sleep(4)
+ # Press space at 8th second
+ time.sleep(2)
self.press_space()
- time.sleep(4)
+
+ # Wait until the 11th second (after lastChance expire check) and both
+ # warnings should be hidden
+ time.sleep(3)
for win in self.browser.window_handles:
self.browser.switch_to_window(win)

0 comments on commit 0632c37

Please sign in to comment.
Something went wrong with that request. Please try again.