mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Add missing semicolons.
This commit is contained in:
parent
c8f757c3a2
commit
fd225796f7
3 changed files with 16 additions and 16 deletions
|
@ -13,9 +13,9 @@ define(function (require) {
|
|||
bdd.before(function () {
|
||||
common = new Common(this.remote);
|
||||
settingsPage = new SettingsPage(this.remote);
|
||||
remote = this.remote
|
||||
remote = this.remote;
|
||||
|
||||
return scenarioManager.reload('emptyKibana')
|
||||
return scenarioManager.reload('emptyKibana');
|
||||
});
|
||||
|
||||
var columns = [{
|
||||
|
@ -23,21 +23,21 @@ define(function (require) {
|
|||
first: '@message',
|
||||
last: 'xss.raw',
|
||||
selector: function () {
|
||||
return settingsPage.getTableRow(0, 0).getVisibleText()
|
||||
return settingsPage.getTableRow(0, 0).getVisibleText();
|
||||
}
|
||||
}, {
|
||||
heading: 'type',
|
||||
first: '_source',
|
||||
last: 'string',
|
||||
selector: function () {
|
||||
return settingsPage.getTableRow(0, 1).getVisibleText()
|
||||
return settingsPage.getTableRow(0, 1).getVisibleText();
|
||||
}
|
||||
}];
|
||||
|
||||
columns.forEach(function (col) {
|
||||
bdd.describe('sort by heading - ' + col.heading, function indexPatternCreation() {
|
||||
bdd.before(function () {
|
||||
return settingsPage.navigateTo()
|
||||
return settingsPage.navigateTo();
|
||||
});
|
||||
|
||||
bdd.beforeEach(function () {
|
||||
|
|
|
@ -18,8 +18,8 @@ define(function (require) {
|
|||
bdd.before(function () {
|
||||
return scenarioManager.reload('emptyKibana')
|
||||
.then(function () {
|
||||
return scenarioManager.loadIfEmpty('makelogs')
|
||||
})
|
||||
return scenarioManager.loadIfEmpty('makelogs');
|
||||
});
|
||||
});
|
||||
|
||||
bdd.after(function () {
|
||||
|
|
|
@ -59,16 +59,16 @@ define(function (require) {
|
|||
common.debug('selectTimeFieldOption: FAILED to create index pattern');
|
||||
return common.checkForKibanaApp()
|
||||
.then(function (onKibana) {
|
||||
common.debug('onKibana')
|
||||
common.debug(onKibana)
|
||||
common.debug('onKibana');
|
||||
common.debug(onKibana);
|
||||
})
|
||||
.then(function () {
|
||||
return self.remote.getCurrentUrl();
|
||||
})
|
||||
.then(function (url) {
|
||||
common.debug('FAILED on url ' + url);
|
||||
throw err
|
||||
})
|
||||
throw err;
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -145,7 +145,7 @@ define(function (require) {
|
|||
var getText = function () {
|
||||
return self.remote.setFindTimeout(defaultTimeout)
|
||||
.findByCssSelector(selector).getVisibleText();
|
||||
}
|
||||
};
|
||||
|
||||
return common.tryForTime(defaultTimeout * 4, function () {
|
||||
return getText();
|
||||
|
@ -282,16 +282,16 @@ define(function (require) {
|
|||
common.debug('createIndexPattern: FAILED to create index pattern');
|
||||
return common.checkForKibanaApp()
|
||||
.then(function (onKibana) {
|
||||
common.debug('onKibana')
|
||||
common.debug(onKibana)
|
||||
common.debug('onKibana');
|
||||
common.debug(onKibana);
|
||||
})
|
||||
.then(function () {
|
||||
return self.remote.getCurrentUrl();
|
||||
})
|
||||
.then(function (url) {
|
||||
common.debug('FAILED on url ' + url);
|
||||
throw err
|
||||
})
|
||||
throw err;
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue