mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
fix find tests (#163702)
## Summary Fix flaky find rule e2e tests. Tested using this tool: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2858
This commit is contained in:
parent
00ffe1d791
commit
04d8a2646d
1 changed files with 6 additions and 2 deletions
|
@ -19,8 +19,7 @@ const findTestUtils = (
|
|||
supertest: SuperTest<Test>,
|
||||
supertestWithoutAuth: any
|
||||
) => {
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/148660
|
||||
describe.skip(describeType, () => {
|
||||
describe(describeType, () => {
|
||||
afterEach(() => objectRemover.removeAll());
|
||||
|
||||
for (const scenario of UserAtSpaceScenarios) {
|
||||
|
@ -60,6 +59,8 @@ const findTestUtils = (
|
|||
})
|
||||
)
|
||||
.expect(200);
|
||||
objectRemover.add(space.id, createdAlert.id, 'rule', 'alerting');
|
||||
|
||||
const response = await supertestWithoutAuth
|
||||
.get(
|
||||
`${getUrlPrefix(space.id)}/${
|
||||
|
@ -105,6 +106,7 @@ const findTestUtils = (
|
|||
id: createdAction.id,
|
||||
connector_type_id: 'test.noop',
|
||||
params: {},
|
||||
uuid: match.actions[0].uuid,
|
||||
frequency: {
|
||||
summary: false,
|
||||
notify_when: 'onThrottleInterval',
|
||||
|
@ -121,6 +123,7 @@ const findTestUtils = (
|
|||
notify_when: null,
|
||||
updated_by: 'elastic',
|
||||
api_key_owner: 'elastic',
|
||||
api_key_created_by_user: false,
|
||||
mute_all: false,
|
||||
muted_alert_ids: [],
|
||||
revision: 0,
|
||||
|
@ -328,6 +331,7 @@ const findTestUtils = (
|
|||
params: {},
|
||||
created_by: 'elastic',
|
||||
throttle: '1m',
|
||||
api_key_created_by_user: null,
|
||||
updated_by: 'elastic',
|
||||
api_key_owner: null,
|
||||
mute_all: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue