@@ -384,7 +389,7 @@ define('misc.bgprocess', [
panel = this.panel =
pgBrowser.BackgroundProcessObsorver.create_panel();
- panel.title('Process Watcher - ' + _.escape(self.desc));
+ panel.title('Process Watcher - ' + _.escape(self.type_desc));
panel.focus();
}
diff --git a/web/pgadmin/misc/bgprocess/static/scss/_bgprocess.scss b/web/pgadmin/misc/bgprocess/static/scss/_bgprocess.scss
index caf54f23c..7821853e3 100644
--- a/web/pgadmin/misc/bgprocess/static/scss/_bgprocess.scss
+++ b/web/pgadmin/misc/bgprocess/static/scss/_bgprocess.scss
@@ -6,6 +6,8 @@ $bgproc-container-pad: 2px;
padding: 0px !important;
text-align: left;
color: $color-fg-theme;
+ min-width: 500px;
+ max-width: 500px;
.card {
border:none;
& .card-header {
diff --git a/web/pgadmin/misc/file_manager/static/js/utility.js b/web/pgadmin/misc/file_manager/static/js/utility.js
index 2466b1481..c714f154a 100644
--- a/web/pgadmin/misc/file_manager/static/js/utility.js
+++ b/web/pgadmin/misc/file_manager/static/js/utility.js
@@ -670,12 +670,15 @@ define([
if ($('.fileinfo').data('view') == 'grid') {
result += '
';
+ /* file_listing_table class makes height 100%, because of which No folder message is not displayed
+ * file_listing_table_no_data will be removed when new folder is created
+ */
+ result += '';
result += '| ' + lg.name + ' | ' +
'' + lg.size + ' | ' +
'' + lg.modified + ' | ' +
- '
';
- result += '';
+ '' +
+ '';
result += '
';
}
result += '' + lg.could_not_retrieve_folder + '
';
@@ -1576,6 +1579,7 @@ define([
$('.file_manager button.create').attr('disabled', 'disabled');
+ $('.no_folder_found').addClass('d-none');
if ($('.fileinfo').data('view') == 'grid') {
// template for creating new folder
@@ -1630,7 +1634,10 @@ define([
);
$file_element_list = $(folder_div);
- $('.fileinfo #contents.file_listing_table tbody').prepend($file_element_list);
+ let tableEl = $('.fileinfo #contents.file_listing_table');
+ tableEl.removeClass('file_listing_table_no_data');
+ tableEl.find('tbody').prepend($file_element_list);
+
$file_element_list.find('td span.less_text').toggle();
$file_element_list.find('td input').toggle().val(lg.new_folder).select();
diff --git a/web/pgadmin/misc/file_manager/static/scss/_file_manager.scss b/web/pgadmin/misc/file_manager/static/scss/_file_manager.scss
index 3a77bfa10..ab48ff987 100644
--- a/web/pgadmin/misc/file_manager/static/scss/_file_manager.scss
+++ b/web/pgadmin/misc/file_manager/static/scss/_file_manager.scss
@@ -6,6 +6,10 @@
.file_listing {
min-width: 100%;
+ .file_listing_table_no_data {
+ height: unset !important;
+ }
+
.file_listing_table {
height: 100%;
display: block;
diff --git a/web/pgadmin/preferences/static/js/preferences.js b/web/pgadmin/preferences/static/js/preferences.js
index 33b7e747f..c3385facc 100644
--- a/web/pgadmin/preferences/static/js/preferences.js
+++ b/web/pgadmin/preferences/static/js/preferences.js
@@ -329,6 +329,17 @@ define('pgadmin.preferences', [
if (!d)
return true;
+ /* Bind events to enable clicking anywhere and not only text, button */
+ item.on('dblclick', function(e) {
+ e.preventDefault();
+ e.stopPropagation();
+ api.toggle(item);
+ });
+ item.on('click', function(e) {
+ e.preventDefault();
+ e.stopPropagation();
+ api.select(item);
+ });
// We will add the preferences in to the preferences data
// collection.
if (d.preferences && _.isArray(d.preferences)) {
diff --git a/web/pgadmin/static/js/backform.pgadmin.js b/web/pgadmin/static/js/backform.pgadmin.js
index 246b30b75..7da721a9a 100644
--- a/web/pgadmin/static/js/backform.pgadmin.js
+++ b/web/pgadmin/static/js/backform.pgadmin.js
@@ -2112,11 +2112,16 @@ define([
tagName: 'div',
className: 'inline-tab-panel',
tabPanelClassName: 'inline-tab-panel',
+ tabPanelExtraClasses: '',
initialize: function(opts) {
Backform.FieldsetControl.prototype.initialize.apply(
this, arguments
);
this.tabIndex = (opts.tabIndex || parseInt(Math.random() * 1000)) + 1;
+ if(opts.field.get('tabPanelExtraClasses')) {
+ this.tabPanelExtraClasses = opts.field.get('tabPanelExtraClasses');
+ }
+ this.tabPanelClassName = this.tabPanelClassName + ' ' + this.tabPanelExtraClasses;
},
// Render using Backform.Dialog (tabular UI) (only if this control is
// visible).
diff --git a/web/pgadmin/static/jsx/history/query_history.jsx b/web/pgadmin/static/jsx/history/query_history.jsx
index b24639bb0..cdbf7ae26 100644
--- a/web/pgadmin/static/jsx/history/query_history.jsx
+++ b/web/pgadmin/static/jsx/history/query_history.jsx
@@ -13,6 +13,7 @@ import React from 'react';
import ReactDOM from 'react-dom';
import SplitPane from 'react-split-pane';
import _ from 'underscore';
+import gettext from 'sources/gettext';
import QueryHistoryDetail from './query_history_detail';
import QueryHistoryEntries from './query_history_entries';
@@ -90,17 +91,23 @@ export default class QueryHistory extends React.Component {
}
render() {
- return (
-
-
-
- );
+ if(this.state.history.length == 0) {
+ return(
+ {gettext('No history found')}
+ );
+ } else {
+ return (
+
+
+
+ );
+ }
}
}
diff --git a/web/pgadmin/static/scss/_aci_tree.overrides.scss b/web/pgadmin/static/scss/_aci_tree.overrides.scss
index 70a0c9166..c43aef967 100644
--- a/web/pgadmin/static/scss/_aci_tree.overrides.scss
+++ b/web/pgadmin/static/scss/_aci_tree.overrides.scss
@@ -1,22 +1,18 @@
.aciTree .aciTreeLi {
display: grid !important;
+ cursor: pointer;
}
.aciTree .aciTreeText {
font-family: $font-family-primary;
font-size: 0.815rem;
}
.aciTree.aciTreeFocus .aciTreeFocus > .aciTreeLine {
- background-color: $color-primary-light;
- border-right: $active-border;
+ background-color: $color-primary-light !important;
}
+
.aciTree .aciTreeSelected > .aciTreeLine {
- background-color: $color-primary-light;
- border-color: $color-primary-light;
- border-right: $active-border;
- border-left: none !important;
- border-top: none !important;
- border-bottom: none !important;
- -webkit-border-radius: none !important;
+ background-color: $color-primary-light !important;
+ -webkit-border-radius: none !important;
-moz-border-radius: none !important;
border-radius: none !important;
}
diff --git a/web/pgadmin/static/scss/_alert.scss b/web/pgadmin/static/scss/_alert.scss
index 4f59011da..e8676b8c9 100644
--- a/web/pgadmin/static/scss/_alert.scss
+++ b/web/pgadmin/static/scss/_alert.scss
@@ -22,7 +22,7 @@
}
.alert.alert-info {
- padding: 15px;
+ padding: 0.5rem;
}
.success-icon {
@@ -48,7 +48,7 @@
.alert-info {
border-color: $color-primary;
background-color: $color-primary-light;
- color : $color-primary;
+ color : $color-fg-theme;
background-image: none;
}
diff --git a/web/pgadmin/static/scss/_alertify.overrides.scss b/web/pgadmin/static/scss/_alertify.overrides.scss
index 8f3952b06..b856e0b19 100644
--- a/web/pgadmin/static/scss/_alertify.overrides.scss
+++ b/web/pgadmin/static/scss/_alertify.overrides.scss
@@ -28,14 +28,6 @@
& .ajs-content {
top: $title-height;
}
- &.pgadmin_grant_wizard_body {
- border-top-left-radius: $panel-border-radius;
- border-top-right-radius: $panel-border-radius;
- & .ajs-content {
- top: 0 !important;
- border-radius: inherit;
- }
- }
}
& .ajs-header{
@@ -52,6 +44,7 @@
& .ajs-body {
& .ajs-content {
top: 0 !important;
+ padding: 0px;
}
}
}
@@ -234,3 +227,8 @@
.alertify .ajs-dimmer {
background-color: $loading-bg;
}
+
+/* It sometimes is applied to dialog and blocks the dialog from editing */
+.alertify .ajs-dialog.ajs-capture:before {
+ display: none;
+}
\ No newline at end of file
diff --git a/web/pgadmin/static/scss/_bootstrap.overrides.scss b/web/pgadmin/static/scss/_bootstrap.overrides.scss
index febe7ad74..2bd8b760c 100644
--- a/web/pgadmin/static/scss/_bootstrap.overrides.scss
+++ b/web/pgadmin/static/scss/_bootstrap.overrides.scss
@@ -285,11 +285,12 @@ td.switch-cell > div.bootstrap-switch {
.navbar-brand {
color: $color-brand !important;
- background: $color-brand-bg !important;
+ background: $navbar-brand-bg !important;
margin-right: 0rem;
padding-left: 0.5rem !important;
padding-right: 1rem !important;
min-height: $navbar-height;
+ height: $navbar-height;
padding: 0rem;
display: flex;
align-items: center !important;
diff --git a/web/pgadmin/static/scss/_pgadmin.style.scss b/web/pgadmin/static/scss/_pgadmin.style.scss
index 1ad4b91f0..6ec429390 100644
--- a/web/pgadmin/static/scss/_pgadmin.style.scss
+++ b/web/pgadmin/static/scss/_pgadmin.style.scss
@@ -155,6 +155,7 @@
.pg-navbar {
font-size: $navbar-font-size;
+ background-color: $navbar-color-bg;
padding-left: 0rem;
padding-right: 0.5rem;
& .nav-item .nav-link{
@@ -162,7 +163,7 @@
}
.pg-navbar-brand-arrow {
- border: $navbar-height/2 solid $color-fg;
+ border: $navbar-height/2 solid $navbar-brand-arrow-bg;
border-right-color: transparent;
border-bottom-color: transparent;
border-top-color: transparent;
@@ -436,7 +437,7 @@ fieldset.inline-fieldset {
fieldset.inline-fieldset-without-border {
margin: 0px; margin-left: 0px; margin-right: 0px;
padding-right: 0px; padding-left: 0px; padding-top: 0px; padding-bottom: 0px;
- border: 0px solid; border-radius: 0px; display: inline-block;
+ border: 0px solid; border-radius: 0px;
}
fieldset.inline-fieldset > legend {
@@ -678,12 +679,17 @@ div.rolmembership {
border-bottom-left-radius: 5px; border-style: solid solid;
}
-.inline-tab-panel > .tab-content {
- padding: 0px;
- margin: 0px;
- border-top: none;
- border-bottom-left-radius: 5px;
- border-bottom-right-radius: 5px;
+.inline-tab-panel {
+ & > .tab-content {
+ padding: 0px;
+ margin: 0px;
+ border-top: none;
+ border-bottom-left-radius: 5px;
+ border-bottom-right-radius: 5px;
+ }
+ &.inline-tab-panel-padded > .tab-content {
+ padding: 0.5rem;
+ }
}
.inline-tab-panel > .tab-content > div.tab-pane {
diff --git a/web/pgadmin/static/scss/_webcabin.pgadmin.scss b/web/pgadmin/static/scss/_webcabin.pgadmin.scss
index 34b55a7bf..4fd92cdb3 100644
--- a/web/pgadmin/static/scss/_webcabin.pgadmin.scss
+++ b/web/pgadmin/static/scss/_webcabin.pgadmin.scss
@@ -63,6 +63,10 @@
}
+.wcLayout {
+ display: block;
+}
+
.wcLayoutGrid, .wcLayoutGrid tr, .wcLayoutGrid td {
border: 1px solid $panel-border-color;
}
diff --git a/web/pgadmin/static/scss/resources/_default.variables.scss b/web/pgadmin/static/scss/resources/_default.variables.scss
index 79a523c3a..1bebd5a83 100644
--- a/web/pgadmin/static/scss/resources/_default.variables.scss
+++ b/web/pgadmin/static/scss/resources/_default.variables.scss
@@ -37,7 +37,6 @@ $color-gray-light: #ebeef3;
$color-gray-lighter: #f3f5f9;
$color-brand: $white !default;
-$color-brand-bg: #222222;
$color-editor-bg: $color-bg !default;
$color-editor-keyword: #908 !default;
@@ -68,6 +67,7 @@ $border-radius: 0.25rem; //no change
$text-color: $color-fg-theme;
$text-muted: $color-gray-dark;
+
$navbar-dark-color: #fff;
$navbar-dark-hover-color: #fff;
$navbar-dark-active-color: #fff;
@@ -153,6 +153,10 @@ $title-height: ($line-height-base*16px) + 5px + 2px + $border-width;
$footer-padding: 0.5rem;
$footer-min-height: 2rem;
$footer-height-calc: $footer-min-height+$footer-padding*2;
+
+$navbar-brand-bg: #222222; //place image url if image
+$navbar-brand-arrow-bg: #222222;
+$navbar-color-bg: $color-primary;
$navbar-font-size: 0.925rem;
$navbar-user-font-size: 0.875rem;
diff --git a/web/pgadmin/tools/backup/__init__.py b/web/pgadmin/tools/backup/__init__.py
index 60bfd5bfc..3d64ca2cd 100644
--- a/web/pgadmin/tools/backup/__init__.py
+++ b/web/pgadmin/tools/backup/__init__.py
@@ -125,6 +125,18 @@ class BackupMessage(IProcessDesc):
return s.name, host, port
+ @property
+ def type_desc(self):
+ if self.backup_type == BACKUP.OBJECT:
+ return _("Backing up an object on the server")
+ if self.backup_type == BACKUP.GLOBALS:
+ return _("Backing up the global objects")
+ elif self.backup_type == BACKUP.SERVER:
+ return _("Backing up the server")
+ else:
+ # It should never reach here.
+ return _("Unknown Backup")
+
@property
def message(self):
name, host, port = self.get_server_details()
@@ -132,7 +144,7 @@ class BackupMessage(IProcessDesc):
if self.backup_type == BACKUP.OBJECT:
return _(
"Backing up an object on the server '{0}' "
- "from database '{1}'..."
+ "from database '{1}'"
).format(
"{0} ({1}:{2})".format(
name, host, port
@@ -141,13 +153,13 @@ class BackupMessage(IProcessDesc):
)
if self.backup_type == BACKUP.GLOBALS:
return _("Backing up the global objects on "
- "the server '{0}'...").format(
+ "the server '{0}'").format(
"{0} ({1}:{2})".format(
name, host, port
)
)
elif self.backup_type == BACKUP.SERVER:
- return _("Backing up the server '{0}'...").format(
+ return _("Backing up the server '{0}'").format(
"{0} ({1}:{2})".format(
name, host, port
)
diff --git a/web/pgadmin/tools/backup/tests/test_backup_message.py b/web/pgadmin/tools/backup/tests/test_backup_message.py
index 08c943c6b..e81410baa 100644
--- a/web/pgadmin/tools/backup/tests/test_backup_message.py
+++ b/web/pgadmin/tools/backup/tests/test_backup_message.py
@@ -47,7 +47,7 @@ class BackupMessageTest(BaseTestGenerator):
cmd="/test_path/pg_dump"
),
extected_msg="Backing up the server"
- " 'test_backup_server (localhost:5444)'...",
+ " 'test_backup_server (localhost:5444)'",
expetced_details_cmd='/test_path/pg_dump --file '
'"backup_file" --host "localhost" '
'--port "5444" --username "postgres" '
@@ -80,7 +80,7 @@ class BackupMessageTest(BaseTestGenerator):
cmd="/test_path/pg_dump"
),
extected_msg="Backing up the global objects on the server "
- "'test_backup_server (localhost:5444)'...",
+ "'test_backup_server (localhost:5444)'",
expetced_details_cmd='/test_path/pg_dump --file "backup_file" '
'--host "localhost"'
' --port "5444" --username "postgres" '
@@ -114,7 +114,7 @@ class BackupMessageTest(BaseTestGenerator):
),
extected_msg="Backing up an object on the server "
"'test_backup_server (localhost:5444)'"
- " from database 'postgres'...",
+ " from database 'postgres'",
expetced_details_cmd='/test_path/pg_dump --file "backup_file" '
'--host "localhost" '
'--port "5444" --username "postgres" '
diff --git a/web/pgadmin/tools/grant_wizard/static/js/grant_wizard.js b/web/pgadmin/tools/grant_wizard/static/js/grant_wizard.js
index 52806bbff..85d78da2d 100644
--- a/web/pgadmin/tools/grant_wizard/static/js/grant_wizard.js
+++ b/web/pgadmin/tools/grant_wizard/static/js/grant_wizard.js
@@ -218,14 +218,6 @@ define([
},
};
},
- hooks: {
- onshow: function() {
-
- // Add pgadmin_grant_wizard_body class to dialog
- $(this.elements.body).addClass('pgadmin_grant_wizard_body');
- },
- },
-
/**
Returns a Paginator Class Object which is again to be rendered
diff --git a/web/pgadmin/tools/import_export/__init__.py b/web/pgadmin/tools/import_export/__init__.py
index 3a8746607..4e9b2d0ad 100644
--- a/web/pgadmin/tools/import_export/__init__.py
+++ b/web/pgadmin/tools/import_export/__init__.py
@@ -114,11 +114,15 @@ class IEMessage(IProcessDesc):
return _(
"Copying table data '{0}.{1}' on database '{2}' "
- "and server ({3}:{4})..."
+ "and server ({3}:{4})"
).format(
self.schema, self.table, self.database, s.host, s.port
)
+ @property
+ def type_desc(self):
+ return _("Copying table data")
+
def details(self, cmd, args):
# Fetch the server details like hostname, port, roles etc
s = Server.query.filter_by(
@@ -128,7 +132,7 @@ class IEMessage(IProcessDesc):
res = ''
res += _(
"Copying table data '{0}.{1}' on database '{2}' "
- "for the server '{3}'..."
+ "for the server '{3}'"
).format(
html.safe_str(self.schema),
html.safe_str(self.table),
@@ -140,11 +144,11 @@ class IEMessage(IProcessDesc):
)
)
- res += '
'
+ res += '
'
res += _("Running command:")
- res += '
'
+ res += ''
res += html.safe_str(self._cmd)
- res += '
'
+ res += ' '
return res
diff --git a/web/pgadmin/tools/maintenance/__init__.py b/web/pgadmin/tools/maintenance/__init__.py
index 6ae0159ef..5d362f9e5 100644
--- a/web/pgadmin/tools/maintenance/__init__.py
+++ b/web/pgadmin/tools/maintenance/__init__.py
@@ -93,6 +93,10 @@ class Message(IProcessDesc):
if self.data['op'] == "CLUSTER":
return res.format(_('Cluster'))
+ @property
+ def type_desc(self):
+ return _("Maintenance")
+
def details(self, cmd, args):
res = None
diff --git a/web/pgadmin/tools/restore/__init__.py b/web/pgadmin/tools/restore/__init__.py
index bcaf1da28..2a3a24357 100644
--- a/web/pgadmin/tools/restore/__init__.py
+++ b/web/pgadmin/tools/restore/__init__.py
@@ -105,10 +105,14 @@ class RestoreMessage(IProcessDesc):
def message(self):
name, host, port = self.get_server_details()
- return _("Restoring backup on the server '{0}'...").format(
+ return _("Restoring backup on the server '{0}'").format(
"{0} ({1}:{2})".format(name, host, port),
)
+ @property
+ def type_desc(self):
+ return _("Restoring backup on the server")
+
def details(self, cmd, args):
name, host, port = self.get_server_details()
res = ''
diff --git a/web/pgadmin/tools/restore/tests/test_restore_message.py b/web/pgadmin/tools/restore/tests/test_restore_message.py
index 7b9575129..641f20bcb 100644
--- a/web/pgadmin/tools/restore/tests/test_restore_message.py
+++ b/web/pgadmin/tools/restore/tests/test_restore_message.py
@@ -46,7 +46,7 @@ class RestoreMessageTest(BaseTestGenerator):
cmd="/test_path/pg_restore"
),
extected_msg="Restoring backup on the server "
- "'test_restore_server (localhost:5444)'...",
+ "'test_restore_server (localhost:5444)'",
expetced_details_cmd='/test_path/pg_restore --file '
'"restore_file" --host "localhost"'
' --port "5444" --username "postgres" '
diff --git a/web/pgadmin/tools/sqleditor/static/css/sqleditor.css b/web/pgadmin/tools/sqleditor/static/css/sqleditor.css
index 91c515f4b..337c6582c 100644
--- a/web/pgadmin/tools/sqleditor/static/css/sqleditor.css
+++ b/web/pgadmin/tools/sqleditor/static/css/sqleditor.css
@@ -14,10 +14,6 @@
bottom: 0;
}
-#editor-panel {
- z-index: 0;
-}
-
.sql-editor-grid-container {
height: 100%;
overflow: auto;
@@ -55,12 +51,6 @@
max-width: 35px !important;
min-width: 35px !important;
}
-
-.sql-editor-history-container {
- height: 100%;
- overflow: auto;
-}
-
.sql-status-cell {
max-width: 30px;
}
diff --git a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
index 7ff3dc0bd..63278df36 100644
--- a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
+++ b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
@@ -185,7 +185,7 @@ define('tools.querytool', [
name: 'sql_panel',
title: gettext('Query Editor'),
width: '100%',
- height: '20%',
+ height: '50%',
isCloseable: false,
isPrivate: true,
});
diff --git a/web/pgadmin/tools/sqleditor/static/scss/_history.scss b/web/pgadmin/tools/sqleditor/static/scss/_history.scss
index 01dd0c18c..03024f033 100644
--- a/web/pgadmin/tools/sqleditor/static/scss/_history.scss
+++ b/web/pgadmin/tools/sqleditor/static/scss/_history.scss
@@ -2,6 +2,7 @@
height: 100%;
.list-item {
border-bottom: $panel-border;
+ background-color: $color-bg-theme;
}
.entry {
@@ -76,11 +77,19 @@
display: block;
}
+
+.sql-editor-history-container {
+ height: 100%;
+ overflow: auto;
+ background-color: $negative-bg;
+}
+
+
.query-detail {
width: 100%;
display: flex;
flex-direction: column;
-
+ background-color: $color-bg-theme;
.error-message-block {
background: $sql-history-error-bg;
flex: 0.3;
diff --git a/web/pgadmin/tools/sqleditor/static/scss/_sqleditor.scss b/web/pgadmin/tools/sqleditor/static/scss/_sqleditor.scss
index a1cac04da..d017e6674 100644
--- a/web/pgadmin/tools/sqleditor/static/scss/_sqleditor.scss
+++ b/web/pgadmin/tools/sqleditor/static/scss/_sqleditor.scss
@@ -18,6 +18,14 @@
z-index: 0;
}
+
+.editor-title {
+ padding: $sql-title-padding;
+ background: $sql-title-bg;
+ color: $sql-title-fg;
+}
+
+
#editor-panel {
z-index: 0;
position: absolute;
@@ -209,6 +217,7 @@ li.CodeMirror-hint-active {
/* color the first column */
#datagrid .slick-row .slick-cell.l0.r0.selected {
background-color: $color-primary;
+ color: $color-primary-fg;
}
#datagrid .slick-row > .slick-cell:not(.l0):not(.r0).selected {
@@ -233,12 +242,6 @@ li.CodeMirror-hint-active {
box-shadow: $dropdown-box-shadow;
}
-.editor-title {
- padding: $sql-title-padding;
- background: $sql-title-bg;
- color: $sql-title-fg;
-}
-
.pg_text_editor textarea {
resize: both;
}
diff --git a/web/regression/javascript/history/query_history_spec.jsx b/web/regression/javascript/history/query_history_spec.jsx
index 0b179f4fc..7def2e43b 100644
--- a/web/regression/javascript/history/query_history_spec.jsx
+++ b/web/regression/javascript/history/query_history_spec.jsx
@@ -61,7 +61,7 @@ describe('QueryHistory', () => {
it('nothing is displayed in the history details panel', (done) => {
let foundChildren = historyWrapper.find(QueryHistoryDetail);
- expect(foundChildren.length).toBe(1);
+ expect(foundChildren.length).toBe(0);
done();
});
});