Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test: "after all" hook for "Creates and activates a new threshold rule" - Detection rules, threshold "after all" hook for "Creates and activates a new threshold rule" #81836

Open
kibanamachine opened this issue Oct 27, 2020 · 15 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Oct 27, 2020

A test failed on a tracked branch

CypressError: `cy.click()` failed because it requires a DOM element.

The subject received was:

  > `undefined`

The previous command that ran was:

  > `cy.get()`

Because this error occurred during a `after all` hook we are skipping the remaining tests in the current suite: `Detection rules, threshold`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
    at ensureElement (http://elastic:changeme@localhost:6131/__cypress/runner/cypress_runner.js:161918:24)
    at validateType (http://elastic:changeme@localhost:6131/__cypress/runner/cypress_runner.js:161758:16)
    at Object.ensureSubjectByType (http://elastic:changeme@localhost:6131/__cypress/runner/cypress_runner.js:161794:9)
    at pushSubjectAndValidate (http://elastic:changeme@localhost:6131/__cypress/runner/cypress_runner.js:170212:15)
    at Context.<anonymous> (http://elastic:changeme@localhost:6131/__cypress/runner/cypress_runner.js:170549:18)
From Your Spec Code:
    at Object../cypress/tasks/alerts_detection_rules.ts.exports.deleteRule (http://localhost:6131/__cypress/tests?p=cypress/integration/alerts_detection_rules_threshold.spec.ts:14263:40)
    at Context.eval (http://localhost:6131/__cypress/tests?p=cypress/integration/alerts_detection_rules_threshold.spec.ts:13498:34)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 27, 2020
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test
Projects
None yet
Development

No branches or pull requests

1 participant