mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 17:34:07 +08:00
Fix iOS e2e test (#23566)
Summary: As part of #23561 this is an attempt at fixing iOS. [iOS] [Fixed] - e2e test Pull Request resolved: https://github.com/facebook/react-native/pull/23566 Differential Revision: D14162780 Pulled By: cpojer fbshipit-source-id: b55d32e30f88370100f7fbddf9dfb208280844f4
This commit is contained in:
committed by
Facebook Github Bot
parent
c06473ab46
commit
4a01be47cd
@@ -47,15 +47,7 @@ let exitCode;
|
||||
|
||||
try {
|
||||
// install CLI
|
||||
cd('react-native-cli');
|
||||
exec('yarn pack');
|
||||
const CLI_PACKAGE = path.join(
|
||||
ROOT,
|
||||
'react-native-cli',
|
||||
'react-native-cli-*.tgz',
|
||||
);
|
||||
cd('..');
|
||||
|
||||
const CLI_PACKAGE = 'react-native-cli';
|
||||
if (!argv['skip-cli-install']) {
|
||||
if (exec(`sudo yarn global add ${CLI_PACKAGE}`).code) {
|
||||
echo('Could not install react-native-cli globally.');
|
||||
@@ -197,7 +189,7 @@ try {
|
||||
if (
|
||||
tryExecNTimes(() => {
|
||||
exec('sleep 10s');
|
||||
let destination = 'platform=iOS Simulator,name=iPhone 5s,OS=11.4';
|
||||
let destination = 'platform=iOS Simulator,name=iPhone 5s,OS=12.1';
|
||||
let sdk = 'iphonesimulator';
|
||||
let scheme = 'EndToEndTest';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user