Skip to content

Commit

Permalink
chore: update test target for watchOS
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 committed Nov 24, 2024
1 parent 96cdb46 commit 78cd5f6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,8 @@ class PasswordlessSignInTests: AWSAuthBaseTest {
/// - I invoke Amplify.Auth.signIn with the username and password, using userAuth flow with an unsupported preferred factor
/// - Then:
/// - I should get a SELECT_CHALLENGE step.
@available(iOS 17.4, *)
#if os(iOS) || os(macOS) || os(visionOS)
@available(iOS 17.4, macOS 13.5, visionOS 1.0, *)
func testSignInWithUnsupportedPreference_givenValidUser_expectSelectChallenge() async throws {
let username = "integTest\(UUID().uuidString)"
let password = "Pp123@\(UUID().uuidString)"
Expand All @@ -477,7 +478,7 @@ class PasswordlessSignInTests: AWSAuthBaseTest {
XCTFail("SignIn with a valid username/password should not fail \(error)")
}
}

#endif
/// Test signIn with EMAIL_OTP preference triggers Confirm OTP flow
///
/// - Given: A user registered in Cognito user pool
Expand Down

0 comments on commit 78cd5f6

Please sign in to comment.