Skip to content

Instantly share code, notes, and snippets.

@rodmatola
Last active June 17, 2018 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodmatola/44c0a72c6325428dd94be38ad7c451c2 to your computer and use it in GitHub Desktop.
Save rodmatola/44c0a72c6325428dd94be38ad7c451c2 to your computer and use it in GitHub Desktop.
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