Skip to content

Commit d45ba3a

Browse files
author
Dane Pilcher
committed
test: don't change app type
1 parent a6557db commit d45ba3a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/amplify-codegen-e2e-core/src/init/initProjectHelper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function initAndroidProjectWithProfile(cwd: string, settings: Object): Pr
131131
}
132132

133133
export function initIosProjectWithProfile(cwd: string, settings: Object): Promise<void> {
134-
const s = { ...defaultSettings, appType: 3, ...settings };
134+
const s = { ...defaultSettings, ...settings };
135135

136136
addCITags(cwd);
137137

@@ -152,7 +152,7 @@ export function initIosProjectWithProfile(cwd: string, settings: Object): Promis
152152
.wait('Choose your default editor:')
153153
.sendLine(s.editor)
154154
.wait("Choose the type of app that you're building")
155-
.sendKeyDown(s.appType)
155+
.sendKeyDown(3)
156156
.sendCarriageReturn()
157157
.wait('Select the authentication method you want to use:')
158158
.sendCarriageReturn()

packages/amplify-codegen-e2e-tests/src/__tests__/build-app-swift.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('build app - Swift', () => {
2828
const config = DEFAULT_IOS_CONFIG;
2929

3030
beforeAll(async () => {
31-
await initIosProjectWithProfile(projectRoot, { ...config, appType: 0 });
31+
await initIosProjectWithProfile(projectRoot, { ...config });
3232
await addApiWithDefaultSchemaAndConflictDetection(projectRoot);
3333
apiName = readdirSync(path.join(projectRoot, 'amplify', 'backend', 'api'))[0];
3434
apiGqlCompile(projectRoot);

0 commit comments

Comments
 (0)