Repository: couchdb-fauxton Updated Branches: refs/heads/master ade8977ab -> b5247fcd8
harden flaky tests PR: #591 PR-URL: https://github.com/apache/couchdb-fauxton/pull/591 Reviewed-By: Benjamin Keen <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/b5247fcd Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/b5247fcd Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/b5247fcd Branch: refs/heads/master Commit: b5247fcd86ca2173dc3ee1c1b3960a765e90e252 Parents: ade8977 Author: Robert Kowalski <[email protected]> Authored: Tue Dec 8 17:37:22 2015 +0100 Committer: Robert Kowalski <[email protected]> Committed: Wed Dec 9 12:58:22 2015 +0100 ---------------------------------------------------------------------- app/addons/documents/tests/nightwatch/deletesDocuments.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b5247fcd/app/addons/documents/tests/nightwatch/deletesDocuments.js ---------------------------------------------------------------------- diff --git a/app/addons/documents/tests/nightwatch/deletesDocuments.js b/app/addons/documents/tests/nightwatch/deletesDocuments.js index 83989e4..3d1dcff 100644 --- a/app/addons/documents/tests/nightwatch/deletesDocuments.js +++ b/app/addons/documents/tests/nightwatch/deletesDocuments.js @@ -21,6 +21,8 @@ module.exports = { .createDocument(newDocumentName, newDatabaseName) .createDocument(newDocumentName + '2', newDatabaseName) .loginToGUI() + .checkForDocumentCreated(newDocumentName) + .checkForDocumentCreated(newDocumentName + '2') .url(baseUrl) .waitForElementPresent('#dashboard-content a[href="#/database/' + newDatabaseName + '/_all_docs"]', waitTime, false) .clickWhenVisible('#dashboard-content a[href="#/database/' + newDatabaseName + '/_all_docs"]', waitTime, false) @@ -108,6 +110,7 @@ module.exports = { client .createDocument(newDocumentName, newDatabaseName) + .checkForDocumentCreated(newDocumentName) .loginToGUI() .url(baseUrl + '#/database/' + newDatabaseName + '/' + newDocumentName) .waitForElementPresent('#editor-container', waitTime, false)
