Skip to content

Commit

Permalink
Fixes Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/fun…
Browse files Browse the repository at this point in the history
…ctional_with_es_ssl/apps/triggers_actions_ui/alerts_list·ts - Actions and Triggers app alerts list should display total alerts by status and error banner only when exists alerts with status error (elastic#88119)

* Unskipping test

* Adding refresh before checking status
  • Loading branch information
ymao1 committed Jan 13, 2021
1 parent e6017bd commit e31d938
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await testSubjects.click('alertsTab');
}

// Failing: See https://github.com/elastic/kibana/issues/87105
describe.skip('alerts list', function () {
describe('alerts list', function () {
before(async () => {
await pageObjects.common.navigateToApp('triggersActions');
await testSubjects.click('alertsTab');
Expand Down Expand Up @@ -437,6 +436,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
).to.equal('Error found in 1 alert.');
});

await refreshAlertsList();
expect(await testSubjects.getVisibleText('totalAlertsCount')).to.be(
'Showing: 2 of 2 alerts.'
);
Expand Down

0 comments on commit e31d938

Please sign in to comment.