summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-11-23 11:21:31 +0200
committerLeif Åstrand <leif@vaadin.com>2012-11-23 11:21:31 +0200
commit7620e3ad01492521ddcc21ca92d6c5f1034bdb3a (patch)
tree3e66952848dabc32d2d4363005f1f2c4a465c9d8 /uitest
parent1647984d05c5c576c1fe343111c826f3b6c71bc3 (diff)
downloadvaadin-framework-7620e3ad01492521ddcc21ca92d6c5f1034bdb3a.tar.gz
vaadin-framework-7620e3ad01492521ddcc21ca92d6c5f1034bdb3a.zip
Set bootstrap error using innerHTML instead of document.write (#9735)
* Also remove the testbench hook so waitForVaadin can continue * Add automatic test Change-Id: I6a6e53f23af9746f33977dfdb3768870956943f2
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/ui/UIInitException.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/ui/UIInitException.html b/uitest/src/com/vaadin/tests/components/ui/UIInitException.html
new file mode 100644
index 0000000000..c2b1b33059
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/components/ui/UIInitException.html
@@ -0,0 +1,26 @@
+<?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>
+<tr>
+ <td>open</td>
+ <td>/run/com.vaadin.tests.components.ui.UIInitException?restartApplication</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertText</td>
+ <td>//html/body/div/pre</td>
+ <td>Catch me if you can</td>
+</tr>
+</tbody></table>
+</body>
+</html>