Commit 79e8c14
Add E2E test runner wrapper script
- scripts/run-e2e-tests.sh: Bash wrapper that handles full e2e setup
- Checks and sets up e2e database if needed
- Starts Rails server on port 3001
- Runs Playwright tests with passed arguments
- Cleans up server on exit
- Added rake tasks for convenience:
- playwright:test[args] - Run tests with optional args
- playwright:ui - Run with Playwright UI
- playwright:headed - Run with visible browser
- playwright:report - Show test report
Usage:
./scripts/run-e2e-tests.sh # Run all tests
./scripts/run-e2e-tests.sh --ui # With Playwright UI
./scripts/run-e2e-tests.sh --reset # Force DB reset first
bundle exec rake playwright:test
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent af34556 commit 79e8c14
1 file changed
+34
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
98 | 132 | | |
0 commit comments