Antonio-Maranhao opened a new pull request #1048: Run Nightwatch tests with 
suite retries
URL: https://github.com/apache/couchdb-fauxton/pull/1048
 
 
   ## Overview
   
   Adds the `--suiteRetries 3` option when running Nightwatch tests  on Travis. 
   
   ### Motivation
   Currently `travis_retry` is used to rerun all Nightwatch tests when one or 
more tests fail. 
   In practice though, the Travis job runs for too long and it's aborted before 
all retries can finish. 
   When using the `--suiteRetries` option, Nightwatch will rerun the failed 
suite right away, instead of relying on Travis to run all tests again.
   
   Side note: Nightwatch has a `--retries` option to retry individual tests 
instead of the whole suite. Unfortunately it's not suitable because some tests 
rely on `before()` and `after()` methods, and it'd be a major effort to review 
all tests and properly use `beforeEach`/`afterEach` instead.
   
   ## Testing recommendations
   
   No changes to code.
   
   ## Checklist
   
   - [ ] Code is written and works correctly;
   - [ ] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   - [ ] Update 
[rebar.config.script](https://github.com/apache/couchdb/blob/master/rebar.config.script)
 with the correct tag once a new Fauxton release is made
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to