2014-09-22 10:30:25 -04:00
|
|
|
class Spinach::Features::ProjectShortcuts < Spinach::FeatureSteps
|
2014-08-21 04:14:31 -04:00
|
|
|
include SharedAuthentication
|
|
|
|
include SharedPaths
|
|
|
|
include SharedProject
|
|
|
|
include SharedProjectTab
|
2016-05-16 18:36:06 -04:00
|
|
|
include SharedShortcuts
|
2014-08-21 04:14:31 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2017-03-30 15:19:00 -04:00
|
|
|
step 'I press "g" and "d"' do
|
2014-08-21 04:14:31 -04:00
|
|
|
find('body').native.send_key('g')
|
2017-03-30 15:19:00 -04:00
|
|
|
find('body').native.send_key('d')
|
2014-08-21 04:14:31 -04:00
|
|
|
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
|
2017-03-06 18:52:57 -05:00
|
|
|
|
|
|
|
step 'I press "g" and "e"' do
|
|
|
|
find('body').native.send_key('g')
|
|
|
|
find('body').native.send_key('e')
|
|
|
|
end
|
2014-08-21 04:14:31 -04:00
|
|
|
end
|