summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2013-08-21 13:34:37 +0300
committerVaadin Code Review <review@vaadin.com>2013-08-21 10:40:01 +0000
commit7dfe5aea9067a2cee35390af7de29d14cd42420a (patch)
tree787b4607d4554fda43fd88505352f7c6defa35c8 /uitest
parent047303662b348bf73a69b81532f9ac5f4f12cc71 (diff)
downloadvaadin-framework-7dfe5aea9067a2cee35390af7de29d14cd42420a.tar.gz
vaadin-framework-7dfe5aea9067a2cee35390af7de29d14cd42420a.zip
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
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/calendar/CalendarDragAndDrop.html5
1 files 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 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:7171/" />
<title>New Test</title>
</head>
<body>
@@ -25,7 +24,7 @@
<tr>
<td>drop</td>
<td>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]</td>
- <td>54,9</td>
+ <td>40,9</td>
</tr>
<tr>
<td>assertText</td>
@@ -46,7 +45,7 @@
<tr>
<td>drop</td>
<td>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]</td>
- <td>75,9</td>
+ <td>0,0</td>
</tr>
<tr>
<td>assertText</td>