evaluate -> execute_script when return not needed.
This commit is contained in:
parent
6da15541d3
commit
b9c2e6ebdc
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class Spinach::Features::ProjectMultiselectBlob < Spinach::FeatureSteps
|
|||
|
||||
step "I shift-click line #{line_number} in file" do
|
||||
script = "$('#L#{line_number}').trigger($.Event('click', { shiftKey: true }));"
|
||||
page.evaluate_script(script)
|
||||
execute_script(script)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue