Skip to content

Commit 012625d

Browse files
committedFeb 26, 2019
edited one CI jasmine test in order no to rotate camera before click
1 parent 9ad6634 commit 012625d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎test/jasmine/tests/gl3d_plot_interact_test.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,10 @@ describe('Test gl3d plots', function() {
365365
// N.B. gl3d click events are 'mouseover' events
366366
// with button 1 pressed
367367
function _click() {
368-
mouseEvent('mouseover', 605, 271, {buttons: 1});
368+
var x = 605;
369+
var y = 271;
370+
mouseEvent('mousemove', x, y);
371+
mouseEvent('mouseover', x, y, {buttons: 1});
369372
return delay(20)();
370373
}
371374

@@ -379,7 +382,7 @@ describe('Test gl3d plots', function() {
379382
.then(_click)
380383
.then(delay(20))
381384
.then(function() {
382-
assertEventData(140.72, -96.97, -96.97, 0, 2);
385+
assertEventData(134.03, -163.59, -163.59, 0, 3);
383386
})
384387
.then(done);
385388
});

0 commit comments

Comments
 (0)
Please sign in to comment.