GitHub user benkeen opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/363
Nightwatch test updates
This PR includes a number of small changes to the nightwatch
tests to improve stability.
Specific changes:
navigateAfterEditingDocShouldShowAConfirmationBox.js
- this now looks for the activetasks nav item instead of config,
because itâs more likely to be there for all environments.
paginateAllDocs.js
- the header, results + all docs nav load at slightly different
orders. This now ensures all are available before running the
3 tests. click()âs replaced with clickWhenVisible()âs to
ensure theyâre robust.
General changes:
- replaced several click()âs with clickWhenVisible();
- added a few extra waitForElementPresent()âs to ensure the
whole page (not just a chunk of it) has been loaded before
continuing
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benkeen/couchdb-fauxton nightwatch-tweaks
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/363.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #363
----
commit a7dc4c8587a9e6a552f3b032422b91f0838ec4b2
Author: Ben Keen <[email protected]>
Date: 2015-04-07T19:59:50Z
Nightwatch test updates
This PR includes a number of small changes to the nightwatch
tests to improve stability.
Specific changes:
navigateAfterEditingDocShouldShowAConfirmationBox.js
- this now looks for the activetasks nav item instead of config,
because itâs more likely to be there for all environments.
paginateAllDocs.js
- the header, results + all docs nav load at slightly different
orders. This now ensures all are available before running the
3 tests. click()âs replaced with clickWhenVisible()âs to
ensure theyâre robust.
General changes:
- replaced several click()âs with clickWhenVisible();
- added a few extra waitForElementPresent()âs to ensure the
whole page (not just a chunk of it) has been loaded before
continuing
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---