зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1390520 - Enable Set Window Rect from minimized window state test. r=automatedtester
Now that geckodriver has support for window state in the window rect object, we can enable the test_set_window_rect_window_minimized test from testing/web-platform/tests/webdriver/tests/set_window_rect.py. MozReview-Commit-ID: FY6EZTxMUbE --HG-- extra : rebase_source : 0614f35e35ef4274e13ccc35d12093e7bdc18afa
This commit is contained in:
Родитель
56c1c3f6d3
Коммит
1724ec2c8b
|
@ -482897,7 +482897,7 @@
|
|||
"support"
|
||||
],
|
||||
"css/CSS2/tables/reference/table-anonymous-text-indent-ref.xht": [
|
||||
"d12237ecbbd205dd38d956aacc6c1a50ee5631bb",
|
||||
"40d1dfe3486108892a7d6ff61bc99196730bcb55",
|
||||
"support"
|
||||
],
|
||||
"css/CSS2/tables/reference/table-margin-004-ref.xht": [
|
||||
|
@ -484089,7 +484089,7 @@
|
|||
"visual"
|
||||
],
|
||||
"css/CSS2/tables/table-anonymous-text-indent.xht": [
|
||||
"e6aea4bbc5ce33d6ec4ae570501fb5493dbc49f0",
|
||||
"57bfe388308a128e32abc674b64acbf9903d6141",
|
||||
"reftest"
|
||||
],
|
||||
"css/CSS2/tables/table-anonymous-whitespace-001.xht": [
|
||||
|
@ -572517,11 +572517,11 @@
|
|||
"testharness"
|
||||
],
|
||||
"cssom-view/elementFromPoint-002.html": [
|
||||
"36b8a5f50e6489f9e25c3d09dc523007d442e2b3",
|
||||
"36d7e75021f7f6ab8f89b2654ba3c8f818af16b8",
|
||||
"testharness"
|
||||
],
|
||||
"cssom-view/elementFromPoint-003.html": [
|
||||
"36b8a5f50e6489f9e25c3d09dc523007d442e2b3",
|
||||
"a689737bd60877e181a8a7ff27774ab383c3de0b",
|
||||
"testharness"
|
||||
],
|
||||
"cssom-view/elementFromPoint.html": [
|
||||
|
@ -578625,7 +578625,7 @@
|
|||
"support"
|
||||
],
|
||||
"fetch/api/resources/utils.js": [
|
||||
"1027bd5e728ae008520ce151722760dbb53a2368",
|
||||
"d9e65bbd408a906a4d14aa40d4ed20ea2ed9f585",
|
||||
"support"
|
||||
],
|
||||
"fetch/api/response/multi-globals/current/current.html": [
|
||||
|
@ -578657,7 +578657,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"fetch/api/response/response-consume-stream.html": [
|
||||
"dad05becbd8f3944aa3709ae1a3e578c05d4d935",
|
||||
"7e990d212ef225ac8475803e01b1772086dbc08d",
|
||||
"testharness"
|
||||
],
|
||||
"fetch/api/response/response-consume.html": [
|
||||
|
@ -596285,7 +596285,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/html.idl": [
|
||||
"137e061bbab6b23150d6ae9128df56a96cd1d68f",
|
||||
"7c77578dededdc99f2be1737373b9ebe59357938",
|
||||
"support"
|
||||
],
|
||||
"interfaces/mediacapture-main.idl": [
|
||||
|
@ -596417,7 +596417,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"intersection-observer/timestamp.html": [
|
||||
"b9bf8d472d7751ec4a1ebee925d12668bedeee7a",
|
||||
"0d57a6abc3c3056f921401f629ab231c458cf4cb",
|
||||
"testharness"
|
||||
],
|
||||
"intersection-observer/unclipped-root.html": [
|
||||
|
@ -616645,7 +616645,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"selection/removeAllRanges.html": [
|
||||
"bd203d8878c4de59de476fe6fa7417bd2678dfcc",
|
||||
"c1ed8afc2f1ee80f5131d1ead6930c9895a2a6f3",
|
||||
"testharness"
|
||||
],
|
||||
"selection/removeRange.html": [
|
||||
|
@ -625081,7 +625081,7 @@
|
|||
"wdspec"
|
||||
],
|
||||
"webdriver/tests/maximize_window.py": [
|
||||
"827b3a3e1a3ef628dae1480af029fc01ef5e9388",
|
||||
"55cb76c60c7914bc024f470f6d1f0a47294b6fe3",
|
||||
"wdspec"
|
||||
],
|
||||
"webdriver/tests/navigation.py": [
|
||||
|
@ -625089,7 +625089,7 @@
|
|||
"wdspec"
|
||||
],
|
||||
"webdriver/tests/set_window_rect.py": [
|
||||
"8aef7d228fc9c1e8cf1029d8f1f7669602b6e877",
|
||||
"061a8569a4c080a62ab9d7a00efa3c01a2223b74",
|
||||
"wdspec"
|
||||
],
|
||||
"webdriver/tests/support/__init__.py": [
|
||||
|
@ -625097,11 +625097,11 @@
|
|||
"support"
|
||||
],
|
||||
"webdriver/tests/support/asserts.py": [
|
||||
"e624c50e02a0da4d532321a080ecc5c73644bd8d",
|
||||
"c6d7303efd64a6a632a1cd1eef10acf1d7de04cd",
|
||||
"support"
|
||||
],
|
||||
"webdriver/tests/support/fixtures.py": [
|
||||
"6ceec11f42cd9be53a92ad88aa07657c78779ce3",
|
||||
"055884949ae77f5f1ac49d205c590344606dedfb",
|
||||
"support"
|
||||
],
|
||||
"webdriver/tests/support/http_request.py": [
|
||||
|
|
|
@ -8,7 +8,3 @@
|
|||
|
||||
[set_window_rect.py::test_set_window_fullscreen]
|
||||
expected: FAIL
|
||||
|
||||
[set_window_rect.py::test_set_window_rect_window_minimized]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -120,12 +120,16 @@ def test_set_window_fullscreen(session):
|
|||
def test_set_window_rect_window_minimized(session):
|
||||
# step 11
|
||||
session.window.minimize()
|
||||
assert session.execute_script("return document.hidden")
|
||||
assert session.window.state == "minimized"
|
||||
|
||||
result = session.transport.send("POST",
|
||||
"session/%s/window/rect" % session.session_id,
|
||||
{"width": 400, "height": 400})
|
||||
assert not session.execute_script("return document.hidden")
|
||||
assert_success(result, {"width": 400, "height": 400})
|
||||
rect = assert_success(result)
|
||||
assert rect["width"] == 400
|
||||
assert rect["height"] == 400
|
||||
assert rect["state"] == "normal"
|
||||
|
||||
|
||||
def test_set_window_height_width(session):
|
||||
|
|
Загрузка…
Ссылка в новой задаче