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

Fix placing series / series picker in charts #19588

Merged
merged 2 commits into from Aug 2, 2022
Merged

Fix placing series / series picker in charts #19588

merged 2 commits into from Aug 2, 2022

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Aug 1, 2022

Description:

I've investigate why one of our UI test is randomly failing all the time:

GoalsPages_individual_row_evolution_reloaded

vs

GoalsPages_individual_row_evolution_reloaded

The reason for this random failure actually turned out to be kind of a bug. The series in the chart needs to be placed more right, if a series picker icon is shown. While this is not the case for the chart on the UI test, there is a chart on the page that is loaded in the background of the popover. As the selector to adjust the placement was global, it also affected the one on the UI test. So the test used to fail depending on the loading speed of the reports in background.

Review

@sgiehl sgiehl added Bug For errors / faults / flaws / inconsistencies etc. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. Needs Review PRs that need a code review labels Aug 1, 2022
@sgiehl sgiehl added this to the 4.12.0 milestone Aug 1, 2022
Copy link
Contributor

@bx80 bx80 left a comment

Choose a reason for hiding this comment

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

Nice spot @sgiehl, this one has been randomly failing for a while, great to have it finally tracked down 😃

I've updated the UI screenshot and the build is running, if the UI test passes then I guess this should be ready to merge.

@justinvelluppillai
Copy link
Contributor

Great find 🥇

@sgiehl sgiehl merged commit d298c61 into 4.x-dev Aug 2, 2022
@sgiehl sgiehl deleted the chartseries branch August 2, 2022 08:35
@sgiehl sgiehl removed the Needs Review PRs that need a code review label Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants