Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6AB510CA3 for ; Thu, 15 Jan 2015 02:51:23 +0000 (UTC) Received: (qmail 74386 invoked by uid 500); 15 Jan 2015 02:51:25 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 74329 invoked by uid 500); 15 Jan 2015 02:51:25 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 74320 invoked by uid 99); 15 Jan 2015 02:51:25 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2015 02:51:25 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4675DA43525; Thu, 15 Jan 2015 02:51:25 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: benkeen@apache.org To: commits@couchdb.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: fauxton commit: updated refs/heads/master to bbf335c Date: Thu, 15 Jan 2015 02:51:25 +0000 (UTC) Repository: couchdb-fauxton Updated Branches: refs/heads/master b61f60181 -> bbf335c19 Fix for failing nightwatch test Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/bbf335c1 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/bbf335c1 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/bbf335c1 Branch: refs/heads/master Commit: bbf335c192837670d6627f954d8b1fb30ff2baa8 Parents: b61f601 Author: Benjamin Keen Authored: Wed Jan 14 10:37:33 2015 -0800 Committer: Benjamin Keen Committed: Wed Jan 14 10:37:33 2015 -0800 ---------------------------------------------------------------------- app/addons/documents/tests/nightwatch/createsDocument.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/bbf335c1/app/addons/documents/tests/nightwatch/createsDocument.js ---------------------------------------------------------------------- diff --git a/app/addons/documents/tests/nightwatch/createsDocument.js b/app/addons/documents/tests/nightwatch/createsDocument.js index 4117de3..3d2241d 100644 --- a/app/addons/documents/tests/nightwatch/createsDocument.js +++ b/app/addons/documents/tests/nightwatch/createsDocument.js @@ -25,7 +25,7 @@ module.exports = { .click('#new-all-docs-button a') .waitForElementPresent('#new-all-docs-button a[href="#/database/'+newDatabaseName+'/new"]', waitTime, false) .click('#new-all-docs-button a[href="#/database/'+newDatabaseName+'/new"]') - .waitForElementPresent('#doc', waitTime, false) + .waitForElementPresent('#editor-container', waitTime, false) .verify.urlEquals(baseUrl+'/#/database/'+ newDatabaseName+'/new') .execute('\ var editor = ace.edit("editor-container");\ @@ -33,8 +33,8 @@ module.exports = { editor.removeWordRight();\ editor.insert("'+newDocumentName+'");\ ') - .waitForElementPresent('#doc button.save-doc.btn.btn-success.save', waitTime, false) - .click('#doc button.save-doc.btn.btn-success.save') + .waitForElementPresent('#doc-editor-actions-panel .save-doc', waitTime, false) + .click('#doc-editor-actions-panel .save-doc') .pause(1000) .url(baseUrl+'/'+newDatabaseName+'/_all_docs') .waitForElementPresent('body', waitTime, false)