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: Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/investigations/timelines/creation·cy·ts - Timelines shows the different timeline states "before all" hook for "should show the correct timeline status" "before all" hook for "should show the correct timeline status" #172031

Closed
kibanamachine opened this issue Nov 27, 2023 · 4 comments
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Threat Hunting:Investigations Security Solution Investigations Team

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Nov 27, 2023

A test failed on a tracked branch

AssertionError: Timed out retrying after 150000ms: Expected to find element: `[data-test-subj="new-timeline-action"]`, but never found it.

Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `shows the different timelin...`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
    at createNewTimeline (webpack:///./tasks/timeline.ts:319:30)
    at Context.eval (webpack:///./e2e/investigations/timelines/creation.cy.ts:155:24)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Nov 27, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 27, 2023
@mistic mistic added the Team:Threat Hunting:Investigations Security Solution Investigations Team label Nov 28, 2023
@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 28, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Nov 28, 2023

Skipped.

main: fc7f40f

@janmonschke janmonschke self-assigned this Dec 7, 2023
janmonschke added a commit that referenced this issue Dec 13, 2023
## Summary

Fixes the flakiness in the timeline creation cypress tests. The cause
for the flakiness was the extra save operation that is happening in the
background for the saved search. Awaiting that operation removed the
flakiness.

[Flaky test runner
result](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4329)

Fixes: #172304,
#172031
@janmonschke
Copy link
Contributor

Fixed in #172799

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 Team:Threat Hunting:Investigations Security Solution Investigations Team
Projects
None yet
Development

No branches or pull requests

3 participants