summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-08-03 10:35:51 +0000
committerLeif Åstrand <leif@vaadin.com>2012-08-03 10:35:51 +0000
commitbc5831f069f648fbf0d89a863b28d80dc4c2bf35 (patch)
treeac3edcde95d032014adc8804e2d324579bbf0215 /tests
parent9c5e234d7aae214772f2459c43cfc61e7851af11 (diff)
downloadvaadin-framework-bc5831f069f648fbf0d89a863b28d80dc4c2bf35.tar.gz
vaadin-framework-bc5831f069f648fbf0d89a863b28d80dc4c2bf35.zip
Make LoginForm work inside iframes (#8144)
Automatic test case included but not enabled because it does not currently work with IE6-8 svn changeset:24053/svn branch:6.8
Diffstat (limited to 'tests')
-rw-r--r--tests/testbench/com/vaadin/tests/components/loginform/LoginFormInIframe.html_disabled61
1 files changed, 61 insertions, 0 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/loginform/LoginFormInIframe.html_disabled b/tests/testbench/com/vaadin/tests/components/loginform/LoginFormInIframe.html_disabled
new file mode 100644
index 0000000000..075bb3c57f
--- /dev/null
+++ b/tests/testbench/com/vaadin/tests/components/loginform/LoginFormInIframe.html_disabled
@@ -0,0 +1,61 @@
+<?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>LoginFormTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">LoginFormTest</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/statictestfiles/LoginFormIframe.html</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>LoginForm</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>PID6</td>
+ <td></td>
+</tr>
+<tr>
+ <td>enterCharacter</td>
+ <td>username</td>
+ <td>username</td>
+</tr>
+<tr>
+ <td>enterCharacter</td>
+ <td>password</td>
+ <td>password</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//form[@id='loginf']/div[5]/div/span/span</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>LoginForm</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertText</td>
+ <td>vaadin=runcomvaadintestscomponentsloginformLoginFormTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VHorizontalLayout[0]/ChildComponentContainer[0]/VVerticalLayout[0]/ChildComponentContainer[0]/VLabel[0]</td>
+ <td>User 'username', password='password' logged in</td>
+</tr>
+</tbody></table>
+</body>
+</html>