mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.16`: - [[ML] Enable change point detection functional tests (#198702)](https://github.com/elastic/kibana/pull/198702) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dima Arnautov","email":"dmitrii.arnautov@elastic.co"},"sourceCommit":{"committedDate":"2024-11-04T16:10:24Z","message":"[ML] Enable change point detection functional tests (#198702)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/178258\r\n\r\nEnable change point detection functional tests \r\n\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] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"1411604dd0caaba4ab2b6e46dcd9df0544e245c3","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v9.0.0","Team:ML","Feature:ML/AIOps","v8.16.0","backport:version","v8.17.0"],"title":"[ML] Enable change point detection functional tests ","number":198702,"url":"https://github.com/elastic/kibana/pull/198702","mergeCommit":{"message":"[ML] Enable change point detection functional tests (#198702)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/178258\r\n\r\nEnable change point detection functional tests \r\n\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] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"1411604dd0caaba4ab2b6e46dcd9df0544e245c3"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198702","number":198702,"mergeCommit":{"message":"[ML] Enable change point detection functional tests (#198702)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/178258\r\n\r\nEnable change point detection functional tests \r\n\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] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"1411604dd0caaba4ab2b6e46dcd9df0544e245c3"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
This commit is contained in:
parent
fe9df7f39c
commit
ac40495c04
3 changed files with 8 additions and 3 deletions
|
@ -261,7 +261,7 @@ const FieldPanel: FC<FieldPanelProps> = ({
|
|||
disabled: removeDisabled,
|
||||
},
|
||||
],
|
||||
'data=test-subj': 'aiopsChangePointDetectionContextMenuPanel',
|
||||
'data-test-subj': 'aiopsChangePointDetectionContextMenuPanel',
|
||||
},
|
||||
{
|
||||
id: 'attachMainPanel',
|
||||
|
|
|
@ -16,8 +16,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
// aiops lives in the ML UI so we need some related services.
|
||||
const ml = getService('ml');
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/178258
|
||||
describe.skip('change point detection', function () {
|
||||
describe('change point detection', function () {
|
||||
before(async () => {
|
||||
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/ecommerce');
|
||||
await ml.testResources.createDataViewIfNeeded('ft_ecommerce', 'order_date');
|
||||
|
|
|
@ -131,6 +131,12 @@ export function ChangePointDetectionPageProvider(
|
|||
},
|
||||
|
||||
async openPanelContextMenu(panelIndex: number) {
|
||||
// Check if already open
|
||||
const isOpen = await testSubjects.exists('aiopsChangePointDetectionAttachButton');
|
||||
if (isOpen) {
|
||||
return;
|
||||
}
|
||||
|
||||
await testSubjects.click(
|
||||
`aiopsChangePointPanel_${panelIndex} > aiopsChangePointDetectionContextMenuButton`
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue