Advertisement
Temidayo12

Untitled

Apr 8th, 2025
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.77 KB | None | 0 0
  1. ======================
  2.  1:24.03 TEST_END: Test OK. Subtests passed 15/15. Unexpected 0
  3.  1:24.03 INFO No more tests
  4.  1:24.03 INFO Closing logging queue
  5.  1:24.03 INFO queue closed
  6.  1:24.15 SUITE_END
  7.  
  8. web-platform-test
  9. ~~~~~~~~~~~~~~~~~
  10. Ran 74 checks (70 subtests, 4 tests)
  11. Expected results: 66
  12. Unexpected results: 8
  13.   test: 1 (1 error)
  14.   subtest: 7 (7 fail)
  15.  
  16. Unexpected Results
  17. ------------------
  18. /webdriver/tests/bidi/browser/set_client_window_state/invalid.py
  19.   FAIL test_client_window_x_invalid_type[100.5] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  20. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  21. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', value = 100.5
  22.  
  23.     @pytest.mark.parametrize("value", [True, "invalid", 100.5, [], {}])
  24.     async def test_client_window_x_invalid_type(bidi_session, first_window_id, value):
  25. >       with pytest.raises(error.InvalidArgumentException):
  26. E       Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  27.  
  28. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  29. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
  30. value      = 100.5
  31.  
  32. testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:59: Failed
  33.   FAIL test_client_window_y_invalid_type[100.5] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  34. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  35. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', value = 100.5
  36.  
  37.     @pytest.mark.parametrize("value", [True, "invalid", 100.5, [], {}])
  38.     async def test_client_window_y_invalid_type(bidi_session, first_window_id, value):
  39. >       with pytest.raises(error.InvalidArgumentException):
  40. E       Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  41.  
  42. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  43. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
  44. value      = 100.5
  45.  
  46. testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:68: Failed
  47.   FAIL test_client_window_width_invalid_type[100.5] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  48. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  49. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', value = 100.5
  50.  
  51.     @pytest.mark.parametrize("value", [True, "invalid", 100.5, [], {}])
  52.     async def test_client_window_width_invalid_type(bidi_session, first_window_id, value):
  53. >       with pytest.raises(error.InvalidArgumentException):
  54. E       Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  55.  
  56. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  57. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
  58. value      = 100.5
  59.  
  60. testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:77: Failed
  61.   FAIL test_client_window_width_invalid_bounds[2147483647] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  62. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  63. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', bound = 2147483647
  64.  
  65.     @pytest.mark.parametrize("bound", [-1, MAX_INT])
  66.     async def test_client_window_width_invalid_bounds(bidi_session, first_window_id, bound):
  67. >       with pytest.raises(error.InvalidArgumentException):
  68. E       Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  69.  
  70. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  71. bound      = 2147483647
  72. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
  73.  
  74. testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:86: Failed
  75.   FAIL test_client_window_height_invalid_type[100.5] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  76. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  77. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', value = 100.5
  78.  
  79.     @pytest.mark.parametrize("value", [True, "invalid", 100.5, [], {}])
  80.     async def test_client_window_height_invalid_type(bidi_session, first_window_id, value):
  81. >       with pytest.raises(error.InvalidArgumentException):
  82. E       Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  83.  
  84. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  85. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
  86. value      = 100.5
  87.  
  88. testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:95: Failed
  89.   FAIL test_client_window_height_invalid_bounds[2147483647] - Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  90. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  91. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4', bound = 2147483647
  92.  
  93.     @pytest.mark.parametrize("bound", [-1, MAX_INT])
  94.     async def test_client_window_height_invalid_bounds(bidi_session, first_window_id, bound):
  95. >       with pytest.raises(error.InvalidArgumentException):
  96. E       Failed: DID NOT RAISE <class 'webdriver.bidi.error.InvalidArgumentException'>
  97.  
  98. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fe432cf1dd0>
  99. bound      = 2147483647
  100. first_window_id = 'acc980a0-a589-4666-8bcd-4f807201b5e4'
  101.  
  102. testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/invalid.py:104: Failed
  103. /webdriver/tests/bidi/browser/set_client_window_state/rect_state.py
  104.   ERROR /webdriver/tests/bidi/browser/set_client_window_state/rect_state.py
  105. /webdriver/tests/bidi/browser/set_client_window_state/state.py
  106.   FAIL test_set_client_window_state_transitions[m-to-i-f-to-u] - AssertionError: assert 'minimized' == 'fullscreen'
  107. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f30395e4910>, initial_state = 'minimized'
  108. target_state = 'fullscreen', first_window_id = '67ede9e6-088a-406c-b250-f776ab19a496'
  109.  
  110.     @pytest.mark.parametrize(
  111.         "initial_state,target_state",
  112.         [
  113.             ("fullscreen", "normal"),
  114.             ("fullscreen", "maximized"),
  115.             ("fullscreen", "minimized"),
  116.  
  117.             ("maximized", "fullscreen"),
  118.             ("maximized", "normal"),
  119.             ("maximized", "minimized"),
  120.  
  121.             ("minimized", "fullscreen"),
  122.             ("minimized", "maximized"),
  123.             ("minimized", "normal"),
  124.  
  125.             ("normal", "fullscreen"),
  126.             ("normal", "maximized"),
  127.             ("normal", "minimized"),
  128.         ],
  129.         ids=lambda states: f"{states[0]}-to-{states[1]}"
  130.     )
  131.     @pytest.mark.asyncio
  132.     async def test_set_client_window_state_transitions(bidi_session, initial_state, target_state, first_window_id):
  133.         result = await bidi_session.browser.set_client_window_state(
  134.             client_window=first_window_id,
  135.             state=initial_state
  136.         )
  137.         assert result["state"] == initial_state
  138.  
  139.         result = await bidi_session.browser.set_client_window_state(
  140.             client_window=first_window_id,
  141.             state=target_state
  142.         )
  143. >       assert result["state"] == target_state
  144. E       AssertionError: assert 'minimized' == 'fullscreen'
  145. E
  146. E         - fullscreen
  147. E         + minimized
  148.  
  149. bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f30395e4910>
  150. first_window_id = '67ede9e6-088a-406c-b250-f776ab19a496'
  151. initial_state = 'minimized'
  152. result     = {'active': True,
  153.  'clientWindow': '67ede9e6-088a-406c-b250-f776ab19a496',
  154.  'height': 600,
  155.  'state': 'minimized',
  156.  'width': 800,
  157.  'x': 100,
  158.  'y': 100}
  159. target_state = 'fullscreen'
  160.  
  161. testing/web-platform/tests/webdriver/tests/bidi/browser/set_client_window_state/state.py:36: AssertionError
  162.  1:24.15 INFO Got 3 unexpected results, with 0 unexpected passes
  163.  1:24.15 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
  164.  1:24.58 wptserve INFO Stopped http server on 127.0.0.1:8003
  165.  1:24.58 wptserve INFO Stopped http server on 127.0.0.1:8002
  166.  1:24.58 wptserve INFO Stopped http server on 127.0.0.1:8000
  167.  1:24.58 wptserve INFO Stopped http server on 127.0.0.1:8001
  168.  1:24.59 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
  169.  1:24.59 wptserve INFO Stopped http server on 127.0.0.1:8445
  170.  1:24.59 wptserve INFO Stopped http server on 127.0.0.1:8444
  171.  1:24.59 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
  172.  1:24.59 wptserve INFO Stopped http server on 127.0.0.1:9000
  173.  1:24.61 wptserve INFO Stopped http server on 127.0.0.1:8446
  174.  1:24.61 wptserve INFO Stopped http server on 127.0.0.1:8443
  175.  1:24.83 INFO Removed font: Ahem.ttf
  176.  1:24.88 INFO Closing logging queue
  177.  1:24.88 INFO queue closed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement