Skip to content

Commit

Permalink
Fix restore test
Browse files Browse the repository at this point in the history
  • Loading branch information
liza-mae committed Aug 11, 2022
1 parent fa61ec5 commit 9516e7f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/functional/apps/console/_vector_tile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.console.clearTextArea();
});

after(async () => {
await security.testUser.restoreDefaults();
});

it('should validate response', async () => {
await PageObjects.console.enterText(`GET kibana_sample_data_logs/_mvt/geo.coordinates/0/0/0`);
await PageObjects.console.clickPlay();
Expand All @@ -47,6 +43,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.home.removeSampleDataSet('logs');
await security.testUser.restoreDefaults();
});
});
}

0 comments on commit 9516e7f

Please sign in to comment.