Skip to content

Commit

Permalink
refactor(e2e): use testTags for e2e test ops in login-password-toggle…
Browse files Browse the repository at this point in the history
….yaml
  • Loading branch information
deepanchal committed Aug 16, 2023
1 parent facd8dd commit 210eda8
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .maestro/auth-tests/login-password-toggle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,25 @@ env:
---
- clearState
- launchApp
- assertVisible: "Crisis Cleanup"
- assertVisible:
text: "Login"
index: 0
- assertVisible: "Email"
- assertVisible: "Password"
- tapOn: "Password"
id: ccuLogo
- assertVisible:
id: loginHeaderText
- assertVisible:
id: loginEmailTextField
- assertVisible:
id: loginPasswordTextField
- tapOn:
id: loginPasswordTextField
- inputText: ${TEST_PASSWORD}
# Password should be hidden initially
- assertNotVisible: ${TEST_PASSWORD}
- assertVisible: "Show"
- tapOn: "Show"
- assertVisible:
id: textFieldShowIcon
- tapOn:
id: textFieldShowIcon
- assertVisible: ${TEST_PASSWORD}
- tapOn: "Hide"
- tapOn:
id: textFieldHideIcon
- assertNotVisible: ${TEST_PASSWORD}

0 comments on commit 210eda8

Please sign in to comment.