This commit is contained in:
Trey t
2025-11-21 20:07:40 -06:00
parent b260eaa821
commit 93bd50ac3e
3 changed files with 26 additions and 41 deletions

View File

@@ -71,7 +71,7 @@ final class AuthenticationTests: XCTestCase {
passwordField.typeText("secret123")
// Then: Find and tap the eye icon (visibility toggle)
let eyeButton = app.buttons.containing(NSPredicate(format: "label CONTAINS[c] 'eye'")).firstMatch
let eyeButton = app.buttons[AccessibilityIdentifiers.Authentication.passwordVisibilityToggle].firstMatch
XCTAssertTrue(eyeButton.waitForExistence(timeout: 5), "Password visibility toggle button must exist")
eyeButton.tap()