From 80c5092d3bb6766d0e82d3356ef5bf12574eb940 Mon Sep 17 00:00:00 2001 From: Christiane Heiligers Date: Thu, 28 Jan 2021 10:28:30 -0700 Subject: [PATCH] Clean up config settings after test suite --- test/functional/apps/discover/_data_grid_doc_table.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/functional/apps/discover/_data_grid_doc_table.ts b/test/functional/apps/discover/_data_grid_doc_table.ts index 8481065c18466c..10cdd7e866af9b 100644 --- a/test/functional/apps/discover/_data_grid_doc_table.ts +++ b/test/functional/apps/discover/_data_grid_doc_table.ts @@ -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();