Skip to content

Commit

Permalink
Fixes UI Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jleandroperez committed Jul 1, 2024
1 parent 6152f21 commit 59f9542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions SimplenoteUITests/EmailLogin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class EmailLogin {

class func logIn(email: String, password: String) {
enterEmail(enteredValue: email)
app.buttons[UID.Button.continueWithPassword].tap()
enterPassword(enteredValue: password)
app.buttons[UID.Button.logIn].tap()
handleSavePasswordPrompt()
Expand Down
1 change: 1 addition & 0 deletions SimplenoteUITests/UIDs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ enum UID {
static let menu = "menu"
static let signUp = "Sign Up"
static let logIn = "Log In"
static let continueWithPassword = "Continue with Password"
static let logInWithEmail = "Log in with email"
static let allNotes = "All Notes"
static let trash = "Trash"
Expand Down

0 comments on commit 59f9542

Please sign in to comment.