Adam Shaw 9 лет назад
Родитель
Сommit
6a17ce4ee4
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      tests/automated/eventLimit-popover.js

+ 4 - 0
tests/automated/eventLimit-popover.js

@@ -275,6 +275,10 @@ describe('eventLimit popover', function() {
 
 				setTimeout(function() { // simulate was getting confused about which thing was being clicked :(
 					$('.fc-more-popover .event4').simulate('drag', {
+						localPoint: {
+							left: '0%', // leftmost is guaranteed to be over the 30th
+							top: '50%'
+						},
 						end: $('.fc-slats tr:eq(6)') // the middle will be 7/30, 3:00am
 					});
 				}, 0);