Skip to content

Commit

Permalink
[Discover] Unskip invalid scripted field functional test (elastic#73629
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal authored Jul 30, 2020
1 parent 200fdae commit d6dc79d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/functional/apps/discover/_errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ import expect from '@kbn/expect';
export default function ({ getService, getPageObjects }) {
const esArchiver = getService('esArchiver');
const testSubjects = getService('testSubjects');
const PageObjects = getPageObjects(['common', 'discover']);
const PageObjects = getPageObjects(['common', 'discover', 'timePicker']);

describe('errors', function describeIndexTests() {
before(async function () {
await esArchiver.loadIfNeeded('logstash_functional');
await esArchiver.load('invalid_scripted_field');
await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings();
await PageObjects.common.navigateToApp('discover');
});

after(async function () {
await esArchiver.unload('invalid_scripted_field');
});

// ES issue https://github.com/elastic/elasticsearch/issues/54235
describe.skip('invalid scripted field error', () => {
describe('invalid scripted field error', () => {
it('is rendered', async () => {
const isFetchErrorVisible = await testSubjects.exists('discoverFetchError');
expect(isFetchErrorVisible).to.be(true);
Expand Down

0 comments on commit d6dc79d

Please sign in to comment.