Skip to content

Commit

Permalink
Merge pull request #7355 from fjordllc/chore/headfull
Browse files Browse the repository at this point in the history
環境変数HEADEDをHEADFULLに変更
  • Loading branch information
komagata authored Feb 11, 2024
2 parents 4c7e566 + b538c75 commit 0f732f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ $ rails test:all
普通のブラウザーでテスト

```
$ HEADED=1 rails test:all
$ HEADFULL=1 rails test:all
```

並列実行せずにテスト

```
$ PARALLEL_WORKERS=1 rails test:all
```

## Lint
Expand Down
2 changes: 1 addition & 1 deletion test/application_system_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
include MockEnvHelper
include ArticleHelper

if ENV['HEADED']
if ENV['HEADFULL']
driven_by :selenium, using: :chrome
else
driven_by(:selenium, using: :headless_chrome) do |driver_option|
Expand Down

0 comments on commit 0f732f3

Please sign in to comment.