Zfilipin has submitted this change and it was merged. Change subject: README: mention BROWSER_LABEL ......................................................................
README: mention BROWSER_LABEL I was not sure how to change the browser to use, turns out we simply have to specify its name with the BROWSER_LABEL: export BROWSER_LABEL=phantomjs # Linux/Unix/Mac set BROWSER_LABEL=phantomjs # Windows This adds a mention in the README file. Change-Id: I54e4d8fc5f8b6b3e6e6a16749b9179a535bff87f --- M README.md 1 file changed, 5 insertions(+), 0 deletions(-) Approvals: Hashar: Looks good to me, but someone else must approve Zfilipin: Looks good to me, approved jenkins-bot: Verified diff --git a/README.md b/README.md index b048030..9711cd7 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,11 @@ To run a single test scenario, put a colon and the line number (NN) on which the scenario begins after the file name: `bundle exec cucumber features/FEATURE_NAME.feature:NN`. +You can use a different browser with the BROWSER_LABEL env variable, the fastest is probably PhantomJS, a headless browser: + + export BROWSER_LABEL=phantomjs # Linux/Unix/Mac + set BROWSER_LABEL=phantomjs # Windows + By default, the browser will close itself at the end of every scenario. If you want the browser to stay open, set the environment variable `KEEP_BROWSER_OPEN` to `true`: export KEEP_BROWSER_OPEN=true # Linux/Unix/Mac -- To view, visit https://gerrit.wikimedia.org/r/85812 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I54e4d8fc5f8b6b3e6e6a16749b9179a535bff87f Gerrit-PatchSet: 2 Gerrit-Project: qa/browsertests Gerrit-Branch: master Gerrit-Owner: Hashar <has...@free.fr> Gerrit-Reviewer: Cmcmahon <cmcma...@wikimedia.org> Gerrit-Reviewer: Hashar <has...@free.fr> Gerrit-Reviewer: Zfilipin <zfili...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits