From 2da149bfe1a9f7d5f54b178c670360197a6a30f0 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Mon, 1 May 2017 17:15:41 +0900 Subject: [PATCH] Update README.md to make it clear how to run webdriver tests locally --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 47259b40e8..fb877ab143 100644 --- a/README.md +++ b/README.md @@ -114,12 +114,6 @@ Now actually run Brave in another terminal npm start -To run the webdriver tests: - - npm run watch-test or npm run watch-all - - npm test - Some errors related to [brave/electron](https://github.com/brave/electron) update can be fixed by doing a clean install: rm -rf node_modules/ @@ -127,6 +121,16 @@ Some errors related to [brave/electron](https://github.com/brave/electron) updat If this does not work, please clear out your ~/.electron first and try again. +### Running webdriver tests + +To run the webdriver tests + + npm run watch-test or npm run watch-all + +Now run tests in another terminal + + npm test + ### Port Brave uses port 8080 to communicate between its client and server sides by default. If you are using port 8080 for something else (e.g. a web proxy) then you can set the node config to make it use a different one.