Fix flaky tests (#175965)

## Summary

These changes fix flaky alert assignments cypress tests:
- https://github.com/elastic/kibana/issues/173429
- https://github.com/elastic/kibana/issues/172520
- https://github.com/elastic/kibana/issues/172557

@MadameSheema mentioned that there were a lot of changes around login
functionality recently which could have fixed original issues. We agreed
that we will run a flaky test runner and if everything works fine we
would un-skip tests and monitor them after the merge.

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ESS 97
times](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5064)
- [Serverless 97
times](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5052)
This commit is contained in:
Ievgen Sorokopud 2024-02-07 11:30:59 +01:00 committed by GitHub
parent cc00868225
commit 7a8d819738
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 6 deletions

View file

@ -42,8 +42,7 @@ import {
} from '../../../../../tasks/alert_assignments';
import { ALERTS_COUNT } from '../../../../../screens/alerts';
// Failing: See https://github.com/elastic/kibana/issues/173429
describe.skip('Alert user assignment - ESS & Serverless', { tags: ['@ess', '@serverless'] }, () => {
describe('Alert user assignment - ESS & Serverless', { tags: ['@ess', '@serverless'] }, () => {
before(() => {
cy.task('esArchiverLoad', { archiveName: 'auditbeat_multiple' });

View file

@ -20,8 +20,7 @@ import {
loadPageAs,
} from '../../../../../tasks/alert_assignments';
// FLAKY: https://github.com/elastic/kibana/issues/172557
describe.skip(
describe(
'Alert user assignment - Serverless Complete',
{
tags: ['@serverless'],

View file

@ -20,8 +20,7 @@ import {
loadPageAs,
} from '../../../../../tasks/alert_assignments';
// FLAKY: https://github.com/elastic/kibana/issues/172520
describe.skip(
describe(
'Alert user assignment - Serverless Essentials',
{
tags: ['@serverless'],