Files
fixin.me/config
barbie-bot 16af631fae Fix system tests blocked by HostAuthorization and overlapping element
Two issues prevented system tests from running:

1. ActionDispatch::HostAuthorization blocked Capybara's test server
   (127.0.0.1) because it was not in the allowed hosts list. Added
   127.0.0.1 to config.hosts in test environment.

2. test_update_status_fails_for_admin_when_disallowed failed with
   ElementClickInterceptedError — an injected submit button was obscured
   by a <a class="link"> overlay. Since the test exercises server-side
   authorization (not UI), switched to a JS click via execute_script to
   bypass the visual interception.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 19:06:45 +00:00
..
2023-03-05 19:23:29 +01:00
2024-01-14 03:27:22 +01:00
2025-07-23 23:42:41 +02:00
2023-12-03 23:27:10 +01:00