diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 390c64d4..5cfbfed6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/test/system/tests/drivers/form_test.rb b/test/system/tests/drivers/form_test.rb index 9cc9de7b..5e4d8395 100644 --- a/test/system/tests/drivers/form_test.rb +++ b/test/system/tests/drivers/form_test.rb @@ -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