-
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
[Security Solution] Re-enable the timelines url state test #173536
Conversation
dd3cb9c
to
c898971
Compare
/ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should get rid of the before
and use beforeEach
only. If a test fails then all the code in the before
will not be run again when the test is retried.
Also why login twice (currently we call login
in the before
then again in the beforeEach
).
Once you move the content of the before
into the beforeEach
, I wonder if we should clear all created timeline to make sure that the tests start fresh always? (here is the function that does it for you).
Also I feel like the nested describe (line 45) isn't doing anything, so let's remove it!
f6eb950
to
43b7986
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took the liberty of adding deleteTimelines();
to the beforeEach
just to make sure we're starting each test with a correct state.
I tested locally by running each test a bunch of files and we're good!
Thanks for making all the changes!
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Re-enables #172503
FTR pipeline: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4615