Skip to content

Commit

Permalink
Clean up config settings after test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaHeiligers committed Jan 28, 2021
1 parent 595950a commit 80c5092
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/functional/apps/discover/_data_grid_doc_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.common.navigateToApp('discover');
});

after(async function () {
log.debug('reset uiSettings');
await kibanaServer.uiSettings.replace({});
});

it('should show the first 50 rows by default', async function () {
// with the default range the number of hits is ~14000
const rows = await dataGrid.getDocTableRows();
Expand Down

0 comments on commit 80c5092

Please sign in to comment.