You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2015/09/09 16:47:29 UTC
fauxton commit: updated refs/heads/master to 1466889
Repository: couchdb-fauxton
Updated Branches:
refs/heads/master 8219b17e0 -> 146688928
Fix for missing nav on Databases page
Rather than add an entirely new (slow!) NW test, I just added
an extra test to an existing one.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/14668892
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/14668892
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/14668892
Branch: refs/heads/master
Commit: 1466889287cd85eca8b040bc73364445495ef0c0
Parents: 8219b17
Author: Ben Keen <be...@gmail.com>
Authored: Tue Sep 8 10:53:24 2015 -0700
Committer: Ben Keen <be...@gmail.com>
Committed: Tue Sep 8 10:56:48 2015 -0700
----------------------------------------------------------------------
app/addons/databases/tests/nightwatch/switchDatabase.js | 6 ++++++
assets/less/layouts.less | 8 ++++++++
2 files changed, 14 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/14668892/app/addons/databases/tests/nightwatch/switchDatabase.js
----------------------------------------------------------------------
diff --git a/app/addons/databases/tests/nightwatch/switchDatabase.js b/app/addons/databases/tests/nightwatch/switchDatabase.js
index 6483f4d..94c0fe1 100644
--- a/app/addons/databases/tests/nightwatch/switchDatabase.js
+++ b/app/addons/databases/tests/nightwatch/switchDatabase.js
@@ -19,6 +19,12 @@ module.exports = {
.createDatabase(newDatabaseName)
.loginToGUI()
+ // wait for the footer bar to appear (not strictly necessary, but ensures it shows up)
+ .waitForElementPresent('#footer .pagination-footer', waitTime, false)
+ .getCssProperty('#footer', 'bottom', function (result) {
+ this.assert.equal(result.value, '0px');
+ })
+
// wait for the DB name typeahead field to appear in the header
.waitForElementPresent('#jump-to-db .search-autocomplete', waitTime, false)
.waitForElementPresent('#dashboard-content table.databases', waitTime, false)
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/14668892/assets/less/layouts.less
----------------------------------------------------------------------
diff --git a/assets/less/layouts.less b/assets/less/layouts.less
index 0ba627d..33b2af9 100644
--- a/assets/less/layouts.less
+++ b/assets/less/layouts.less
@@ -52,3 +52,11 @@
flex: 1;
overflow: auto;
}
+
+/* used on the databases page. To be removed once moved to flexbox */
+.one-pane #footer {
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+ margin: 0 -20px;
+}