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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev