Skip to content

Commit 89d4662

Browse files
authored
test: ensure device descriptor tests pass on chrome bots (#1499)
Follow-up to #1497. Fixes https://github.com/microsoft/playwright-python/runs/7843392919?check_suite_focus=true.ass on non-chromium bots
1 parent dbba174 commit 89d4662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/async/test_device_descriptors.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33

44
@pytest.mark.only_browser("chromium")
5-
async def test_should_work(playwright) -> None:
5+
async def test_should_work(playwright, launch_arguments) -> None:
66
device_descriptor = playwright.devices["Pixel 2"]
77
device_type = device_descriptor["default_browser_type"]
8-
browser = await playwright[device_type].launch()
8+
browser = await playwright[device_type].launch(**launch_arguments)
99
context = await browser.new_context(
1010
**device_descriptor,
1111
)

0 commit comments

Comments
 (0)