garrensmith closed pull request #1024: Fix intermittent fail in Nightwatch test
URL: https://github.com/apache/couchdb-fauxton/pull/1024
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/app/addons/documents/tests/nightwatch/tableView.js 
b/app/addons/documents/tests/nightwatch/tableView.js
index 4c6ce2a7d..4648fb919 100644
--- a/app/addons/documents/tests/nightwatch/tableView.js
+++ b/app/addons/documents/tests/nightwatch/tableView.js
@@ -31,6 +31,7 @@ module.exports = {
       .clickWhenVisible('.fonticon-table')
 
       .waitForElementVisible('.tableview-checkbox-cell', waitTime, false)
+      .waitForElementVisible('.table', waitTime, false)
       .getText('.table', function (result) {
         var data = result.value;
 
@@ -61,6 +62,7 @@ module.exports = {
       .url(baseUrl + '/#/database/' + newDatabaseName + '/_all_docs')
       .assert.containsText('button.active', 'Metadata')
       .waitForElementVisible('.tableview-checkbox-cell', waitTime, false)
+      .waitForElementVisible('.table', waitTime, false)
       .getText('.table', function (result) {
         var data = result.value;
 


 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to