07d39ac053
Added wait for vue helper
7 lines
209 B
Ruby
7 lines
209 B
Ruby
module WaitForVueResource
|
|
def wait_for_vue_resource(spinner: true)
|
|
Timeout.timeout(Capybara.default_max_wait_time) do
|
|
loop until page.evaluate_script('Vue.activeResources').zero?
|
|
end
|
|
end
|
|
end
|