From d887e9f20741a892a3896cf66f2986ea476ef635 Mon Sep 17 00:00:00 2001 From: castdrian Date: Mon, 15 Jan 2024 13:17:18 +0100 Subject: [PATCH] chore: adjust ios configs in generated configs --- apps/mobile-e2e/.detoxrc.json | 16 ++++++++-------- apps/mobile-e2e/src/app.spec.ts | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/mobile-e2e/.detoxrc.json b/apps/mobile-e2e/.detoxrc.json index d11ac66..71555ad 100644 --- a/apps/mobile-e2e/.detoxrc.json +++ b/apps/mobile-e2e/.detoxrc.json @@ -11,19 +11,19 @@ "apps": { "ios.debug": { "type": "ios.app", - "build": "cd ../../apps/mobile/ios && xcodebuild -workspace Mobile.xcworkspace -scheme Mobile -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' -derivedDataPath ./build -quiet", - "binaryPath": "../../apps/mobile/ios/build/Build/Products/Debug-iphonesimulator/Mobile.app" + "build": "cd ../../apps/mobile/ios && xcodebuild -workspace movieweb.xcworkspace -scheme movieweb -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' -derivedDataPath ./build -quiet", + "binaryPath": "../../apps/mobile/ios/build/Build/Products/Debug-iphonesimulator/movieweb.app" }, "ios.release": { "type": "ios.app", - "build": "cd ../../apps/mobile/ios && xcodebuild -workspace Mobile.xcworkspace -scheme Mobile -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' -derivedDataPath ./build -quiet", - "binaryPath": "../../apps/mobile/ios/build/Build/Products/Release-iphonesimulator/Mobile.app" + "build": "cd ../../apps/mobile/ios && xcodebuild -workspace movieweb.xcworkspace -scheme movieweb -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' -derivedDataPath ./build -quiet", + "binaryPath": "../../apps/mobile/ios/build/Build/Products/Release-iphonesimulator/movieweb.app" }, "ios.local": { "type": "ios.app", - "build": "pnpm exec nx run mobile:build --platform ios --profile preview --wait --local --no-interactive --output=../../apps/mobile/dist/Mobile.tar.gz", - "binaryPath": "../../apps/mobile/dist/Mobile.app" + "build": "pnpm exec nx run mobile:build --platform ios --profile preview --wait --local --no-interactive --output=../../apps/mobile/dist/movieweb.tar.gz", + "binaryPath": "../../apps/mobile/dist/movieweb.app" }, "android.debug": { @@ -39,8 +39,8 @@ "android.local": { "type": "android.apk", - "build": "pnpm exec nx run mobile:build --platform android --profile preview --wait --local --no-interactive --output=../../apps/mobile/dist/Mobile.apk", - "binaryPath": "../../apps/mobile/dist/Mobile.apk" + "build": "pnpm exec nx run mobile:build --platform android --profile preview --wait --local --no-interactive --output=../../apps/mobile/dist/movieweb.apk", + "binaryPath": "../../apps/mobile/dist/movieweb.apk" } }, "devices": { diff --git a/apps/mobile-e2e/src/app.spec.ts b/apps/mobile-e2e/src/app.spec.ts index c61a9c5..826c003 100644 --- a/apps/mobile-e2e/src/app.spec.ts +++ b/apps/mobile-e2e/src/app.spec.ts @@ -1,11 +1,11 @@ import { device, element, by, expect } from 'detox'; -describe('Mobile', () => { +describe('movieweb', () => { beforeEach(async () => { await device.reloadReactNative(); }); it('should display welcome message', async () => { - await expect(element(by.id('heading'))).toHaveText('Welcome Mobile 👋'); + await expect(element(by.id('heading'))).toHaveText('Welcome movie-web 👋'); }); });