Skip to content

Instantly share code, notes, and snippets.

@rodmatola rodmatola/login.po.rb
Last active Jun 17, 2018

Embed
What would you like to do?
Automação na Sprint: Como eu faço (tento)
class LoginPage < SitePrism::Page
set_url ""
element :campo_usuario, ""
element :campo_senha, ""
element :btn_login, ""
end
def pagina_atual_e?(pagina)
page.has_title? pagina
end
NOMES = {
'pagina_principal' => ''
}
USUARIOS = {
'username' => '',
'email' => '',
'CPF' => ''
}
SENHAS = {
'username' => '',
'email' => '',
'CPF' => ''
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.