-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'wixMaster' into eh-custom-detox
- Loading branch information
Showing
312 changed files
with
7,716 additions
and
4,532 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- label: ":android::react: RN .73 + Android: Demo app" | ||
command: | ||
- "nvm install" | ||
- "./scripts/demo-projects.android.sh" | ||
env: | ||
REACT_NATIVE_VERSION: 0.73.2 | ||
REACT_NATIVE_COMPAT_TEST: true # Only set 'true' in jobs with the latest supported RN | ||
DETOX_DISABLE_POD_INSTALL: true | ||
DETOX_DISABLE_POSTINSTALL: true | ||
JAVA_HOME: /opt/openjdk/jdk-17.0.9.jdk/Contents/Home/ | ||
artifact_paths: | ||
- "/Users/builder/work/coverage/**/*.lcov" | ||
- "/Users/builder/work/artifacts*.tar.gz" |
This file contains 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
6 changes: 3 additions & 3 deletions
6
.buildkite/jobs/pipeline.android_rn_70.yml → .buildkite/jobs/pipeline.android_rn_73.yml
This file contains 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
4 changes: 2 additions & 2 deletions
4
...kite/jobs/pipeline.ios_demo_app_rn_70.yml → ...kite/jobs/pipeline.ios_demo_app_rn_73.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
- label: ":ios::react: RN. 70 + iOS: Demo app" | ||
- label: ":ios::react: RN .73 + iOS: Demo app" | ||
command: | ||
- "nvm install" | ||
- "./scripts/demo-projects.ios.sh" | ||
env: | ||
REACT_NATIVE_VERSION: 0.70.7 | ||
REACT_NATIVE_VERSION: 0.73.2 | ||
artifact_paths: | ||
- "/Users/builder/work/coverage/**/*.lcov" | ||
- "/Users/builder/work/artifacts*.tar.gz" |
4 changes: 2 additions & 2 deletions
4
.buildkite/jobs/pipeline.ios_rn_70.yml → .buildkite/jobs/pipeline.ios_rn_73.yml
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
lts/gallium | ||
lts/iron |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
15.1 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
Detox | ||
</h1> | ||
<p align="center"> | ||
<b>Gray box end-to-end testing and automation library for mobile apps.</b> | ||
<b>Gray box end-to-end testing and automation framework for mobile apps.</b> | ||
</p> | ||
<p align="center"> | ||
<img alt="Demo" src="docs/img/Detox.gif"/> | ||
|
@@ -24,15 +24,19 @@ This is a test for a login screen, it runs on a device/simulator like an actual | |
|
||
```js | ||
describe('Login flow', () => { | ||
it('should login successfully', async () => { | ||
beforeEach(async () => { | ||
await device.reloadReactNative(); | ||
}); | ||
|
||
it('should login successfully', async () => { | ||
await element(by.id('email')).typeText('[email protected]'); | ||
await element(by.id('password')).typeText('123456'); | ||
await element(by.text('Login')).tap(); | ||
|
||
await expect(element(by.text('Welcome'))).toBeVisible(); | ||
await expect(element(by.id('email'))).toNotExist(); | ||
const loginButton = element(by.text('Login')); | ||
await loginButton.tap(); | ||
|
||
await expect(loginButton).not.toExist(); | ||
await expect(element(by.label('Welcome'))).toBeVisible(); | ||
}); | ||
}); | ||
``` | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.d.ts | ||
/src/android/espressoapi/**/*.js | ||
/coverage | ||
/ios | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.