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 60D4E10EEF for ; Sat, 21 Feb 2015 04:39:49 +0000 (UTC) Received: (qmail 78976 invoked by uid 500); 21 Feb 2015 04:39:49 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 78920 invoked by uid 500); 21 Feb 2015 04:39:49 -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 78911 invoked by uid 99); 21 Feb 2015 04:39:49 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Feb 2015 04:39:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 20286E0534; Sat, 21 Feb 2015 04:39:49 +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: <9d095a18552b4fb5ba143dcf08cf810f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: fauxton commit: updated refs/heads/master to c2cb64f Date: Sat, 21 Feb 2015 04:39:49 +0000 (UTC) Repository: couchdb-fauxton Updated Branches: refs/heads/master e6f089aa1 -> c2cb64fbf Fix for flaky nightwatch test This fixes the editDocumentsFromView.js test that would occasionally fail if the element was present but not visible. Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/c2cb64fb Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/c2cb64fb Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/c2cb64fb Branch: refs/heads/master Commit: c2cb64fbf15437b15397a061e09f17272b010e2a Parents: e6f089a Author: Ben Keen Authored: Fri Feb 20 08:52:00 2015 -0800 Committer: Ben Keen Committed: Fri Feb 20 08:52:00 2015 -0800 ---------------------------------------------------------------------- app/addons/documents/tests/nightwatch/editDocumentsFromView.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/c2cb64fb/app/addons/documents/tests/nightwatch/editDocumentsFromView.js ---------------------------------------------------------------------- diff --git a/app/addons/documents/tests/nightwatch/editDocumentsFromView.js b/app/addons/documents/tests/nightwatch/editDocumentsFromView.js index 4f1a69b..e05d270 100644 --- a/app/addons/documents/tests/nightwatch/editDocumentsFromView.js +++ b/app/addons/documents/tests/nightwatch/editDocumentsFromView.js @@ -36,8 +36,7 @@ module.exports = { .clickWhenVisible('#nav-header-abc') .clickWhenVisible('#nav-design-function-abcviews') .clickWhenVisible('#abc_evens') - - .waitForElementPresent('a[href="#/database/fauxton-selenium-tests/document_10"]', waitTime, false) + .waitForElementVisible('a[href="#/database/fauxton-selenium-tests/document_10"]', waitTime, false) .click('a[href="#/database/fauxton-selenium-tests/document_10"]') //navigated to editor