From 571490431a2125e5779da36bfaf89c401ef11365 Mon Sep 17 00:00:00 2001 From: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> Date: Fri, 10 Feb 2023 18:03:08 +0100 Subject: [PATCH] fix e2e migration test broken by #11790 (#11977) --- packages/amplify-e2e-core/src/categories/auth.ts | 10 +++++----- packages/amplify-e2e-tests/src/environment/env.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/amplify-e2e-core/src/categories/auth.ts b/packages/amplify-e2e-core/src/categories/auth.ts index 2437f13a45c..860a971c035 100644 --- a/packages/amplify-e2e-core/src/categories/auth.ts +++ b/packages/amplify-e2e-core/src/categories/auth.ts @@ -745,7 +745,7 @@ export function addAuthWithDefaultSocial(cwd: string, settings: any): Promise { .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() @@ -1215,7 +1215,7 @@ export function addAuthWithMaxOptions(cwd: string, settings: any): Promise .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() @@ -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() @@ -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() diff --git a/packages/amplify-e2e-tests/src/environment/env.ts b/packages/amplify-e2e-tests/src/environment/env.ts index 82a4ec70fa4..ea09debcd8a 100644 --- a/packages/amplify-e2e-tests/src/environment/env.ts +++ b/packages/amplify-e2e-tests/src/environment/env.ts @@ -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) => {