Skip to content

Commit

Permalink
Playwright now supports 5 browsers (#20)
Browse files Browse the repository at this point in the history
A new `chromium_headless_shell-1148` browser appeared.

Apparently this is faster to download in CI:
https://playwright.dev/docs/browsers#chromium
  • Loading branch information
deviantintegral authored Nov 19, 2024
2 parents c8f9e19 + ee20024 commit 52f694c
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 917 deletions.
4 changes: 2 additions & 2 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ verify_run_playwright() {
# Verify that browsers have been downloaded.
ddev exec -- ls \~/.cache/ms-playwright
run ddev exec -- ls \~/.cache/ms-playwright \| wc -l \| sed \'s/ *//\'
# Playwright currently supports 4 browsers.
assert_output 4
# Playwright currently supports 5 browsers.
assert_output 5

# Verify we can run an example test.
ddev playwright test --reporter=line
Expand Down
30 changes: 15 additions & 15 deletions tests/testdata/npm-playwright/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testdata/npm-playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.42.1"
"@playwright/test": "^1.49.0"
}
}
2 changes: 1 addition & 1 deletion tests/testdata/yarn-playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@playwright/test": "^1.42.1"
"@playwright/test": "^1.49.0"
}
}
Loading

0 comments on commit 52f694c

Please sign in to comment.