[openstreetmap/openstreetmap-website] WIP: Reduce use of Selenium in favour of rack-test (PR #6497)

Pablo Brasero notifications at github.com
Mon Nov 3 16:13:29 UTC 2025


Just a proposal: would it make sense to use rack-test for system tests, where possible?

If we can reduce the use of Selenium, the test suite will run faster and more reliably. The code in this PR is just a quick experiment, showing that only 40% of system tests need Selenium. The relevant output is the following:

```
272 runs, 1285 assertions, 53 failures, 55 errors, 0 skips
```
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6497

-- Commit Summary --

  * DEBUG: how many system tests require Capybara?

-- File Changes --

    M Gemfile (1)
    M Gemfile.lock (1)
    M test/application_system_test_case.rb (5)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6497.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6497.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/6497 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251103/9232d6ac/attachment-0001.htm>


More information about the rails-dev mailing list