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

Changed required field data pane width and increased window width for… #8127

Merged
merged 1 commit into from
Aug 30, 2016

Conversation

LeeDr
Copy link

@LeeDr LeeDr commented Aug 30, 2016

Fixes #8121

The main navigation bar on the left is now expanded by default and has a button to collapse/expand.
The Discover tab's field data panel width must be a percentage (or somehow proportional) to the width of the whole window. So when the main nav bar is expanded (the default) the field data panel is a bit narrower and was causing a test to fail. I drastically reduced the expected size from > 180 to > 20 in these tests to match the collapsed test which checks < 20.

Another side-affect of the change in widths was the 2 of the visualize tests were failing.

Area Chart was failing to get the expected 4 timestamps in the X-Axis legend. Only 3 were shown because the chart width was slightly smaller. I increased the width using setWindowSize in all the visualize tests from 1200 to 1280 (in the index.js) to fix it. Also could have collapsed the side nav but don't have a method for that new feature yet.

Tile Map was also failing but is also fixed by the increase in window width.

Finally, while testing these changes, I added a call to getSpinnerDone in a couple of the discover_page methods to eliminate a bunch of tryForTime failures. We might be able to remove a few sleeps now too but I can't easily test those changes on Jenkins so I left them in.

@cjcenizal
Copy link
Contributor

💯 LGTM

@epixa epixa merged commit 132dbdf into elastic:master Aug 30, 2016
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
Changed required field data pane width and increased window width for…

Former-commit-id: 132dbdf
@LeeDr LeeDr deleted the fixSideFieldBarExpandCollapse branch May 23, 2017 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix selenium test for side nav bar expand/collapse
3 participants