Skip to content

Commit

Permalink
Try to fix async dashboard functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Jan 29, 2021
1 parent 4cbda7f commit 1b2dbd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/test/functional/apps/dashboard/_async_dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const retry = getService('retry');
const browser = getService('browser');
const kibanaServer = getService('kibanaServer');
const esArchiver = getService('esArchiver');
const log = getService('log');
const pieChart = getService('pieChart');
const find = getService('find');
Expand All @@ -29,6 +30,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('sample data dashboard', function describeIndexTests() {
before(async () => {
await esArchiver.emptyKibanaIndex();
await PageObjects.common.sleep(5000);
await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', {
useActualUrl: true,
Expand Down

0 comments on commit 1b2dbd9

Please sign in to comment.