Skip to content

Commit

Permalink
Merge pull request #18 from cedarcode/sr/ci/run-system-tests
Browse files Browse the repository at this point in the history
Run system tests in CI
  • Loading branch information
santiagorodriguez96 committed Nov 2, 2022
2 parents 2f5f6f0 + d0f2f7d commit d52e1b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ jobs:
RAILS_ENV: test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
run: bundle exec rake
run: |
bundle exec rake
TEST_BROWSER=headless_chrome bundle exec rake test:system
2 changes: 1 addition & 1 deletion test/application_system_test_case.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "test_helper"

class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
driven_by :selenium, using: (ENV["TEST_BROWSER"] || :chrome).to_sym, screen_size: [1400, 1400]
end

0 comments on commit d52e1b5

Please sign in to comment.