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

[APM] Fix Deep Links Cypress Flaky Test #206000

Merged
merged 3 commits into from
Jan 9, 2025

Conversation

rmyz
Copy link
Contributor

@rmyz rmyz commented Jan 9, 2025

Summary

Closes #205936

This PR aims to solve the flakiness of deep_links.cy test.

  • Instead of doing everything under 2 tests, we run a test for each assertion and clean everything up.
  • Ensures scroll div has content to be able to scroll
  • scrolls to center or bottom depending on the position

@rmyz rmyz added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Jan 9, 2025
@rmyz rmyz self-assigned this Jan 9, 2025
@rmyz rmyz requested a review from a team as a code owner January 9, 2025 08:59
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@rmyz rmyz added the apm label Jan 9, 2025
Copy link
Contributor

@crespocarlos crespocarlos left a comment

Choose a reason for hiding this comment

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

Did you run the flaky test runner with these changes?

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#7679

[✅] APM - Cypress: 25/25 tests passed.

see run history

@rmyz
Copy link
Contributor Author

rmyz commented Jan 9, 2025

Did you run the flaky test runner with these changes?

Hey @crespocarlos, I forgot to do that, ran them one hour ago, and they have passed 🚀

@rmyz rmyz enabled auto-merge (squash) January 9, 2025 12:15
@rmyz rmyz merged commit 45f3241 into elastic:main Jan 9, 2025
8 checks passed
@rmyz rmyz deleted the 205936-apm-fix-deep_links-flaky-test branch January 9, 2025 13:54
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12691302434

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @rmyz

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 9, 2025
## Summary

Closes elastic#205936

This PR aims to solve the flakiness of deep_links.cy test.

- Instead of doing everything under 2 tests, we run a test for each
assertion and clean everything up.
- Ensures scroll div has content to be able to scroll
- scrolls to center or bottom depending on the position

(cherry picked from commit 45f3241)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jan 9, 2025
# Backport

This will backport the following commits from `main` to `8.x`:
- [[APM] Fix Deep Links Cypress Flaky Test
(#206000)](#206000)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2025-01-09T13:54:11Z","message":"[APM]
Fix Deep Links Cypress Flaky Test (#206000)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/205936\n\nThis PR aims to solve
the flakiness of deep_links.cy test.\n\n- Instead of doing everything
under 2 tests, we run a test for each\nassertion and clean everything
up.\n- Ensures scroll div has content to be able to scroll\n- scrolls to
center or bottom depending on the
position","sha":"45f3241db0bd06a264a94d8cfd104bf4057db77e","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","apm","backport:prev-minor","Team:obs-ux-infra_services"],"title":"[APM]
Fix Deep Links Cypress Flaky
Test","number":206000,"url":"https://github.com/elastic/kibana/pull/206000","mergeCommit":{"message":"[APM]
Fix Deep Links Cypress Flaky Test (#206000)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/205936\n\nThis PR aims to solve
the flakiness of deep_links.cy test.\n\n- Instead of doing everything
under 2 tests, we run a test for each\nassertion and clean everything
up.\n- Ensures scroll div has content to be able to scroll\n- scrolls to
center or bottom depending on the
position","sha":"45f3241db0bd06a264a94d8cfd104bf4057db77e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206000","number":206000,"mergeCommit":{"message":"[APM]
Fix Deep Links Cypress Flaky Test (#206000)\n\n## Summary\n\nCloses
https://github.com/elastic/kibana/issues/205936\n\nThis PR aims to solve
the flakiness of deep_links.cy test.\n\n- Instead of doing everything
under 2 tests, we run a test for each\nassertion and clean everything
up.\n- Ensures scroll div has content to be able to scroll\n- scrolls to
center or bottom depending on the
position","sha":"45f3241db0bd06a264a94d8cfd104bf4057db77e"}}]}]
BACKPORT-->

Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
Zacqary pushed a commit to Zacqary/kibana that referenced this pull request Jan 9, 2025
## Summary

Closes elastic#205936

This PR aims to solve the flakiness of deep_links.cy test.

- Instead of doing everything under 2 tests, we run a test for each
assertion and clean everything up.
- Ensures scroll div has content to be able to scroll
- scrolls to center or bottom depending on the position
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Jan 13, 2025
## Summary

Closes elastic#205936

This PR aims to solve the flakiness of deep_links.cy test.

- Instead of doing everything under 2 tests, we run a test for each
assertion and clean everything up.
- Ensures scroll div has content to be able to scroll
- scrolls to center or bottom depending on the position
viduni94 pushed a commit to viduni94/kibana that referenced this pull request Jan 23, 2025
## Summary

Closes elastic#205936

This PR aims to solve the flakiness of deep_links.cy test.

- Instead of doing everything under 2 tests, we run a test for each
assertion and clean everything up.
- Ensures scroll div has content to be able to scroll
- scrolls to center or bottom depending on the position
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Deep link cypress flaky test
5 participants