couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [1/2] fauxton commit: updated refs/heads/master to 17cfa63
Date Tue, 20 Jan 2015 09:18:20 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 2a7fc648e -> 17cfa631c


try to fix flaky selenium test

see: "Waiting for attributes: avoid this!" in
https://blog.mozilla.org/webqa/2012/07/12/how-to-webdriverwait/


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

Branch: refs/heads/master
Commit: 17cfa631c1dde186f06cd1eff61552746e9ae931
Parents: b872ebf
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Mon Jan 19 17:00:51 2015 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Tue Jan 20 10:17:55 2015 +0100

----------------------------------------------------------------------
 app/addons/documents/assets/less/documents.less                | 3 ++-
 app/addons/documents/tests/nightwatch/editDocumentsFromView.js | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/17cfa631/app/addons/documents/assets/less/documents.less
----------------------------------------------------------------------
diff --git a/app/addons/documents/assets/less/documents.less b/app/addons/documents/assets/less/documents.less
index ced2dc6..d752de9 100644
--- a/app/addons/documents/assets/less/documents.less
+++ b/app/addons/documents/assets/less/documents.less
@@ -208,7 +208,8 @@ button.string-edit[disabled] {
           color: @docHeaderLabels;
         }
         .doc-edit-symbol {
-          margin-top: -3px;
+          top: -3px;
+          position: relative;
         }
         .fonticon-pencil {
           font-size: 20px;

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/17cfa631/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 3936a9a..21b6d56 100644
--- a/app/addons/documents/tests/nightwatch/editDocumentsFromView.js
+++ b/app/addons/documents/tests/nightwatch/editDocumentsFromView.js
@@ -36,7 +36,9 @@ module.exports = {
       .clickWhenVisible('#nav-header-abc')
       .clickWhenVisible('#nav-design-function-abcviews')
       .clickWhenVisible('#abc_evens')
-      .clickWhenVisible('a[href="#/database/fauxton-selenium-tests/document_10"]')
+
+      .waitForElementPresent('a[href="#/database/fauxton-selenium-tests/document_10"]', waitTime,
false)
+      .click('a[href="#/database/fauxton-selenium-tests/document_10"]')
 
       //navigated to editor
       .waitForElementVisible('#editor-container', waitTime, false)


Mime
View raw message