mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
0a798881d7
Summary: Running `test-manual-e2e.sh` from any folder other than the repo root results in errors regarding files not existing, that's because we're not taking into consideration the path from where the script is invoked. This PR updates it so that we get the absolute path of the script and then use it to get the parent directory and `cd` to the repo root folder. Closes https://github.com/facebook/react-native/issues/32999 ## Changelog [Internal] [Fixed] - fix access to relative paths when invoking `test-manual-e2e.sh` from folders other than the repo root Pull Request resolved: https://github.com/facebook/react-native/pull/33000 Test Plan: 1. Clone this repo 2. Navigate to the rn-tester folder `cd packages/rn-tester/` 3. Run `../../scripts/test-manual-e2e.sh` 4. Select RNTester, Android and Hermes https://user-images.githubusercontent.com/11707729/151730441-18bc37de-0224-4f5e-a2fe-408e3ace5c1f.mov Reviewed By: ShikaSD Differential Revision: D33915561 Pulled By: cortinico fbshipit-source-id: 66f2d1ebee50bba3fe884d6346ea08ffced47a96