BigW Consortium Gitlab

project_shortcuts.rb 979 Bytes
Newer Older
1
class Spinach::Features::ProjectShortcuts < Spinach::FeatureSteps
2 3 4 5 6 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
  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
36 37 38 39 40

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