mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
debugging test failure that only occurs on travis
This commit is contained in:
parent
bc8876cad6
commit
e81440a630
1 changed files with 17 additions and 5 deletions
|
@ -125,12 +125,24 @@ define(function (require) {
|
|||
Data = Private(require('components/vislib/lib/data'));
|
||||
YAxis = Private(require('components/vislib/lib/y_axis'));
|
||||
|
||||
var node = $('<div>').get(0);
|
||||
expect($('.y-axis-wrapper')).to.have.length(0);
|
||||
|
||||
el = d3.select(node).append('div')
|
||||
.attr('class', 'y-axis-wrapper')
|
||||
.style('height', '40px')
|
||||
.datum(data);
|
||||
console.log($(document.body).css('height'));
|
||||
console.log($(document.body).css('display'));
|
||||
|
||||
var node = $('<div>').css({
|
||||
height: 40,
|
||||
width: 40,
|
||||
})
|
||||
.appendTo('body')
|
||||
.addClass('y-axis-wrapper')
|
||||
.get(0);
|
||||
|
||||
console.log($(document.body).children().toArray().map(function (el) {
|
||||
return $(el).height() + ' #' + $(el).attr('id');
|
||||
}));
|
||||
|
||||
el = d3.select(node).datum(data);
|
||||
|
||||
yAxisDiv = el.append('div')
|
||||
.attr('class', 'y-axis-div');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue