debian-mirror-gitlab/features/steps/shared/shortcuts.rb

19 lines
395 B
Ruby
Raw Normal View History

2015-04-26 12:48:37 +05:30
module SharedActiveTab
include Spinach::DSL
step 'I press "g" and "p"' do
find('body').native.send_key('g')
find('body').native.send_key('p')
end
step 'I press "g" and "i"' do
find('body').native.send_key('g')
find('body').native.send_key('i')
end
step 'I press "g" and "m"' do
find('body').native.send_key('g')
find('body').native.send_key('m')
end
end