This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
key: | |
stages: | |
- build | |
- test | |
- deploy | |
after_script: | |
- (if [ "$(lsof -n -i4TCP:2137)" != "" ]; then kill -9 $(lsof -n -i4TCP:2137); else echo "Cleaned"; exit 33; fi); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"detox": { | |
"configurations": { | |
"ios.sim.debug": { | |
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/PolideaSample.app", | |
"build": "xcodebuild -project ios/PolideaSample.xcodeproj -scheme PolideaSample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build", | |
"type": "ios.simulator", | |
"name": "iPhone 6s Plus" | |
}, | |
"android.emu.debug": { | |
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Example', () => { | |
beforeEach(async () => { | |
await device.reloadReactNative(); | |
await waitFor(element(by.id('ButtonText'))).toBeVisible().withTimeout(10000); | |
}); | |
it('should Press me text be displayed', async () => { | |
await waitFor(element(by.text("Press Me"))).toBeVisible().withTimeout(100); | |
}); |