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

[Entity Analytics] MKI test failure fixes #190182

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

hop-dev
Copy link
Contributor

@hop-dev hop-dev commented Aug 8, 2024

Summary

closes #10176

I've been looking into a few of our flaky tests and come up with a couple of actions, I will comment on them individually.

@@ -31,7 +31,8 @@ import { REFRESH_BUTTON } from '../screens/security_header';
export const updateDashboardTimeRange = () => {
// eslint-disable-next-line cypress/no-force
cy.get(GET_DATE_PICKER_APPLY_BUTTON(GLOBAL_FILTERS_CONTAINER)).click({ force: true }); // Force to fix global timerange flakiness
cy.get(REFRESH_BUTTON).click();
// eslint-disable-next-line cypress/no-force
cy.get(REFRESH_BUTTON).click({ force: true }); // Force to fix even more global timerange flakiness
Copy link
Contributor Author

@hop-dev hop-dev Aug 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very rarely (1 in over 1000 test runs) the query button is disabled I dont understand why and I have no screenshots, but the button is not what is primarily under test so I think a force is reasonable here

@hop-dev hop-dev marked this pull request as ready for review August 8, 2024 21:02
@hop-dev hop-dev requested review from a team as code owners August 8, 2024 21:02
@hop-dev
Copy link
Contributor Author

hop-dev commented Aug 29, 2024

@elasticmachine merge upstream

Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes LGTM. @hop-dev did you have a chance to run the tests against real project on QA (MKI) to confirm flakiness is fixed?

@hop-dev
Copy link
Contributor Author

hop-dev commented Sep 3, 2024

@elasticmachine merge upstream

@hop-dev
Copy link
Contributor Author

hop-dev commented Sep 3, 2024

@dmlemeshko the issue is so rare I didn't think that would be effective, do you have a concern about the change?

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #93 / data plugin Session management Dashboard starts a session on filter change

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
@kbn/test-suites-xpack 719 720 +1

Total ESLint disabled count

id before after diff
@kbn/test-suites-xpack 743 744 +1

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@hop-dev hop-dev added the release_note:skip Skip the PR/issue when compiling release notes label Sep 5, 2024
@hop-dev hop-dev self-assigned this Sep 5, 2024
@hop-dev hop-dev merged commit 8be089b into elastic:main Sep 5, 2024
39 checks passed
@hop-dev hop-dev deleted the flaky-test-fixes branch September 5, 2024 08:43
@kibanamachine kibanamachine added v8.16.0 backport:skip This commit does not require backporting labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants