Skip to content

Commit

Permalink
fix(test): windows test fix (#8593)
Browse files Browse the repository at this point in the history
  • Loading branch information
sundersc committed Oct 29, 2021
1 parent f72e59b commit f7631f8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/amplify-e2e-core/src/categories/api.ts
Expand Up @@ -188,9 +188,7 @@ export function addApiWithAllAuthModesV2(cwd: string, opts: Partial<AddApiOption
.sendCarriageReturn()
.wait('Do you want to edit the schema now?')
.sendConfirmNo()
.wait(
'"amplify publish" will build all your local backend and frontend resources (if you have hosting category added) and provision it in the cloud',
)
.wait('"amplify publish" will build all your local backend and frontend resources')
.run((err: Error) => {
if (!err) {
resolve();
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-e2e-core/src/init/amplifyPush.ts
Expand Up @@ -57,7 +57,7 @@ export function amplifyPushGraphQlWithCognitoPrompt(cwd: string, testingWithLate
.wait(/.*Do you want to configure advanced settings.*/)
.sendCarriageReturn()
.wait('Do you want to generate code for your newly created GraphQL API')
.sendLine('n')
.sendConfirmNo()
.wait(/.*/)
.run((err: Error) => {
if (!err) {
Expand Down
2 changes: 0 additions & 2 deletions packages/amplify-e2e-tests/src/__tests__/api_5.test.ts
Expand Up @@ -17,8 +17,6 @@ import {
listRolePolicies,
updateApiSchema,
updateAuthAddAdminQueries,
addApiWithAllAuthModesV2,
amplifyPush,
} from 'amplify-e2e-core';
import { readdirSync, readFileSync, writeFileSync } from 'fs';
import * as path from 'path';
Expand Down

0 comments on commit f7631f8

Please sign in to comment.