mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Minor changes from review comments.
This commit is contained in:
parent
3da9d84fe7
commit
c477ab40a8
2 changed files with 1 additions and 2 deletions
|
@ -253,7 +253,6 @@ define(function (require) {
|
|||
return common.tryForTime(20 * 1000, function tryingForTime() {
|
||||
return discoverPage.getBarChartData()
|
||||
.then(function compareData(paths) {
|
||||
// console.log(paths);
|
||||
// the largest bars are over 100 pixels high so this is less than 1% tolerance
|
||||
var barHeightTolerance = 1;
|
||||
var stringResults = '';
|
||||
|
@ -267,6 +266,7 @@ define(function (require) {
|
|||
};
|
||||
if (hasFailure) {
|
||||
common.log(stringResults);
|
||||
common.log(paths);
|
||||
}
|
||||
for (var x = 0; x < expectedBarChartData.length; x++) {
|
||||
expect(Math.abs(expectedBarChartData[x] - paths[x]) < barHeightTolerance).to.be.ok();
|
||||
|
|
|
@ -35,7 +35,6 @@ define(function (require) {
|
|||
getChartTimespan: function getChartTimespan() {
|
||||
return thisTime
|
||||
.findByCssSelector('center.small > span:nth-child(1)')
|
||||
// .findByCssSelector('center.small > span.ng-binding')
|
||||
.getVisibleText();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue