mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 15:33:26 +00:00
chore: adjust ios configs in generated configs
This commit is contained in:
@@ -11,19 +11,19 @@
|
|||||||
"apps": {
|
"apps": {
|
||||||
"ios.debug": {
|
"ios.debug": {
|
||||||
"type": "ios.app",
|
"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",
|
"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/Mobile.app"
|
"binaryPath": "../../apps/mobile/ios/build/Build/Products/Debug-iphonesimulator/movieweb.app"
|
||||||
},
|
},
|
||||||
"ios.release": {
|
"ios.release": {
|
||||||
"type": "ios.app",
|
"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",
|
"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/Mobile.app"
|
"binaryPath": "../../apps/mobile/ios/build/Build/Products/Release-iphonesimulator/movieweb.app"
|
||||||
},
|
},
|
||||||
|
|
||||||
"ios.local": {
|
"ios.local": {
|
||||||
"type": "ios.app",
|
"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",
|
"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/Mobile.app"
|
"binaryPath": "../../apps/mobile/dist/movieweb.app"
|
||||||
},
|
},
|
||||||
|
|
||||||
"android.debug": {
|
"android.debug": {
|
||||||
@@ -39,8 +39,8 @@
|
|||||||
|
|
||||||
"android.local": {
|
"android.local": {
|
||||||
"type": "android.apk",
|
"type": "android.apk",
|
||||||
"build": "pnpm exec nx run mobile:build --platform android --profile preview --wait --local --no-interactive --output=../../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/Mobile.apk"
|
"binaryPath": "../../apps/mobile/dist/movieweb.apk"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devices": {
|
"devices": {
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
import { device, element, by, expect } from 'detox';
|
import { device, element, by, expect } from 'detox';
|
||||||
|
|
||||||
describe('Mobile', () => {
|
describe('movieweb', () => {
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await device.reloadReactNative();
|
await device.reloadReactNative();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should display welcome message', async () => {
|
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 👋');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user