Skip to content

Commit

Permalink
fix e2e migration test broken by #11790 (#11977)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amplifiyer authored Feb 10, 2023
1 parent 1b7e221 commit 5714904
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/amplify-e2e-core/src/categories/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ export function addAuthWithDefaultSocial(cwd: string, settings: any): Promise<vo
.wait('Enter your Key ID for your OAuth flow:')
.send(APPLE_KEY_ID)
.sendCarriageReturn()
.wait('Enter your Private Key for your OAuth flow (entire key without line breaks):')
.wait('Enter your Private Key for your OAuth flow')
.send(APPLE_PRIVATE_KEY)
.sendCarriageReturn()
.sendEof()
Expand Down Expand Up @@ -872,7 +872,7 @@ export function addAuthUserPoolOnly(cwd: string, settings: any): Promise<void> {
.sendLine(APPLE_TEAM_ID)
.wait('Enter your Key ID for your OAuth flow')
.sendLine(APPLE_KEY_ID)
.wait('Enter your Private Key for your OAuth flow (entire key without line breaks):')
.wait('Enter your Private Key for your OAuth flow')
.sendLine(APPLE_PRIVATE_KEY)
.wait('Do you want to configure Lambda Triggers for Cognito')
.sendConfirmYes()
Expand Down Expand Up @@ -1215,7 +1215,7 @@ export function addAuthWithMaxOptions(cwd: string, settings: any): Promise<void>
.sendLine(APPLE_TEAM_ID)
.wait('Enter your Key ID for your OAuth flow')
.sendLine(APPLE_KEY_ID)
.wait('Enter your Private Key for your OAuth flow (entire key without line breaks):')
.wait('Enter your Private Key for your OAuth flow')
.sendLine(APPLE_PRIVATE_KEY)
.wait('Do you want to configure Lambda Triggers for Cognito')
.sendConfirmYes()
Expand Down Expand Up @@ -1430,7 +1430,7 @@ export function addAuthUserPoolOnlyWithOAuth(cwd: string, settings: AddAuthUserP
.sendLine(settings.appleAppTeamId)
.wait('Enter your Key ID for your OAuth flow:')
.sendLine(settings.appleAppKeyID)
.wait('Enter your Private Key for your OAuth flow (entire key without line breaks):')
.wait('Enter your Private Key for your OAuth flow')
.sendLine(settings.appleAppPrivateKey)
.wait('Do you want to configure Lambda Triggers for Cognito')
.sendConfirmNo()
Expand Down Expand Up @@ -1554,7 +1554,7 @@ export function addAuthIdentityPoolAndUserPoolWithOAuth(
.sendLine(settings.appleAppTeamId)
.wait('Enter your Key ID for your OAuth flow:')
.sendLine(settings.appleAppKeyID)
.wait('Enter your Private Key for your OAuth flow (entire key without line breaks):')
.wait('Enter your Private Key for your OAuth flow')
.sendLine(settings.appleAppPrivateKey)
.wait('Do you want to configure Lambda Triggers for Cognito')
.sendConfirmNo()
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-e2e-tests/src/environment/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export function addEnvironmentHostedUI(cwd: string, settings: { envName: string
.sendLine(APPLE_TEAM_ID)
.wait('Enter your Key ID for your OAuth flow:')
.sendLine(APPLE_KEY_ID)
.wait('Enter your Private Key for your OAuth flow (entire key without line breaks):')
.wait('Enter your Private Key for your OAuth flow')
.sendLine(APPLE_PRIVATE_KEY)
.wait(/Try "amplify add api" to create a backend API and then "amplify (push|publish)" to deploy everything/)
.run((err: Error) => {
Expand Down

0 comments on commit 5714904

Please sign in to comment.