trabajo-afectivo/spec/support/capybara/release_and_clear_actions.rb

9 lines
251 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
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