DEV: enables threadsafe for system tests

It should fix flakeys we have due to using_session. This commit is also fixing tests which were failing constantly with treadsafe enabled.

A test has also bene skipped as the issue couldn't be found so far.

More info: https://github.com/teamcapybara/capybara#threadsafe-mode
This commit is contained in:
Joffrey JAFFEUX
2023-01-02 15:17:21 +01:00
committed by GitHub
parent b97fff444e
commit b8100ad1ae
5 changed files with 9 additions and 13 deletions

View File

@ -245,6 +245,7 @@ RSpec.configure do |config|
allow: [Webdrivers::Chromedriver.base_url]
)
Capybara.threadsafe = true
Capybara.disable_animation = true
Capybara.configure do |capybara_config|