lib/generators/templates/cucumber/partials/web_steps.tt in ruby_raider-0.4.0 vs lib/generators/templates/cucumber/partials/web_steps.tt in ruby_raider-0.4.1

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true require_relative '../../page_objects/pages/login_page' Given("I'm a registered user on the login page") do - @login_page = LoginPage.new(<% if automation == 'watir'%>@browser<% else %>@driver<% end %>) + @login_page = LoginPage.new(<% if automation == 'watir'%>browser<% else %>driver<% end %>) @login_page.visit end When('I login with my credentials') do @login_page.login('aguspe', '12341234')