Skip to content

Commit

Permalink
ensure 'no browsing context' test in clear.py isn't relying on the pr…
Browse files Browse the repository at this point in the history
…evious page runs

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1499135
gecko-commit: 97be1d70d0cd4637a4bd02e984d179b3f1a600e8
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato
  • Loading branch information
Olli Pettay authored and moz-wptsync-bot committed Oct 16, 2018
1 parent 6aa79db commit da7e173
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webdriver/tests/element_clear/clear.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# META: timeout=long

import pytest
import time

from webdriver import Element

Expand Down Expand Up @@ -47,7 +48,7 @@ def test_null_response_value(session):


def test_no_browsing_context(session, closed_window):
element = Element("foo", session)
element = Element("foo" + str(time.time()), session)

response = element_clear(session, element)
assert_error(response, "no such window")
Expand Down

0 comments on commit da7e173

Please sign in to comment.