[8.17] [ObsUX] Skip flaky tests (#209500) (#209601)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[ObsUX] Skip flaky tests
(#209500)](https://github.com/elastic/kibana/pull/209500)

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

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

<!--BACKPORT
[{"author":{"name":"Miriam","email":"31922082+MiriamAparicio@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-04T17:26:10Z","message":"[ObsUX]
Skip flaky tests (#209500)\n\n## Summary\r\n\r\nProcesses and Logs tabs
test has been flaky for some time, after\r\ndifferent and numerous
attempts to fix them we want to consider removing\r\nthem and convert
them to component test.\r\n\r\nThis PR skips Processes tab as Logs tab
was already skipped, and we\r\nopened an issue make them component
tests.\r\nhttps://github.com/elastic/kibana/issues/209497\r\n\r\nCloses:
https://github.com/elastic/kibana/issues/192891
&\r\nhttps://github.com/elastic/kibana/issues/203656","sha":"8fee85d84148b6e576c091d215d1c459ac38488d","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","test-failure-flaky","v9.0.0","backport:prev-minor","backport:prev-major","Team:obs-ux-infra_services","v9.1.0"],"title":"[ObsUX]
Skip flaky
tests","number":209500,"url":"https://github.com/elastic/kibana/pull/209500","mergeCommit":{"message":"[ObsUX]
Skip flaky tests (#209500)\n\n## Summary\r\n\r\nProcesses and Logs tabs
test has been flaky for some time, after\r\ndifferent and numerous
attempts to fix them we want to consider removing\r\nthem and convert
them to component test.\r\n\r\nThis PR skips Processes tab as Logs tab
was already skipped, and we\r\nopened an issue make them component
tests.\r\nhttps://github.com/elastic/kibana/issues/209497\r\n\r\nCloses:
https://github.com/elastic/kibana/issues/192891
&\r\nhttps://github.com/elastic/kibana/issues/203656","sha":"8fee85d84148b6e576c091d215d1c459ac38488d"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209500","number":209500,"mergeCommit":{"message":"[ObsUX]
Skip flaky tests (#209500)\n\n## Summary\r\n\r\nProcesses and Logs tabs
test has been flaky for some time, after\r\ndifferent and numerous
attempts to fix them we want to consider removing\r\nthem and convert
them to component test.\r\n\r\nThis PR skips Processes tab as Logs tab
was already skipped, and we\r\nopened an issue make them component
tests.\r\nhttps://github.com/elastic/kibana/issues/209497\r\n\r\nCloses:
https://github.com/elastic/kibana/issues/192891
&\r\nhttps://github.com/elastic/kibana/issues/203656","sha":"8fee85d84148b6e576c091d215d1c459ac38488d"}}]}]
BACKPORT-->

Co-authored-by: Miriam <31922082+MiriamAparicio@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2025-02-05 06:17:02 +11:00 committed by GitHub
parent c16c8f6900
commit 2d2fe80c3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -487,8 +487,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
});
});
});
describe('Processes Tab', () => {
// FLAKY: https://github.com/elastic/kibana/issues/192891
describe.skip('Processes Tab', () => {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_hosts_processes');
await esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_and_logs');
@ -556,7 +556,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
);
});
it('should render logs tab', async () => {
it('should render logs tab content', async () => {
await pageObjects.assetDetails.logsExists();
});
@ -580,7 +580,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await pageObjects.assetDetails.clickOsqueryTab();
});
it('should show a date picker', async () => {
it('should not show a date picker', async () => {
expect(await pageObjects.timePicker.timePickerExists()).to.be(false);
});
});