fixing broken group bar chart#10313
Conversation
705aa97 to
684c4e1
Compare
|
jenkins, test this |
|
Let's fix this back to 5.2 |
There was a problem hiding this comment.
I think it would be better to break this test into two separate tests. One for should stack values when mode is stacked and the other for should stack values when mode is percentage. This way if one of them regresses, we can quickly identify which one.
|
jenkins, test this |
There was a problem hiding this comment.
We shouldn't be writing tests this way: conditional assertions are bad news because if these tests were to never run, that should be a huge red flag for us, but we would never catch that with these tests. This all stems from the fact that these tests are all executed in a loop, which we shouldn't be doing either. Duplication across tests isn't something we should be programming our way around, it just makes us more likely to have bugs in the tests themselves, and it makes them harder to reason about, which is the absolute last thing we want from our tests. Plus, it tends to create problems like this conditional test stuff.
I'm OK with this test for the sake of getting this fix in, but please follow up with a new pull request that splits these tests out of the loop they're in and runs these stack/mode tests where appropriate without conditions.
|
If you rebase this on master, the flaky selenium failure should go away. |
5bc2463 to
5d37d20
Compare
|
jenkins, test this |
Backports PR #10313 **Commit 1:** fixing broken group bar chart * Original sha: 37f3abe * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T16:21:05Z **Commit 2:** fixing test * Original sha: 51aaecd * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T17:48:07Z **Commit 3:** updating based on last review * Original sha: 5d37d20 * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-15T09:15:08Z
Backports PR #10313 **Commit 1:** fixing broken group bar chart * Original sha: 37f3abe * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T16:21:05Z **Commit 2:** fixing test * Original sha: 51aaecd * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T17:48:07Z **Commit 3:** updating based on last review * Original sha: 5d37d20 * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-15T09:15:08Z
Backports PR #10313 **Commit 1:** fixing broken group bar chart * Original sha: 37f3abe * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T16:21:05Z **Commit 2:** fixing test * Original sha: 51aaecd * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T17:48:07Z **Commit 3:** updating based on last review * Original sha: 5d37d20 * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-15T09:15:08Z
Backports PR #10313 **Commit 1:** fixing broken group bar chart * Original sha: 37f3abe * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T16:21:05Z **Commit 2:** fixing test * Original sha: 51aaecd * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T17:48:07Z **Commit 3:** updating based on last review * Original sha: 5d37d20 * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-15T09:15:08Z
Backports PR #10313 **Commit 1:** fixing broken group bar chart * Original sha: 37f3abe * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T16:21:05Z **Commit 2:** fixing test * Original sha: 51aaecd * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T17:48:07Z **Commit 3:** updating based on last review * Original sha: 5d37d20 * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-15T09:15:08Z
Backports PR #10313 **Commit 1:** fixing broken group bar chart * Original sha: 37f3abe * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T16:21:05Z **Commit 2:** fixing test * Original sha: 51aaecd * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T17:48:07Z **Commit 3:** updating based on last review * Original sha: 5d37d20 * Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-15T09:15:08Z
fixed error where "grouped" vertical bar charts Y-axis extents don't scale properly - fixes #10295