chore(playwright): run playwright using bunx instead of default npx
without this change, specs fail on systems without node installed
This commit is contained in:
parent
ca6b413e23
commit
9aee925ab1
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ Capybara.register_driver :playwright do |app|
|
|||
browser_type: (ENV['PLAYWRIGHT_BROWSER'] || 'chromium').to_sym, # :chromium (default) or :firefox, :webkit
|
||||
headless: ENV['NO_HEADLESS'].blank?,
|
||||
locale: Rails.application.config.i18n.default_locale,
|
||||
downloadsPath: Capybara.save_path)
|
||||
downloadsPath: Capybara.save_path,
|
||||
playwright_cli_executable_path: 'bunx playwright')
|
||||
end
|
||||
|
||||
Capybara.register_driver :chrome do |app|
|
||||
|
|
Loading…
Reference in a new issue