From 8ecdbf225e94092eb3b30564fada9b2356f341e9 Mon Sep 17 00:00:00 2001 From: John Corser Date: Thu, 22 Jul 2021 17:07:49 +0000 Subject: [PATCH] test(amplify-e2e-tests): assume function and layer lambdas are not being tested simultaneously --- packages/amplify-e2e-core/src/categories/lambda-layer.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/amplify-e2e-core/src/categories/lambda-layer.ts b/packages/amplify-e2e-core/src/categories/lambda-layer.ts index b638502766e..633c402c425 100644 --- a/packages/amplify-e2e-core/src/categories/lambda-layer.ts +++ b/packages/amplify-e2e-core/src/categories/lambda-layer.ts @@ -251,9 +251,6 @@ export function updateLayer( ): Promise { return new Promise((resolve, reject) => { const chain: ExecutionContext = spawn(getCLIPath(testingWithLatestCodebase), ['update', 'function'], { cwd, stripColors: true }) - .wait('Select which capability you want to update:') - .sendKeyDown() - .sendCarriageReturn(); // Layer if (settings.numLayers > 1) { chain.wait('Select the Lambda layer to update:').sendCarriageReturn(); }