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 (elastic#92756)

* fixes elastic#74449

* unskipping the functional test, removing the unload and adding an empty kibana in the after method
  • Loading branch information
rashmivkulkarni committed Feb 25, 2021
1 parent 0fb9c81 commit 14be367
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 14be367

Please sign in to comment.