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

scarver2 / ehr-portal / 23424366005
77%

Build:
DEFAULT BRANCH: main
Ran 23 Mar 2026 06:26AM UTC
Jobs 1
Files 43
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: 98.69% (+37.8%) from 60.915%
23424366005

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)

829 of 840 relevant lines covered (98.69%)

3.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23424366005.1 23 Mar 2026 06:26AM UTC 43
98.69
GitHub Action Run
Source Files on build 23424366005
  • Tree
  • List 43
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23424366005
  • 2b1946ff on github
  • Prev Build on main (#23424365996)
  • Next Build on main (#23445133941)
  • 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