Skip to content

Commit

Permalink
[8.13] [ML] Transforms: Update functional test assertion, reenable te…
Browse files Browse the repository at this point in the history
…sts. (#176920) (#177150)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ML] Transforms: Update functional test assertion, reenable tests.
(#176920)](#176920)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Walter
Rafelsberger","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T07:59:53Z","message":"[ML]
Transforms: Update functional test assertion, reenable tests.
(#176920)\n\n## Summary\r\n\r\nFixes #151889\r\nFixes #151811\r\nFixes
#176697\r\nFixes #176698\r\nFixes #176865\r\n\r\nUpdates assertions
after ES snapshot promotion and reenables tests.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"21ca904cfd7eee75202b61c8e7be3e9ad6c2fda4","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Transforms","v8.13.0","v8.14.0","v7.17.19"],"title":"[ML]
Transforms: Update functional test assertion, reenable
tests.","number":176920,"url":"https://github.com/elastic/kibana/pull/176920","mergeCommit":{"message":"[ML]
Transforms: Update functional test assertion, reenable tests.
(#176920)\n\n## Summary\r\n\r\nFixes #151889\r\nFixes #151811\r\nFixes
#176697\r\nFixes #176698\r\nFixes #176865\r\n\r\nUpdates assertions
after ES snapshot promotion and reenables tests.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"21ca904cfd7eee75202b61c8e7be3e9ad6c2fda4"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","7.17"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176920","number":176920,"mergeCommit":{"message":"[ML]
Transforms: Update functional test assertion, reenable tests.
(#176920)\n\n## Summary\r\n\r\nFixes #151889\r\nFixes #151811\r\nFixes
#176697\r\nFixes #176698\r\nFixes #176865\r\n\r\nUpdates assertions
after ES snapshot promotion and reenables tests.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"21ca904cfd7eee75202b61c8e7be3e9ad6c2fda4"}},{"branch":"7.17","label":"v7.17.19","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Walter Rafelsberger <[email protected]>
  • Loading branch information
kibanamachine and walterra authored Feb 19, 2024
1 parent 6389daf commit 67eae74
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 67eae74

Please sign in to comment.