Change-Id: I168b278d8320b3e7f0346167b7b2dc99bbb136fa
--- /dev/null
+<html>
+<head>
+<title>This is a static file</title>
+</head>
+<body>
+<h1>This is a static file</h1>
+</body>
+</html>
\ No newline at end of file
<tr>
<td>assertText</td>
<td>//h1</td>
- <td>Index of /download/nightly</td>
+ <td>This is a static file</td>
</tr>
<!--Open again and verify we get a Session Expired error if doing something after closing the session-->
<tr>
new Button.ClickListener() {
@Override
public void buttonClick(ClickEvent event) {
- getPage().setLocation(
- "http://vaadin.com/download/nightly/");
+ // Assuming Vaadin is deployed to the root context
+ getPage().setLocation("/statictestfiles/static.html");
getSession().close();
}
}));