mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 20:34:50 +08:00
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:
@ -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|
|
||||
|
Reference in New Issue
Block a user