You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CalendarDragAndDrop.html 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head profile="http://selenium-ide.openqa.org/profiles/test-case">
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <title>New Test</title>
  7. </head>
  8. <body>
  9. <table cellpadding="1" cellspacing="1" border="1">
  10. <thead>
  11. <tr><td rowspan="1" colspan="3">New Test</td></tr>
  12. </thead><tbody>
  13. <tr>
  14. <td>open</td>
  15. <td>/run/com.vaadin.tests.components.calendar.CalendarDragAndDrop?restartApplication</td>
  16. <td></td>
  17. </tr>
  18. <!--// Test drag and drop in month view-->
  19. <tr>
  20. <td>drag</td>
  21. <td>vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VHorizontalLayout[0]/Slot[1]/VScrollTable[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[9]/domChild[0]/domChild[0]</td>
  22. <td>76,7</td>
  23. </tr>
  24. <tr>
  25. <td>drop</td>
  26. <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>
  27. <td>40,9</td>
  28. </tr>
  29. <tr>
  30. <td>assertText</td>
  31. <td>vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::PID_SCalendar/domChild[0]/domChild[1]/domChild[1]/domChild[0]/domChild[1]/domChild[1]/domChild[5]/domChild[0]/domChild[1]</td>
  32. <td>12:00 AM Event 10</td>
  33. </tr>
  34. <!--//Test drag and drop in week view-->
  35. <tr>
  36. <td>mouseClick</td>
  37. <td>vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::PID_SCalendar/domChild[0]/domChild[1]/domChild[0]/domChild[0]/domChild[1]/domChild[1]/domChild[0]/domChild[0]</td>
  38. <td>7,85</td>
  39. </tr>
  40. <tr>
  41. <td>drag</td>
  42. <td>vaadin=runcomvaadintestscomponentscalendarCalendarDragAndDrop::/VVerticalLayout[0]/Slot[1]/VVerticalLayout[0]/Slot[0]/VHorizontalLayout[0]/Slot[1]/VScrollTable[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[11]/domChild[0]/domChild[0]</td>
  43. <td>34,12</td>
  44. </tr>
  45. <tr>
  46. <td>drop</td>
  47. <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>
  48. <td>0,0</td>
  49. </tr>
  50. <tr>
  51. <td>assertText</td>
  52. <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[48]/domChild[0]</td>
  53. <td>7:30 AM: Event 13</td>
  54. </tr>
  55. </tbody></table>
  56. </body>
  57. </html>