Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RAM] Fix flaky alertsList test #150122

Merged
merged 5 commits into from
Feb 8, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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