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 <[email protected]> Authored: Mon Jan 9 11:45:40 2017 +0200 Committer: Garren Smith <[email protected]> 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)
