-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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: X-Pack Endpoint Functional Tests on Serverless.x-pack/test/security_solution_endpoint/apps/endpoint/responder·ts - endpoint Response Actions Responder from timeline should show Responder from alert in a timeline #172374
Comments
Pinging @elastic/security-defend-workflows (Team:Defend Workflows) |
The cause of failure is due to a tour popup blocking the buttons below. We've already fixed this issue in /pull/172303. There's no reason that it should fail on #171760 give that it was merged after the fix PR. Unless, the CI ran before syncing with main which could cause in the test failure. I'm going to keep an eye on this one for a day before closing it. |
New failure: CI Build - main |
This is a new failure on serverless CI tests ☝🏼 Might be related to changes in /pull/172030. Looking into it! |
I have triggered a flaky test run because this test seems to be passing locally everytime https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4211 |
Hello @ashokaditya , I looked into the above flaky test runner and it looks like there was only one failure of a different test but with same reason. Reason is that test clicks on below highlighted button but the popover never shows up and as you can see in below code. It could be for n number of reasons such as proper hydration or the button is not yet active. We face this kind of error in cypress as well but we have way to repeatedly click a button until the required css selector shows up. Do you also employ this kind of technique in FTR somewhere as well? kibana/x-pack/test/security_solution_endpoint/page_objects/endpoint_responder.ts Lines 46 to 55 in 16f09fd
|
@logeekal thanks for looking into this. I am not aware if we can do this on FTR. We could surely benefit with such a technique in the tests. Can you point me to a cypress test where you repeatedly click a button until the css selector shows up. |
closes elastic/issues/170435 closes elastic/issues/172374 closes elastic/issues/172512
@ashokaditya , Below is one such example. We run statements 206,207 till 209 is true. kibana/x-pack/test/security_solution_cypress/cypress/tasks/alerts.ts Lines 201 to 213 in 8287a0a
|
We removed the FTR test in /pull/177740. Thetests were failing as there's a change in the timelines UI. We decided to cover it in cypress tests if not already covered. |
A test failed on a tracked branch
First failure: CI Build - main
The text was updated successfully, but these errors were encountered: