Skip to content

Fix multiple problems with discover 'should show the correct bar char…#5919

Merged
LeeDr merged 3 commits intoelastic:masterfrom
LeeDr:fixDiscoverTest
Jan 15, 2016
Merged

Fix multiple problems with discover 'should show the correct bar char…#5919
LeeDr merged 3 commits intoelastic:masterfrom
LeeDr:fixDiscoverTest

Conversation

@LeeDr
Copy link

@LeeDr LeeDr commented Jan 15, 2016

One discover test wasn't really checking the data.

  • The test was using array.size instead of array.length so it wasn't iterating through the data to check it.
  • This test was originally created before we switched to using UTC timezone so it wouldn't have passed on Jenkins.
  • I improved the discoverPage.getBarChartData. It's much simpler now and uses a better cssSelector that doesn't depend on matching the green color of the bars.

…t'. UTC timezone, array.length, improve cssSelector.
@jbudz
Copy link
Contributor

jbudz commented Jan 15, 2016

jenkins, test it

1 similar comment
@LeeDr
Copy link
Author

LeeDr commented Jan 15, 2016

jenkins, test it

@jbudz
Copy link
Contributor

jbudz commented Jan 15, 2016

👍 , after jenkins passes this LGTM

@jbudz jbudz assigned LeeDr and unassigned jbudz Jan 15, 2016
LeeDr pushed a commit that referenced this pull request Jan 15, 2016
Fix multiple problems with discover 'should show the correct bar char…
@LeeDr LeeDr merged commit d0298d7 into elastic:master Jan 15, 2016
LeeDr pushed a commit that referenced this pull request Jan 15, 2016
@LeeDr LeeDr deleted the fixDiscoverTest branch January 27, 2016 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants