gitlab-org--gitlab-foss/features/steps/project/project_shortcuts.rb

37 lines
864 B
Ruby
Raw Normal View History

class Spinach::Features::ProjectShortcuts < Spinach::FeatureSteps
2014-08-21 04:14:31 -04:00
include SharedAuthentication
include SharedPaths
include SharedProject
include SharedProjectTab
step 'I press "g" and "f"' do
find('body').native.send_key('g')
find('body').native.send_key('f')
end
step 'I press "g" and "c"' do
find('body').native.send_key('g')
find('body').native.send_key('c')
end
step 'I press "g" and "n"' do
find('body').native.send_key('g')
find('body').native.send_key('n')
end
step 'I press "g" and "g"' do
find('body').native.send_key('g')
find('body').native.send_key('g')
end
step 'I press "g" and "s"' do
find('body').native.send_key('g')
find('body').native.send_key('s')
end
step 'I press "g" and "w"' do
find('body').native.send_key('g')
find('body').native.send_key('w')
end
end