File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,11 +124,15 @@ See `app/models/README.md` for detailed data model documentation.
124124## Testing
125125
126126- ** Framework** : RSpec with Capybara for feature tests
127+ - ** JavaScript Driver** : Playwright (Chromium by default)
127128- ** Factories** : Fabrication (not FactoryBot)
128129- ** Test data** : Faker for generated data
129130- ** Coverage** : SimpleCov
130- - ** JavaScript tests** : Capybara with headless Chrome (use ` CHROME_HEADLESS=false ` to debug with visible browser, doesn't work in Docker)
131- - Matchers: Shoulda Matchers, RSpec Collection Matchers
131+ - ** JavaScript tests** : Capybara with Playwright driver
132+ - Use ` PLAYWRIGHT_HEADLESS=false ` to debug with visible browser
133+ - Use ` PWDEBUG=1 ` for Playwright Inspector (step-through debugging)
134+ - Use ` PLAYWRIGHT_BROWSER=firefox ` or ` webkit ` for cross-browser testing
135+ - ** Matchers** : Shoulda Matchers, RSpec Collection Matchers
132136
133137Run single test: ` bin/drspec spec/path/to/file_spec.rb:42 `
134138
You can’t perform that action at this time.
0 commit comments