mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[journeys] add a short delay after loading data (#141437)
This commit is contained in:
parent
837da729bd
commit
37d6b9d38a
1 changed files with 13 additions and 6 deletions
|
@ -120,12 +120,19 @@ export class JourneyFtrHarness {
|
|||
await Promise.all([
|
||||
this.setupApm(),
|
||||
this.setupBrowserAndPage(),
|
||||
asyncForEach(this.journeyConfig.getEsArchives(), async (esArchive) => {
|
||||
await this.esArchiver.load(esArchive);
|
||||
}),
|
||||
asyncForEach(this.journeyConfig.getKbnArchives(), async (kbnArchive) => {
|
||||
await this.kibanaServer.importExport.load(kbnArchive);
|
||||
}),
|
||||
(async () => {
|
||||
await Promise.all([
|
||||
asyncForEach(this.journeyConfig.getEsArchives(), async (esArchive) => {
|
||||
await this.esArchiver.load(esArchive);
|
||||
}),
|
||||
asyncForEach(this.journeyConfig.getKbnArchives(), async (kbnArchive) => {
|
||||
await this.kibanaServer.importExport.load(kbnArchive);
|
||||
}),
|
||||
]);
|
||||
|
||||
// wait after loading the data, before doing any querying in tests
|
||||
await setTimeout(10_000);
|
||||
})(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue