-
-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(e2e): Fetch received event in the tested app (#4209)
- Loading branch information
1 parent
23d9465
commit 4297324
Showing
8 changed files
with
113 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
*.log | ||
*.app | ||
*.apk | ||
|
||
react-native-versions |
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 |
---|---|---|
|
@@ -112,9 +112,12 @@ if (actions.includes('create')) { | |
env: Object.assign(env, { YARN_ENABLE_IMMUTABLE_INSTALLS: false }), | ||
}); | ||
|
||
console.log(`done`); | ||
|
||
console.log(`done2`); | ||
execSync(`yarn add [email protected]`, { | ||
stdio: 'inherit', | ||
cwd: appDir, | ||
// yarn v3 run immutable install by default in CI | ||
env: Object.assign(env, { YARN_ENABLE_IMMUTABLE_INSTALLS: false }), | ||
}); | ||
|
||
// Patch the app | ||
execSync(`patch --verbose --strip=0 --force --ignore-whitespace --fuzz 4 < ${patchScriptsDir}/rn.patch`, { | ||
|
@@ -138,9 +141,11 @@ if (actions.includes('create')) { | |
cwd: `${appDir}/ios`, | ||
env: env, | ||
}); | ||
console.log(`done3`); | ||
|
||
if (fs.existsSync(`${appDir}/Gemfile`)) { | ||
// TMP Fix for https://github.com/CocoaPods/Xcodeproj/issues/989 | ||
fs.appendFileSync(`${appDir}/Gemfile`, "gem 'xcodeproj', '< 1.26.0'\n"); | ||
|
||
execSync(`bundle install`, { stdio: 'inherit', cwd: appDir, env: env }); | ||
execSync('bundle exec pod install --repo-update', { stdio: 'inherit', cwd: `${appDir}/ios`, env: env }); | ||
} else { | ||
|
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
Submodule 0.65.3
deleted from
2d3361
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