Skip to content

Commit

Permalink
Isolate test types
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed Feb 23, 2024
1 parent f222727 commit d81c0a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,8 @@ jobs:
- name: Install Playwright Browsers
run: 'npx playwright install chromium --with-deps'

- name: Run Tests
env:
RAILS_ENV: "test"
run: |
cd test/dummy
rm -f db/test.sqlite3*
bundle exec rails db:create db:migrate
cd -
bundle exec rails test:all
- name: Run Unit Tests
run: bundle exec rails test

- name: Run System Tests
run: bundle exec rails test:system
1 change: 0 additions & 1 deletion test/system/tests/drivers/form_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def test_prevent_controller_action_command
def test_allow_controller_action_command
page.goto tests_url
element("[data-test=form-driver]").click
puts "hello world"

assert_equal "...", element("[data-test=message]").inner_text

Expand Down

0 comments on commit d81c0a3

Please sign in to comment.