Skip to content

Commit

Permalink
[RAM] Fix flaky alertsList test (#150122)
Browse files Browse the repository at this point in the history
## Summary

Closes #131535

Fixes the flaky alertsList test

---------

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
Zacqary and kibanamachine authored Feb 8, 2023
1 parent 049833d commit 52936a9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
const objectRemover = new ObjectRemover(supertest);

async function refreshAlertsList() {
await testSubjects.click('logsTab');
await testSubjects.click('rulesTab');
}

// FLAKY: https://github.com/elastic/kibana/issues/131535
describe.skip('rules list', function () {
describe('rules list', function () {
const assertRulesLength = async (length: number) => {
return await retry.try(async () => {
const rules = await pageObjects.triggersActionsUI.getAlertsList();
Expand Down Expand Up @@ -495,7 +495,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
params: { level: 'info', message: 'gfghfhg' },
frequency: {
summary: false,
notifyWhen: 'onActionGroupChange',
notify_when: 'onActionGroupChange',
throttle: null,
},
},
Expand Down Expand Up @@ -676,7 +676,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
params: { level: 'info', message: 'gfghfhg' },
frequency: {
summary: false,
notifyWhen: 'onActionGroupChange',
notify_when: 'onActionGroupChange',
throttle: null,
},
},
Expand Down

0 comments on commit 52936a9

Please sign in to comment.