From 7dfe5aea9067a2cee35390af7de29d14cd42420a Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Wed, 21 Aug 2013 13:34:37 +0300 Subject: [PATCH] Fixed test broken by fixes to drag&drop #12406 Due to the fixes to the VDragAndDropManager the drop location became a lot more accurate and so changed where the drops were made in the test. To fix it I adjusted the pixel position within the drop target element to account for the changed accuracy. Change-Id: I60fec00a40c36fe0afcc7a4bacb2f7b101201b70 --- .../tests/components/calendar/CalendarDragAndDrop.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html b/uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html index 425f95c529..b0a702adc0 100644 --- a/uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html +++ b/uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html @@ -3,7 +3,6 @@ - New Test @@ -25,7 +24,7 @@ drop vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VHorizontalLayout[0]/Slot[0]/VCalendar[0]/domChild[0]/domChild[1]/domChild[1]/domChild[0]/domChild[1]/domChild[1]/domChild[5]/domChild[0]/domChild[2] - 54,9 + 40,9 assertText @@ -46,7 +45,7 @@ drop vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::PID_SCalendar/domChild[0]/domChild[3]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[0]/domChild[2]/domChild[0]/domChild[15] - 75,9 + 0,0 assertText -- 2.39.5