Skip to content

Commit

Permalink
disable some e2e tests for old headless
Browse files Browse the repository at this point in the history
  • Loading branch information
sadym-chromium committed Nov 18, 2024
1 parent 6193900 commit 2bf8e3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/browser/test_get_client_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ async def test_browser_get_client_windows_single_tab(websocket, context_id):

@pytest.mark.asyncio
async def test_browser_get_client_windows_two_tabs(websocket, context_id,
create_context):
create_context,
test_headless_mode):
if test_headless_mode == "old":
pytest.xfail("In old headless mode, each tab is in a separate window")

await create_context(context_type='tab')

resp = await execute_command(websocket, {
Expand Down

0 comments on commit 2bf8e3e

Please sign in to comment.