BigW Consortium Gitlab

shortcuts.rb 395 Bytes
Newer Older
1
module SharedShortcuts
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
  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