Skip to content

Commit

Permalink
Test fix management scripted field filter functional test and unskip …
Browse files Browse the repository at this point in the history
…it (#92756)

* fixes #74449

* unskipping the functional test, removing the unload and adding an empty kibana in the after method
  • Loading branch information
rashmivkulkarni authored Feb 25, 2021
1 parent 0198607 commit 9c52734
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/functional/apps/management/_scripted_fields_filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ export default function ({ getService, getPageObjects }) {
const esArchiver = getService('esArchiver');
const PageObjects = getPageObjects(['settings']);

// this functionality is no longer functional as of 7.0 but still needs cleanup
// https://github.com/elastic/kibana/issues/74118
describe.skip('filter scripted fields', function describeIndexTests() {
describe('filter scripted fields', function describeIndexTests() {
before(async function () {
// delete .kibana index and then wait for Kibana to re-create it
await browser.setWindowSize(1200, 800);
Expand All @@ -29,8 +27,7 @@ export default function ({ getService, getPageObjects }) {
});

after(async function () {
await esArchiver.unload('management');
await kibanaServer.uiSettings.replace({});
await esArchiver.load('empty_kibana');
});

const scriptedPainlessFieldName = 'ram_pain1';
Expand Down

0 comments on commit 9c52734

Please sign in to comment.