Skip to content

Commit

Permalink
Fix popups tests (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsfehler authored and andrewsmedina committed Jun 19, 2019
1 parent 80d4821 commit ebd8b13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/popups.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def test_is_current_returns_true_if_current_window_else_false(self):
self.assertTrue(self.browser.windows.current.is_current)
self.assertFalse(self.browser.windows.current.next.is_current)

# Close popup window
self.browser.windows.current.close_others()

def test_set_is_current_to_True_sets_window_to_current(self):
self.browser.find_by_id("open-popup").click()
next_window = self.browser.windows.current.next
Expand Down

0 comments on commit ebd8b13

Please sign in to comment.