Commit Graph

7 Commits

Author SHA1 Message Date
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
de995aa586 Testing environment updates 2024-01-15 02:05:08 +01:00
9a56681a85 Fix warnings 2024-01-14 03:27:22 +01:00
e4f595a329 Fix translations and enable i18n testing 2023-05-14 16:37:53 +02:00
74db85f26a Remove exception checking from system tests 2023-05-02 03:14:55 +02:00
2d95b11a34 Test registration e-mail 2023-04-19 00:31:52 +02:00
6d2d12a9da rails new
THOR_MERGE=vimdiff bundle exec rails new -d mysql --skip-action-mailbox
  --skip-action-text --skip-active-job --skip-active-storage
  --skip-action-cable --skip-hotwire --skip-jbuilder --skip-bootsnap
  --skip-bundle .
2023-03-05 19:23:29 +01:00