react-native-macos/scripts
Casper Boone bce1e6f536 Fix and update end to end tests for Android (#23958)
Summary:
This PRs makes an attempt at fixing the set up of the Android end to end tests, and the tests themselves. The end goal is to re-enable the tests on CircleCI (see #23561 for more details).

The goal of this PR is to the end to end tests to a working state. Better tests can be added at a later point.

I changed the tests using the menu button. These tests made something silently crash/hang, after which it was no longer possible to get an element or even get the source. A fix for this needs further investigation.

Also, I enabled the tests in the CircleCI config, however CircleCI is currently failing on them with the following error:
```
info Running /opt/android/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
error: closed
info Could not run adb reverse: Command failed: /opt/android/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
info Starting the app on emulator-5554 (/opt/android/platform-tools/adb -s emulator-5554 shell am start -n com.endtoendtest/com.endtoendtest.MainActivity)...
Starting: Intent { cmp=com.endtoendtest/.MainActivity }

Too long with no output (exceeded 10m0s)
```
Some help here would be appreciated. An alternative is to not enable the tests yet on CircleCI in this PR.

[Android] [fixed] - Fix and update end to end tests for Android
Pull Request resolved: https://github.com/facebook/react-native/pull/23958

Differential Revision: D14502884

Pulled By: hramos

fbshipit-source-id: 4316c3fd817451d332e64a10d88389b74a60d3dd
2019-03-18 07:51:01 -07:00
..
circleci Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
versiontemplates Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
.packager.env Move YGStyle to seperate file and add constructors 2018-02-20 05:55:36 -08:00
.tests.env Bump to Android Build Tools 28.0.3, Gradle 4.10.2, Gradle Plugin 3.2.1 2019-01-11 12:24:59 -08:00
android-e2e-test.js Fix and update end to end tests for Android (#23958) 2019-03-18 07:51:01 -07:00
android-setup.sh Migration of RN-Android OSS tests to Android X 2019-03-17 08:13:30 -07:00
bump-oss-version.js fix: remove the unused packages and convert minimist to yargs (#23467) 2019-02-15 05:54:10 -08:00
generate-rncore.sh Fabric: working podspecs & works in RNTester (#23803) 2019-03-15 23:59:22 -07:00
ios-configure-glog.sh Upgrade folly to v2018.10.22.00 for iOS (#21976) 2018-10-29 12:13:11 -07:00
ios-install-third-party.sh Change location of iOS build cache directory to ~/Library/Caches/ (#22688) 2019-01-25 03:26:32 -08:00
launchPackager.bat Fix bat file (#23967) 2019-03-18 07:51:01 -07:00
launchPackager.command macOS : request interactive input when killing the packager (#19663) 2019-02-24 22:48:17 -08:00
objc-test-ios.sh Propagate exit code in test_objc (#22562) 2018-12-10 20:34:12 -08:00
objc-test-tvos.sh Propagate exit code in test_objc (#22562) 2018-12-10 20:34:12 -08:00
objc-test.sh test_ios → : Update iOS Snapshots, remove tvOS tests, disable failing tests (#22720) 2018-12-20 15:08:47 -08:00
packager.sh Update RNTester snapshots 2018-12-18 16:20:10 -08:00
process-podspecs.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
publish-npm.js Deploy to npm on tagged commits only (#21250) 2018-09-22 09:16:58 -07:00
react-native-xcode.sh - Allow overriding ENTRY_FILE on react-native-xcode.sh script (#23667) 2019-02-27 13:37:22 -08:00
run-android-ci-instrumentation-tests.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-emulator.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-android-local-integration-tests.sh Update React Native to use latest CLI (#23940) 2019-03-18 06:22:53 -07:00
run-android-local-unit-tests.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
run-ci-e2e-tests.js Fix and update end to end tests for Android (#23958) 2019-03-18 07:51:01 -07:00
run-instrumentation-tests-via-adb-shell.sh Migration of RN-Android OSS tests to Android X 2019-03-17 08:13:30 -07:00
sync-css-layout.sh Clean up instances of scripts/signedsource.py 2019-03-14 13:42:27 -07:00
test-manual-e2e.sh RN: Missing Copyright Headers 2018-10-31 01:37:26 -07:00
try-n-times.js Fix linting issues (#22062) 2018-11-01 14:29:16 -07:00
validate-android-device-env.sh Use ShellCheck (#19681) 2018-09-28 17:03:24 -07:00
validate-android-sdk.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
validate-android-test-env.sh fix validate-android-test-env.sh (#22961) 2019-01-14 10:54:18 -08:00
validate-ios-test-env.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00