]> source.dussan.org Git - vaadin-framework.git/commitdiff
Test for #7100
authorArtur Signell <artur.signell@itmill.com>
Tue, 31 May 2011 11:54:04 +0000 (11:54 +0000)
committerArtur Signell <artur.signell@itmill.com>
Tue, 31 May 2011 11:54:04 +0000 (11:54 +0000)
svn changeset:19164/svn branch:6.6

tests/src/com/vaadin/tests/components/LongTooltip.html [new file with mode: 0644]

diff --git a/tests/src/com/vaadin/tests/components/LongTooltip.html b/tests/src/com/vaadin/tests/components/LongTooltip.html
new file mode 100644 (file)
index 0000000..ac31738
--- /dev/null
@@ -0,0 +1,325 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<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="" />
+<title>New Test</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">New Test</td></tr>
+</thead><tbody>
+<!--Lower-right-->
+<tr>
+       <td>open</td>
+       <td>/run/com.vaadin.tests.components.LongTooltip?restartApplication</td>
+       <td></td>
+</tr>
+<!--Show tooltip, which should be on screen-->
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[3]/VTextField[0]</td>
+       <td>0,0</td>
+</tr>
+<!--Wait for tooltip to appear-->
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-lower-right-1</td>
+</tr>
+<!--Hide tooltip-->
+<tr>
+       <td>mouseOut</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td>55,43</td>
+</tr>
+<!--Wait for tooltip to disappear. Cannot for some reason use waitForNotVisible-->
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[3]/VTextField[0]</td>
+       <td>0,0</td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-lower-right-2</td>
+</tr>
+<!--Hide tooltip-->
+<tr>
+       <td>mouseOut</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td>55,43</td>
+</tr>
+<!--Wait for tooltip to disappear. Cannot for some reason use waitForNotVisible-->
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[3]/VTextField[0]</td>
+       <td>100,20</td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-lower-right-3</td>
+</tr>
+<!--Upper-right-->
+<tr>
+       <td>open</td>
+       <td>/run/com.vaadin.tests.components.LongTooltip?restartApplication</td>
+       <td></td>
+</tr>
+<!--Show tooltip, which should be on screen-->
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VTextField[0]</td>
+       <td>0,0</td>
+</tr>
+<!--Wait for tooltip to appear-->
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-upper-right-1</td>
+</tr>
+<!--Hide tooltip-->
+<tr>
+       <td>mouseOut</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td>55,43</td>
+</tr>
+<!--Wait for tooltip to disappear. Cannot for some reason use waitForNotVisible-->
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VTextField[0]</td>
+       <td>0,0</td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-upper-right-2</td>
+</tr>
+<!--Hide tooltip-->
+<tr>
+       <td>mouseOut</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td>55,43</td>
+</tr>
+<!--Wait for tooltip to disappear. Cannot for some reason use waitForNotVisible-->
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[1]/VTextField[0]</td>
+       <td>100,20</td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-upper-right-3</td>
+</tr>
+<!--Lower-left-->
+<tr>
+       <td>open</td>
+       <td>/run/com.vaadin.tests.components.LongTooltip?restartApplication</td>
+       <td></td>
+</tr>
+<!--Show tooltip, which should be on screen-->
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[2]/VTextField[0]</td>
+       <td>0,0</td>
+</tr>
+<!--Wait for tooltip to appear-->
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-lower-left-1</td>
+</tr>
+<!--Hide tooltip-->
+<tr>
+       <td>mouseOut</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td>55,43</td>
+</tr>
+<!--Wait for tooltip to disappear. Cannot for some reason use waitForNotVisible-->
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[2]/VTextField[0]</td>
+       <td>0,0</td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-lower-left-2</td>
+</tr>
+<!--Hide tooltip-->
+<tr>
+       <td>mouseOut</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td>55,43</td>
+</tr>
+<!--Wait for tooltip to disappear. Cannot for some reason use waitForNotVisible-->
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[2]/VTextField[0]</td>
+       <td>100,20</td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-lower-left-3</td>
+</tr>
+<!--Upper-left-->
+<tr>
+       <td>open</td>
+       <td>/run/com.vaadin.tests.components.LongTooltip?restartApplication</td>
+       <td></td>
+</tr>
+<!--Show tooltip, which should be on screen-->
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[0]/VTextField[0]</td>
+       <td>0,0</td>
+</tr>
+<!--Wait for tooltip to appear-->
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-upper-left-1</td>
+</tr>
+<!--Hide tooltip-->
+<tr>
+       <td>mouseOut</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td>55,43</td>
+</tr>
+<!--Wait for tooltip to disappear. Cannot for some reason use waitForNotVisible-->
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[0]/VTextField[0]</td>
+       <td>0,0</td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-upper-left-2</td>
+</tr>
+<!--Hide tooltip-->
+<tr>
+       <td>mouseOut</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td>55,43</td>
+</tr>
+<!--Wait for tooltip to disappear. Cannot for some reason use waitForNotVisible-->
+<tr>
+       <td>pause</td>
+       <td>500</td>
+       <td></td>
+</tr>
+<tr>
+       <td>showTooltip</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VGridLayout[0]/AbsolutePanel[0]/ChildComponentContainer[0]/VTextField[0]</td>
+       <td>100,20</td>
+</tr>
+<tr>
+       <td>waitForVisible</td>
+       <td>vaadin=runcomvaadintestscomponentsLongTooltip::Root/VTooltip[0]/FlowPanel[0]/domChild[1]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>screenCapture</td>
+       <td></td>
+       <td>tooltip-upper-left-3</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>