Skip to content

Commit

Permalink
[ML] Transforms: Update functional test assertion, reenable tests. (e…
Browse files Browse the repository at this point in the history
…lastic#176920)

## Summary

Fixes elastic#151889
Fixes elastic#151811
Fixes elastic#176697
Fixes elastic#176698
Fixes elastic#176865

Updates assertions after ES snapshot promotion and reenables tests.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
  • Loading branch information
walterra authored Feb 19, 2024
1 parent 3769a77 commit 21ca904
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const transform = getService('transform');
const pageObjects = getPageObjects(['discover']);

// Failing: See https://github.com/elastic/kibana/issues/151889
// Failing: See https://github.com/elastic/kibana/issues/151811
describe.skip('creation_index_pattern', function () {
describe('creation_index_pattern', function () {
before(async () => {
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/ecommerce');
await transform.testResources.createDataViewIfNeeded('ft_ecommerce', 'order_date');
Expand Down Expand Up @@ -225,7 +223,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
{
chartAvailable: true,
id: 'customer_full_name',
legend: 'top 20 of 3321 categories',
legend: 'top 20 of 3327 categories',
colorStats: [
{ color: '#000000', percentage: 25 },
{ color: '#54B399', percentage: 75 },
Expand Down Expand Up @@ -529,9 +527,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await transform.sourceSelection.selectSource(testData.source);
});

// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/176697
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/176698
it.skip('navigates through the wizard and sets all needed fields', async () => {
it('navigates through the wizard and sets all needed fields', async () => {
await transform.testExecution.logTestStep('displays the define step');
await transform.wizard.assertDefineStepActive();

Expand Down

0 comments on commit 21ca904

Please sign in to comment.