saleor-dashboard/cypress/elements/account/login-selectors.js
M.Graczyk ef967eb5e4
Refactor of login tests (#630)
* WIP refactor of login tests

* Xit not woriking tests, fixed rest of them

* Properly pass env vars to cypress

* Remove unused code

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-08-20 15:36:00 +02:00

7 lines
270 B
JavaScript

export const LOGIN_SELECTORS = {
emailAddressInput: "input[name='email']",
emailPasswordInput: "input[name='password']",
signInButton: "[data-test=submit]",
warningCredentialMessage: "[data-test=loginErrorMessage]",
welcomePage: "[data-test=welcomeHeader]"
};