Skip to content

Commit

Permalink
Add shell to github action setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
khustochka committed Dec 25, 2024
1 parent 6b91a81 commit 8fc04f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ runs:
key: playwright-browsers-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install Playwright Chromium browser (with deps)
if: steps.playwright-cache.outputs.cache-hit != 'true'
shell: bash
run: yarn run playwright install --with-deps chromium
- name: Install Playwright Chromium browser deps
if: steps.playwright-cache.outputs.cache-hit == 'true'
shell: bash
run: yarn run playwright install-deps chromium
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 2 additions & 0 deletions test/application_system_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

WebMock.disable_net_connect!(allow_localhost: true)

# Playwright: https://justin.searls.co/posts/running-rails-system-tests-with-playwright-instead-of-selenium/

default_driver = :playwright
$js_driver = ENV["JS_DRIVER"]&.to_sym || default_driver

Expand Down

0 comments on commit 8fc04f6

Please sign in to comment.