Fixes Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_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
This commit is contained in:
ymao1 2021-01-13 08:01:08 -05:00 committed by GitHub
parent c0ab320085
commit 2c8b518f69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');
@ -407,6 +406,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.'
);