Commit b6470231 authored by Robert Schilling's avatar Robert Schilling

Merge pull request #7837 from cirosantilli/go-back

evaluate_script history -> go_back and go_forward.
parents 6da15541 4e898608
...@@ -45,11 +45,11 @@ class Spinach::Features::ProjectMultiselectBlob < Spinach::FeatureSteps ...@@ -45,11 +45,11 @@ class Spinach::Features::ProjectMultiselectBlob < Spinach::FeatureSteps
check_state_steps *Array(1..5), Array(1..2), Array(1..3), Array(1..4), Array(1..5), Array(3..5) check_state_steps *Array(1..5), Array(1..2), Array(1..3), Array(1..4), Array(1..5), Array(3..5)
step 'I go back in history' do step 'I go back in history' do
page.evaluate_script("window.history.back()") go_back
end end
step 'I go forward in history' do step 'I go forward in history' do
page.evaluate_script("window.history.forward()") go_forward
end end
step 'I click on ".gitignore" file in repo' do step 'I click on ".gitignore" file in repo' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment