Skip to content

Commit

Permalink
Bug 1678044 - Unmaximize window before starting a new session, r=webd…
Browse files Browse the repository at this point in the history
…river-reviewers,whimboo

Otherwise it seems to interfere with the rest of the test.



Depends on D101768

Differential Revision: https://phabricator.services.mozilla.com/D101769
  • Loading branch information
jgraham committed May 19, 2021
1 parent 3f74c6c commit 77c955f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def test_maximize_when_resized_to_max_size(session):
session.end()
session.window.maximize()
available = session.window.size
session.window.size = (800, 600)
session.end()

session.window.size = available
Expand All @@ -95,4 +96,5 @@ def test_maximize_when_resized_to_max_size(session):
# its expected dimensions.
before = session.window.size
session.window.maximize()
assert session.window.size == before
after = session.window.size
assert after == before

0 comments on commit 77c955f

Please sign in to comment.