Skip to content

Commit

Permalink
[Discover] Unskip Painless date functional test (elastic#114224)
Browse files Browse the repository at this point in the history
* [Discover] Unskip functional test

* Remove comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
Maja Grubic and kibanamachine authored Oct 11, 2021
1 parent cba91fd commit 9d2c536
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/functional/apps/management/_scripted_fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,7 @@ export default function ({ getService, getPageObjects }) {
});
});

// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/113745
describe.skip('creating and using Painless date scripted fields', function describeIndexTests() {
describe('creating and using Painless date scripted fields', function describeIndexTests() {
const scriptedPainlessFieldName2 = 'painDate';

it('should create scripted field', async function () {
Expand All @@ -384,7 +383,7 @@ export default function ({ getService, getPageObjects }) {
'date',
{ format: 'date', datePattern: 'YYYY-MM-DD HH:00' },
'1',
"doc['utc_time'].value.getMillis() + (1000) * 60 * 60"
"doc['utc_time'].value.toEpochMilli() + (1000) * 60 * 60"
);
await retry.try(async function () {
expect(parseInt(await PageObjects.settings.getScriptedFieldsTabCount())).to.be(
Expand Down

0 comments on commit 9d2c536

Please sign in to comment.