Sha256: 7245f1f70087169068e2b1051878dcca3a04f4dfbe2f25392728074dcd4cd0fd
Contents?: true
Size: 462 Bytes
Versions: 26
Compression:
Stored size: 462 Bytes
Contents
# 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.visit end When('I login with my credentials') do @login_page.login('aguspe', '12341234') end When('I can see the main page') do expect(@login_page.header.customer_name).to eq 'Welcome back Agustin' end
Version data entries
26 entries across 26 versions & 1 rubygems