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)

(cherry picked from commit 21ca904)
  • Loading branch information
walterra committed Feb 19, 2024
1 parent 6389daf commit 6f8118d
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 6f8118d

Please sign in to comment.