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 (#88119)

* Unskipping test

* Adding refresh before checking status
  • Loading branch information
ymao1 committed Jan 13, 2021
1 parent 8dbe468 commit 010d435
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,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 @@ -408,6 +407,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 010d435

Please sign in to comment.