[ML] Functional tests - re-enable transform runtime mappings suite (#115547)

This PR stabilizes and re-enables the transform runtime mappings tests.
This commit is contained in:
Robert Oskamp 2021-10-20 11:23:51 +02:00 committed by GitHub
parent cea4504c87
commit 22e4172781
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -134,7 +134,7 @@ export class TimePickerPageObject extends FtrService {
});
// set from time
await this.retry.waitFor(`endDate is set to ${fromTime}`, async () => {
await this.retry.waitFor(`startDate is set to ${fromTime}`, async () => {
await this.testSubjects.click('superDatePickerstartDatePopoverButton');
await this.waitPanelIsGone(panel);
panel = await this.getTimePickerPanel();
@ -150,6 +150,7 @@ export class TimePickerPageObject extends FtrService {
});
await this.retry.waitFor('Timepicker popover to close', async () => {
await this.browser.pressKeys(this.browser.keys.ESCAPE);
return !(await this.testSubjects.exists('superDatePickerAbsoluteDateInput'));
});

View file

@ -34,8 +34,7 @@ export default function ({ getService }: FtrProviderContext) {
},
};
// FLAKY https://github.com/elastic/kibana/issues/113890
describe.skip('creation with runtime mappings', function () {
describe('creation with runtime mappings', function () {
before(async () => {
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/farequote');
await transform.testResources.createIndexPatternIfNeeded('ft_farequote', '@timestamp');