You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Playwright E2E test security issues and code quality
Address critical security vulnerabilities and code quality issues in
Playwright E2E test infrastructure:
Security Improvements:
- Add test environment guard to eval.rb to prevent RCE in non-test envs
- Bind Rails test server to 127.0.0.1 explicitly to prevent network exposure
Code Quality Fixes:
- Fix undefined logger references in clean.rb and activerecord_fixtures.rb
- Improve error handling in on-rails.js with descriptive error messages
- Remove parameter mutation in appVcrInsertCassette to avoid eslint disables
- Remove dead code from activerecord_fixtures.rb fallback branch
- Fix response.body to response.json() for proper API response parsing
- Remove unused expect import after error handling refactor
- Remove unused eslint-disable directives in Pro package
CI/CD:
- Replace npm with yarn for yalc installation per project guidelines
All changes pass rubocop and eslint with zero violations.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments