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:
parent
c0ab320085
commit
2c8b518f69
|
@ -53,8 +53,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
||||||
await testSubjects.click('alertsTab');
|
await testSubjects.click('alertsTab');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Failing: See https://github.com/elastic/kibana/issues/87105
|
describe('alerts list', function () {
|
||||||
describe.skip('alerts list', function () {
|
|
||||||
before(async () => {
|
before(async () => {
|
||||||
await pageObjects.common.navigateToApp('triggersActions');
|
await pageObjects.common.navigateToApp('triggersActions');
|
||||||
await testSubjects.click('alertsTab');
|
await testSubjects.click('alertsTab');
|
||||||
|
@ -407,6 +406,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
||||||
).to.equal('Error found in 1 alert.');
|
).to.equal('Error found in 1 alert.');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
await refreshAlertsList();
|
||||||
expect(await testSubjects.getVisibleText('totalAlertsCount')).to.be(
|
expect(await testSubjects.getVisibleText('totalAlertsCount')).to.be(
|
||||||
'Showing: 2 of 2 alerts.'
|
'Showing: 2 of 2 alerts.'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue