You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2017/01/09 10:46:43 UTC

fauxton commit: updated refs/heads/master to a766d34

Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master c6f36518f -> a766d3466


Make clipboard copy tests more robust


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/a766d346
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/a766d346
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/a766d346

Branch: refs/heads/master
Commit: a766d3466eb7d627fce5d65ca6a6d0a6ccca2f36
Parents: c6f3651
Author: Garren Smith <ga...@gmail.com>
Authored: Mon Jan 9 11:45:40 2017 +0200
Committer: Garren Smith <ga...@gmail.com>
Committed: Mon Jan 9 12:46:24 2017 +0200

----------------------------------------------------------------------
 app/addons/components/tests/nightwatch/copyToClipboard.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/a766d346/app/addons/components/tests/nightwatch/copyToClipboard.js
----------------------------------------------------------------------
diff --git a/app/addons/components/tests/nightwatch/copyToClipboard.js b/app/addons/components/tests/nightwatch/copyToClipboard.js
index 1b9942a..2dcd815 100644
--- a/app/addons/components/tests/nightwatch/copyToClipboard.js
+++ b/app/addons/components/tests/nightwatch/copyToClipboard.js
@@ -81,8 +81,10 @@ module.exports = {
 
     client
       .loginToGUI()
+      .populateDatabase(newDatabaseName)
       .url(baseUrl + '/#/database/' + newDatabaseName + '/_all_docs')
 
+      .waitForElementPresent('.doc-item', waitTime, false)
       .clickWhenVisible('.fonticon-table', waitTime, false)
       .clickWhenVisible('.table-view-docs tr:first-child .clipboard-copy-element', waitTime, false)
       .waitForElementVisible('.global-notification', waitTime, false)