Skip to content

Commit

Permalink
test: ensure device descriptor tests pass on chrome bots (#1499)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwoll committed Aug 15, 2022
1 parent dbba174 commit 89d4662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/async/test_device_descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@


@pytest.mark.only_browser("chromium")
async def test_should_work(playwright) -> None:
async def test_should_work(playwright, launch_arguments) -> None:
device_descriptor = playwright.devices["Pixel 2"]
device_type = device_descriptor["default_browser_type"]
browser = await playwright[device_type].launch()
browser = await playwright[device_type].launch(**launch_arguments)
context = await browser.new_context(
**device_descriptor,
)
Expand Down

0 comments on commit 89d4662

Please sign in to comment.