[openstreetmap/openstreetmap-website] Use rack by default for system tests (PR #6878)

Andy Allan notifications at github.com
Wed Mar 18 11:35:13 UTC 2026


@gravitystorm commented on this pull request.



> +  # JavaScript. Note: js_test blocks get a separate browser session, so
+  # you must call sign_in_as within the block if authentication is needed.

It's not doing anything different from when selenium is the default for all tests. It's just that anything done outside of the `js_test` block uses rack. This means that signing in within a setup block doesn't work, since that will sign in using rack and the cookies aren't shared between rack and selenium/chrome.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6878#discussion_r2952772717
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6878/review/3967082446 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260318/ac39734d/attachment.htm>


More information about the rails-dev mailing list