Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ======================
- 1:24.03 TEST_END: Test OK. Subtests passed 15/15. Unexpected 0
- 1:24.03 INFO No more tests
- 1:24.03 INFO Closing logging queue
- 1:24.03 INFO queue closed
- 1:24.15 SUITE_END
- web-platform-test
- ~~~~~~~~~~~~~~~~~
- Ran 74 checks (70 subtests, 4 tests)
- Expected results: 66
- Unexpected results: 8
- test: 1 (1 error)
- subtest: 7 (7 fail)
- Unexpected Results
- ------------------
- /webdriver/tests/bidi/browser/set_client_window_state/invalid.py
- FAIL test_client_window_x_invalid_type[100.5] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', value = 100.5
- @pytest.mark.parametrize("value", [True, "invalid", 100.5, [], {}])
- async def test_client_window_x_invalid_type(bidi_session, first_window_id, value):
- > with pytest.raises(error.InvalidArgumentException):
- E Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
- value = 100.5
- testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:59: Failed
- FAIL test_client_window_y_invalid_type[100.5] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', value = 100.5
- @pytest.mark.parametrize("value", [True, "invalid", 100.5, [], {}])
- async def test_client_window_y_invalid_type(bidi_session, first_window_id, value):
- > with pytest.raises(error.InvalidArgumentException):
- E Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
- value = 100.5
- testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:68: Failed
- FAIL test_client_window_width_invalid_type[100.5] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', value = 100.5
- @pytest.mark.parametrize("value", [True, "invalid", 100.5, [], {}])
- async def test_client_window_width_invalid_type(bidi_session, first_window_id, value):
- > with pytest.raises(error.InvalidArgumentException):
- E Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
- value = 100.5
- testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:77: Failed
- FAIL test_client_window_width_invalid_bounds[2147483647] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', bound = 2147483647
- @pytest.mark.parametrize("bound", [-1, MAX_INT])
- async def test_client_window_width_invalid_bounds(bidi_session, first_window_id, bound):
- > with pytest.raises(error.InvalidArgumentException):
- E Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- bound = 2147483647
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
- testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:86: Failed
- FAIL test_client_window_height_invalid_type[100.5] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', value = 100.5
- @pytest.mark.parametrize("value", [True, "invalid", 100.5, [], {}])
- async def test_client_window_height_invalid_type(bidi_session, first_window_id, value):
- > with pytest.raises(error.InvalidArgumentException):
- E Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
- value = 100.5
- testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:95: Failed
- FAIL test_client_window_height_invalid_bounds[2147483647] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', bound = 2147483647
- @pytest.mark.parametrize("bound", [-1, MAX_INT])
- async def test_client_window_height_invalid_bounds(bidi_session, first_window_id, bound):
- > with pytest.raises(error.InvalidArgumentException):
- E Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
- bound = 2147483647
- first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
- testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:104: Failed
- /webdriver/tests/bidi/browser/set_client_window_state/rect_state.py
- ERROR /webdriver/tests/bidi/browser/set_client_window_state/rect_state.py
- /webdriver/tests/bidi/browser/set_client_window_state/state.py
- FAIL test_set_client_window_state_transitions[m-to-i-f-to-u] - AssertionError: assert 'minimized' == 'fullscreen'
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f30395e4910>, initial_state = 'minimized'
- target_state = 'fullscreen', first_window_id = '67ede9e6-088a-406c-b250-f776ab19a496'
- @pytest.mark.parametrize(
- "initial_state,target_state",
- [
- ("fullscreen", "normal"),
- ("fullscreen", "maximized"),
- ("fullscreen", "minimized"),
- ("maximized", "fullscreen"),
- ("maximized", "normal"),
- ("maximized", "minimized"),
- ("minimized", "fullscreen"),
- ("minimized", "maximized"),
- ("minimized", "normal"),
- ("normal", "fullscreen"),
- ("normal", "maximized"),
- ("normal", "minimized"),
- ],
- ids=lambda states: f"{states[0]}-to-{states[1]}"
- )
- @pytest.mark.asyncio
- async def test_set_client_window_state_transitions(bidi_session, initial_state, target_state, first_window_id):
- result = await bidi_session.browser.set_client_window_state(
- client_window=first_window_id,
- state=initial_state
- )
- assert result["state"] == initial_state
- result = await bidi_session.browser.set_client_window_state(
- client_window=first_window_id,
- state=target_state
- )
- > assert result["state"] == target_state
- E AssertionError: assert 'minimized' == 'fullscreen'
- E
- E - fullscreen
- E + minimized
- bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f30395e4910>
- first_window_id = '67ede9e6-088a-406c-b250-f776ab19a496'
- initial_state = 'minimized'
- result = {'active': True,
- 'clientWindow': '67ede9e6-088a-406c-b250-f776ab19a496',
- 'height': 600,
- 'state': 'minimized',
- 'width': 800,
- 'x': 100,
- 'y': 100}
- target_state = 'fullscreen'
- testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/state.py:36: AssertionError
- 1:24.15 INFO Got 3 unexpected results, with 0 unexpected passes
- 1:24.15 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
- 1:24.58 wptserve INFO Stopped http server on 127.0.0.1:8003
- 1:24.58 wptserve INFO Stopped http server on 127.0.0.1:8002
- 1:24.58 wptserve INFO Stopped http server on 127.0.0.1:8000
- 1:24.58 wptserve INFO Stopped http server on 127.0.0.1:8001
- 1:24.59 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
- 1:24.59 wptserve INFO Stopped http server on 127.0.0.1:8445
- 1:24.59 wptserve INFO Stopped http server on 127.0.0.1:8444
- 1:24.59 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
- 1:24.59 wptserve INFO Stopped http server on 127.0.0.1:9000
- 1:24.61 wptserve INFO Stopped http server on 127.0.0.1:8446
- 1:24.61 wptserve INFO Stopped http server on 127.0.0.1:8443
- 1:24.83 INFO Removed font: Ahem.ttf
- 1:24.88 INFO Closing logging queue
- 1:24.88 INFO queue closed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement