mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
give the app time to update the url
This commit is contained in:
parent
e05e91bcd4
commit
b8951da9a0
1 changed files with 6 additions and 3 deletions
|
@ -89,9 +89,12 @@ define(function (require) {
|
|||
});
|
||||
|
||||
bdd.it('should remove index pattern from url', function indexNotInUrl() {
|
||||
return remote.getCurrentUrl()
|
||||
.then(function (currentUrl) {
|
||||
expect(currentUrl).to.not.contain('logstash-*');
|
||||
// give the url time to settle
|
||||
return common.tryForTime(5000, function () {
|
||||
return remote.getCurrentUrl()
|
||||
.then(function (currentUrl) {
|
||||
expect(currentUrl).to.not.contain('logstash-*');
|
||||
})
|
||||
})
|
||||
.catch(common.handleError(this));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue