Maintenance: Fixes issue with Firefox Capybara tests where (mouse) actions are not released and cleared properly and leak into following tests causing them to fail.

This commit is contained in:
Thorsten Eckel 2020-12-07 14:54:44 +01:00
parent aa9d896069
commit d3ffac279a

View file

@ -0,0 +1,6 @@
RSpec.configure do |config|
config.after(:each, type: :system) do
page.driver.browser.action.release_actions
page.driver.browser.action.clear_all_actions
end
end