mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Adjust timing in tryForTime (shorter setFindTimeout, longer test timeout).
This commit is contained in:
parent
cb07ddfdfa
commit
2464e13803
2 changed files with 2 additions and 1 deletions
|
@ -63,6 +63,7 @@ define(function (require) {
|
|||
|
||||
bdd.it('save query should show toast message and display query name', function () {
|
||||
var expectedSavedQueryMessage = 'Discover: Saved Data Source "' + queryName1 + '"';
|
||||
this.timeout = 60000;
|
||||
return discoverPage.saveSearch(queryName1)
|
||||
.then(function () {
|
||||
return discoverPage.getToastMessage(2000);
|
||||
|
|
|
@ -112,7 +112,7 @@ define(function (require) {
|
|||
waitForToastMessageGone: function waitForToastMessageGone() {
|
||||
var self = this;
|
||||
return common.tryForTime(defaultTimeout * 5, function tryingForTime() {
|
||||
return thisTime
|
||||
return self.remote.setFindTimeout(1000)
|
||||
.findAllByCssSelector('kbn-truncated.toast-message.ng-isolate-scope')
|
||||
.then(function toastMessage(messages) {
|
||||
if (messages.length > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue