]> source.dussan.org Git - vaadin-framework.git/commitdiff
test script
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 12 Oct 2010 13:06:41 +0000 (13:06 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 12 Oct 2010 13:06:41 +0000 (13:06 +0000)
svn changeset:15518/svn branch:6.5

tests/src/com/vaadin/tests/layouts/CssLayoutRemoveComponent.html [new file with mode: 0644]
tests/src/com/vaadin/tests/layouts/CssLayoutRemoveComponent.java

diff --git a/tests/src/com/vaadin/tests/layouts/CssLayoutRemoveComponent.html b/tests/src/com/vaadin/tests/layouts/CssLayoutRemoveComponent.html
new file mode 100644 (file)
index 0000000..0c4c3ad
--- /dev/null
@@ -0,0 +1,37 @@
+<?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>CssLayoutRemoveComponent</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">CssLayoutRemoveComponent</td></tr>
+</thead><tbody>
+<tr>
+       <td>open</td>
+       <td>/run/com.vaadin.tests.layouts.CssLayoutRemoveComponent?restartApplication</td>
+       <td></td>
+</tr>
+<tr>
+       <td>click</td>
+       <td>vaadin=runcomvaadintestslayoutsCssLayoutRemoveComponent::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VCssLayout[0]/VCssLayout$FlowPane[0]/VButton[0]/domChild[0]/domChild[0]</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyTextPresent</td>
+       <td>Caption2</td>
+       <td></td>
+</tr>
+<tr>
+       <td>verifyTextNotPresent</td>
+       <td>Caption1</td>
+       <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
index a12d80f54a58f6a68a86b36940b4e7c91575488a..4959e0cc3ea232394caa86a52f1dfdf306f053fb 100644 (file)
@@ -13,7 +13,7 @@ public class CssLayoutRemoveComponent extends TestBase {
     @Override\r
     protected void setup() {\r
         final CssLayout layout = new CssLayout();\r
-        final TextField tf = new TextField("Caption");\r
+        final TextField tf = new TextField("Caption1");\r
         Button b = new Button("Remove field ", new ClickListener() {\r
 \r
             public void buttonClick(ClickEvent event) {\r