This gem is a collection of pre-built sentences compatible with cucumber and page-object
Require in your Gemfile
gem "cucumber-sentences"
Add in your features/step_definitions/imports.rb
ENV['CUCUMBER_ROOT'] = File.absolute_path('../', File.dirname(__FILE__));
require "cucumber-sentences"
That's all !
gem build cucumber-sentences.gemspec
gem push cucumber-sentences-VERSION.gem
- Given I am on the "([^"]*)"