GitHub user benkeen opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/186
New waitForAttribute nightwatch helper
This test allows us to not just wait for an element, but for an
element attribute containing a certain value. This can be helpful in a
number of scenarios, like when a JS event changes the content of a page
but the DOM structure remains largely the same (e.g. a form).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benkeen/couchdb-fauxton
waitforattribute-nightwatch-helper
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/186.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 #186
----
commit 896a689e84327795d2c26a5fd40119dfbde21db7
Author: Benjamin Keen <[email protected]>
Date: 2014-12-04T23:01:20Z
New waitForAttribute nightwatch helper
This test allows us to not just wait for an element, but for an
element attribute containing a certain value. This can be helpful in a
number of scenarios, like when a JS event changes the content of a page
but the DOM structure remains largely the same (e.g. a form).
----
---
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.
---