Skip to content

Commit

Permalink
Update device-tests readme with monorepo commands. (#23630)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioEstevao committed Jul 6, 2020
1 parent acc6dbe commit 64215aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-native-editor/__device-tests__/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ TBA

## Running the tests locally

TLDR; to run the tests locally ensure metro isn't running and then run `yarn test:e2e:ios:local` and `yarn test:e2e:android:local` for the desired platform.
TLDR; to run the tests locally ensure metro isn't running and then run `npm run native test:e2e:ios:local` and `npm run native test:e2e:android:local` for the desired platform.

Those commands include the process to build a testable version of the app, if it's the case you don't want to run the
full suite and want to run a specific file or files you can use the e2e build commands that can be found in the package.json for the respective platform and then
run `TEST_RN_PLATFORM=android yarn device-tests <pattern>` where the pattern can just be the file path.
run `TEST_RN_PLATFORM=android npm run native device-tests <pattern>` where the pattern can just be the file path.

### Starting the Appium Server

Expand Down

0 comments on commit 64215aa

Please sign in to comment.