-
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
[Uptime] Unskip alerting functional tests #72963
[Uptime] Unskip alerting functional tests #72963
Conversation
c515c09
to
ba78cdf
Compare
One successful run of functional tests on the flaky test runner: https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/651/ |
Second successful flaky test run: https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/657/ |
Pinging @elastic/uptime (Team:uptime) |
@elasticmachine merge upstream |
A third 100x flaky test run: https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/664/ There were failures, but not these tests. |
@@ -17,7 +17,7 @@ export function UptimeNavigationProvider({ getService, getPageObjects }: FtrProv | |||
if (await testSubjects.exists('uptimeSettingsToOverviewLink', { timeout: 0 })) { | |||
await testSubjects.click('uptimeSettingsToOverviewLink'); | |||
await testSubjects.existOrFail('uptimeOverviewPage', { timeout: 2000 }); | |||
} else if (!(await testSubjects.exists('uptimeOverviewPage', { timeout: 0 }))) { |
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 think this isn't related to the alert test flakiness, it's related to the EuiLink not being able to click.
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 am pretty sure when I was testing this, skipping the contents of this block were causing the test to fail. I can push a commit that reverts this change to see if it keeps succeeding.
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.
@shahzad31 I am going to need to wait a bit to test this because Jenkins maintenance is happening right now.
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 don't see any issues, but I'm deferring to @shahzad31 for a review of the actual fix
Pinging @elastic/apm-ui (Team:apm) |
@shahzad31 looking at the results the most recent flaky test run, vs the one I ran yesterday, I'd say that re-introducing the code in that We could refactor that code in a follow-up and re-test it but right now I'd like to move on from this issue. |
@justinkambic sure makes sense. The only part i am concerned about is that, does this also solves the flakiness where we can't click links in alert popover ? i might be wrong, but i thought alert flakiness was bcoz of that. |
@shahzad31 that's something I was concerned over as well but I am not seeing that problem recur at all. I'm wondering if there was some EUI issue that has been subsequently solved. I will run locally and see if I can make that happen again by running the test many times and reply back here. |
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.
LGTM, i am also not able to reproduce that unclickable eui link state.
I'm going to try to smoke test it now as a best effort to make sure we don't knowingly commit a buggy solution, but I am expecting the tests to pass. |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
I ran a final flaky test check and this passed. I think we are good to merge now. https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/718/ |
* Unskip monitor status alert test. * Trying to resolve flakiness. * Remove commented code. * Simplify test expect. * Revert conditional block change. * Remove line in question. Co-authored-by: Elastic Machine <[email protected]>
* Unskip monitor status alert test. * Trying to resolve flakiness. * Remove commented code. * Simplify test expect. * Revert conditional block change. * Remove line in question. Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Backported to: |
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
2 similar comments
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
* Unskip monitor status alert test. * Trying to resolve flakiness. * Remove commented code. * Simplify test expect. * Revert conditional block change. * Remove line in question. Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Summary
Fixes #65948.
WIP,fixing skipped tests in the Uptime alerting test suite.Checklist
Delete any items that are not applicable to this PR.
For maintainers