[openstreetmap/openstreetmap-website] WIP: devcontainer configuration (PR #6424)
Pablo Brasero
notifications at github.com
Fri Oct 3 09:49:08 UTC 2025
pablobm left a comment (openstreetmap/openstreetmap-website#6424)
Found something very annoying while fixing `test/system/embed_test.rb`. I have left the relevant section of the PR untidy on purpose: discussing here before I clean it up properly, to see if people have thoughts. Commit: https://github.com/openstreetmap/openstreetmap-website/pull/6424/commits/7d992b9560cddbd1e1a0cb7e56ae2c04ec9e7c0e
>From what I can tell, Rails+Capybara don't properly "reset" the remote Selenium when running a test with a different `driven_by` declaration. After trying a few things, what worked for me was to have different Selenium containers, one to be used for each configuration. This way we don't need to reset anything.
First issue I see is that this is not scalable. Not a problem right now as there are only three configurations. Could be a problem in the future if for any reason we want to test more.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6424#issuecomment-3365049943
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6424/c3365049943 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251003/d8dd4e0a/attachment.htm>
More information about the rails-dev
mailing list