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

MushroomObserver / mushroom-observer / 26549298654
97%

Build:
DEFAULT BRANCH: main
Ran 28 May 2026 01:41AM UTC
Jobs 1
Files 1020
Run time 2min
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

28 May 2026 01:37AM UTC coverage: 96.45% (+0.001%) from 96.449%
26549298654

push

github

web-flow
Restore link_icon / modal_link_to to AutocompleterField (Components::Input) (#4385)

* Restore link_icon / modal_link_to to AutocompleterField via Components::Input

PR #4376 ("Centralize helper registrations") removed
`register_output_helper :link_icon` and `register_output_helper
:modal_link_to` from `AutocompleterField`, on the (incorrect)
assumption that the same registrations on `Components::Base` would
cover it via inheritance.

They don't. `AutocompleterField` inherits from
`Superform::Rails::Components::Input` — a Superform gem class — not
from `Components::Base`. With the registrations gone, every
autocompleter call to `link_icon` (in `render_has_id_indicator`,
which produces the green check next to autocompleted entries) and
`modal_link_to` (in the create-link block) raised `NoMethodError`
at render time. System tests like
`AutocompleterSystemTest#test_autocompleter_in_naming_modal` and
`ObservationNamingSystemTest#test_add_and_edit_naming` started
failing because the autocompleter dropdown never appeared (the
`.auto_complete` selector never matched).

Restore the registrations, but at one level up: new
`Components::Input < Superform::Rails::Components::Input` carries
the shared MO output helpers, and `AutocompleterField` (and any
future Input-derived MO component that needs the same helpers)
inherits from `Components::Input` rather than registering each
helper itself.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Document why system tests must bind to port 3000

Add a comment block to `application_system_test_case.rb` explaining
that `Capybara.server_port = 3000` isn't an arbitrary choice — the
Google Maps API key in `app/javascript/controllers/{geocode,map}_
controller.js` is HTTP-Referer-restricted in Google Cloud Console to
`http://localhost:3000/*`. Running tests on any other port (e.g. an
OS-assigned ephemeral port) makes Maps geocoder / autocompleter
calls get rejected, breaking 7 system tests that depend on... (continued)

5 of 5 new or added lines in 2 files covered. (100.0%)

39119 of 40559 relevant lines covered (96.45%)

663.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26549298654.1 28 May 2026 01:41AM UTC 1020
96.45
GitHub Action Run
Source Files on build 26549298654
  • Tree
  • List 1020
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26549298654
  • 14279a6d on github
  • Prev Build on main (#26547492548)
  • Next Build on main (#26550324451)
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