summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-06-14 13:49:03 +0000
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-06-14 13:49:03 +0000
commitd034e13ee853867fc0eb74ae96f049967015d818 (patch)
tree7a25384f42653d251ad45f8d5ed7ec6e03a1cd53
parent0abcf847a27cff763f3dfea6aeec04b5aeb633d4 (diff)
downloadvaadin-framework-d034e13ee853867fc0eb74ae96f049967015d818.tar.gz
vaadin-framework-d034e13ee853867fc0eb74ae96f049967015d818.zip
#7766 Use debug id in test to make IE 6,7,8 not fail so har
svn changeset:23939/svn branch:6.8
-rw-r--r--tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.html25
-rw-r--r--tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.java1
2 files changed, 6 insertions, 20 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.html b/tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.html
index 4d2fde6b45..08dc608787 100644
--- a/tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.html
+++ b/tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.html
@@ -18,35 +18,20 @@
</tr>
<tr>
<td>mouseOver</td>
- <td>vaadin=runcomvaadintestscomponentsdraganddropwrapperTooltipHandlingWhenNotDefined::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VDragAndDropWrapper[0]/VCssLayout[0]/VCssLayout$FlowPane[0]/VLabel[0]</td>
+ <td>vaadin=runcomvaadintestscomponentsdraganddropwrapperTooltipHandlingWhenNotDefined::PID_StooltipLabel</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td></td>
- <td>5000</td>
+ <td>3000</td>
</tr>
<tr>
<td>screenCapture</td>
<td></td>
- <td>tooltip_shown</td>
+ <td>tooltip-shown</td>
</tr>
-<tr>
- <td>mouseOut</td>
- <td>vaadin=runcomvaadintestscomponentsdraganddropwrapperTooltipHandlingWhenNotDefined::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VDragAndDropWrapper[0]/VCssLayout[0]/VCssLayout$FlowPane[0]/VLabel[0]</td>
- <td></td>
-</tr>
-<tr>
- <td>pause</td>
- <td></td>
- <td>2000</td>
-</tr>
-<tr>
- <td>screenCapture</td>
- <td></td>
- <td>tooltip_hidden</td>
-</tr>
-
-</tbody></table>
+</tbody>
+</table>
</body>
</html>
diff --git a/tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.java b/tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.java
index 4b07175cd8..0735b3e622 100644
--- a/tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.java
+++ b/tests/testbench/com/vaadin/tests/components/draganddropwrapper/TooltipHandlingWhenNotDefined.java
@@ -15,6 +15,7 @@ public class TooltipHandlingWhenNotDefined extends TestBase {
wrapperLayout.setWidth("100%");
Label label = new Label("Can I has the tooltip?", Label.CONTENT_XHTML);
+ label.setDebugId("tooltipLabel");
label.setDescription("Good! Tooltip works!");
label.setSizeUndefined();
wrapperLayout.addComponent(label);