Skip to content

Commit c7fdf6c

Browse files
committed
Add debugging to broken test
1 parent acbe728 commit c7fdf6c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/jasmine/tests/hover_label_test.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3546,8 +3546,14 @@ describe('hover on traces with (x|y)period positioning', function() {
35463546
.then(done, done.fail);
35473547
});
35483548

3549-
it('shows hover info and hovertemplate for bar and scatter traces using (start | middle | end) alignments and different periods', function(done) {
3549+
fit('shows hover info and hovertemplate for bar and scatter traces using (start | middle | end) alignments and different periods', function(done) {
35503550
Plotly.newPlot(gd, require('../../image/mocks/period_positioning4.json'))
3551+
.then(function() {
3552+
var plotDiv = document.querySelector('.plot-container');
3553+
console.log('plot size:', plotDiv.offsetWidth, plotDiv.offsetHeight);
3554+
console.log('window size:', window.innerWidth, window.innerHeight);
3555+
console.log('devicePixelRatio:', window.devicePixelRatio);
3556+
})
35513557
.then(function() { _hover(65, 425); })
35523558
.then(function() {
35533559
assertHoverLabelContent({

0 commit comments

Comments
 (0)