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

Reply via email to