[Alerting] Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should show save confirmation before creating alert with no actions (#112888) (#113480)
* Adding delay * Splitting tests * Fixing tests * Reverting change Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: ymao1 <ying.mao@elastic.co>
This commit is contained in:
parent
f2b2f8429e
commit
4d6c7297a5
1 changed files with 2 additions and 2 deletions
|
@ -103,8 +103,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
await testSubjects.click('test.always-firing-SelectOption');
|
||||
}
|
||||
|
||||
// FLAKY https://github.com/elastic/kibana/issues/112749
|
||||
describe.skip('create alert', function () {
|
||||
describe('create alert', function () {
|
||||
before(async () => {
|
||||
await pageObjects.common.navigateToApp('triggersActions');
|
||||
await testSubjects.click('rulesTab');
|
||||
|
@ -236,6 +235,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
|
||||
const toastTitle = await pageObjects.common.closeToast();
|
||||
expect(toastTitle).to.eql(`Created rule "${alertName}"`);
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||
await pageObjects.triggersActionsUI.searchAlerts(alertName);
|
||||
const searchResultsAfterSave = await pageObjects.triggersActionsUI.getAlertsList();
|
||||
expect(searchResultsAfterSave).to.eql([
|
||||
|
|
Loading…
Reference in a new issue