mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Force popover click for manual rule run (#211623)
## Summary Similar to other place which use this popover, let's try force click to fix flaky tests Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
6a6f0e70b3
commit
99c84fcc3a
1 changed files with 2 additions and 2 deletions
|
@ -132,14 +132,14 @@ export const deleteFirstRule = () => {
|
|||
};
|
||||
|
||||
export const deleteRuleFromDetailsPage = () => {
|
||||
cy.get(POPOVER_ACTIONS_TRIGGER_BUTTON).click();
|
||||
cy.get(POPOVER_ACTIONS_TRIGGER_BUTTON).click({ force: true });
|
||||
cy.get(RULE_DETAILS_DELETE_BTN).click();
|
||||
cy.get(RULE_DETAILS_DELETE_BTN).should('not.exist');
|
||||
cy.get(CONFIRM_DELETE_RULE_BTN).click();
|
||||
};
|
||||
|
||||
export const manualRuleRunFromDetailsPage = () => {
|
||||
cy.get(POPOVER_ACTIONS_TRIGGER_BUTTON).click();
|
||||
cy.get(POPOVER_ACTIONS_TRIGGER_BUTTON).click({ force: true });
|
||||
cy.get(RULE_DETAILS_MANUAL_RULE_RUN_BTN).click();
|
||||
cy.get(RULE_DETAILS_MANUAL_RULE_RUN_BTN).should('not.exist');
|
||||
cy.get(MODAL_CONFIRMATION_BTN).click();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue