• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scarver2 / ehr-portal / 23424365996
77%

Build:
DEFAULT BRANCH: main
Ran 23 Mar 2026 06:25AM UTC
Jobs 1
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Mar 2026 06:25AM UTC coverage: 60.915% (-37.9%) from 98.808%
23424365996

push

github

web-flow
feat(csrf): disable CSRF protection for localhost development tests (#38)

* fix(tests): add global localStorage mock for all portal tests

- Add localStorage implementation to vitest.setup.ts
- Provides getItem, setItem, removeItem, and clear methods
- Clears localStorage after each test to prevent test pollution
- Update useInsuranceVerificationStream tests to use localStorage API
- Replace Storage.prototype spies with direct localStorage calls
- All 156 portal tests now pass ✅

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* fix: remove unused vi import from vitest.setup.ts

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* refactor(i18n): move photo_url validation message to locale file

- Add photo_url_format error message to config/locales/en.yml
- Update Patient model validation to use I18n key :photo_url_format
- Update Provider model validation to use I18n key :photo_url_format
- Follows Rails best practices for internationalization
- Fixes RuboCop Rails/I18nLocaleTexts violations

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* fix: use \A instead of ^ in photo_url regex validation

- Replace multiline anchor ^ with \A for string start
- Prevents regex injection security vulnerability
- Matches Rails security best practices for regex validators
- Fixes ArgumentError about multiline anchors

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* fix(admin): remove global before_action that caused login redirect loop

- Remove config.before_action :require_admin_role from ActiveAdmin config
- This filter was being applied to all ActiveAdmin routes, including the login page
- Caused "too many redirects" error when visiting /admin/login
- Devise's authenticate_admin_user! already handles authentication
- Add note explaining that authorization should be per-resource instead

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* fix(smoke): add error trap and verbose debug mode

- Add ERR trap to catch ... (continued)

137 of 256 branches covered (53.52%)

Branch coverage included in aggregate %.

209 of 312 relevant lines covered (66.99%)

6.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23424365996.1 23 Mar 2026 06:25AM UTC 25
60.92
GitHub Action Run
Source Files on build 23424365996
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23424365996
  • 2b1946ff on github
  • Prev Build on main (#23417315597)
  • Next Build on main (#23424366005)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc