BigW Consortium Gitlab

project_shortcuts.rb 1005 Bytes
Newer Older
1
class Spinach::Features::ProjectShortcuts < Spinach::FeatureSteps
2 3 4 5
  include SharedAuthentication
  include SharedPaths
  include SharedProject
  include SharedProjectTab
6
  include SharedShortcuts
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

  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
37 38 39 40 41

  step 'I press "g" and "e"' do
    find('body').native.send_key('g')
    find('body').native.send_key('e')
  end
42
end