From e4f83fc0f9737f77d6543c8eaea533a4725f87da Mon Sep 17 00:00:00 2001 From: John Hockett Date: Thu, 4 Nov 2021 08:50:05 -0700 Subject: [PATCH] fix: capitalization for filter, e2e test (#8667) * fix: capitalization for filter * test: fix prompt wait text --- .../cdk-stack-builder/apigw-stack-transform.ts | 2 +- packages/amplify-e2e-core/src/categories/api.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/amplify-category-api/src/provider-utils/awscloudformation/cdk-stack-builder/apigw-stack-transform.ts b/packages/amplify-category-api/src/provider-utils/awscloudformation/cdk-stack-builder/apigw-stack-transform.ts index 924ad98e4cb..7e5a682d327 100644 --- a/packages/amplify-category-api/src/provider-utils/awscloudformation/cdk-stack-builder/apigw-stack-transform.ts +++ b/packages/amplify-category-api/src/provider-utils/awscloudformation/cdk-stack-builder/apigw-stack-transform.ts @@ -41,7 +41,7 @@ export class ApigwStackTransform { async transform() { let authResourceName: string; if (this.resourceName === 'AdminQueries') { - [authResourceName] = getAmplifyResourceByCategories(AmplifyCategories.AUTH).filter(resourceName => resourceName !== 'UserPoolGroups'); + [authResourceName] = getAmplifyResourceByCategories(AmplifyCategories.AUTH).filter(resourceName => resourceName !== 'userPoolGroups'); } // Generate cloudformation stack from cli-inputs.json diff --git a/packages/amplify-e2e-core/src/categories/api.ts b/packages/amplify-e2e-core/src/categories/api.ts index 479409002e5..b77007b1779 100644 --- a/packages/amplify-e2e-core/src/categories/api.ts +++ b/packages/amplify-e2e-core/src/categories/api.ts @@ -425,7 +425,7 @@ export function addRestApi(cwd: string, settings: RestApiSettings) { if (settings.path) { chain .sendConfirmYes() - .wait('Select the REST API you would want to update') + .wait('Select the REST API you want to update') .sendCarriageReturn() // Select the first REST API .wait('Provide a path') .sendLine(settings.path)