summaryrefslogtreecommitdiffstats
path: root/uitest/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-10-26 07:18:12 +0000
committerVaadin Code Review <review@vaadin.com>2012-10-26 07:18:12 +0000
commitcad1e360cf243d5476fd0f7601f8745835b99484 (patch)
tree63adef6d6207f44f42bad794db40bf7719329be0 /uitest/src/com
parent0965cfdef02a76097a7777091f310a0e022c6ff3 (diff)
parent2c71479818e6a75cd75dc9d86debc6cf6b9997db (diff)
downloadvaadin-framework-cad1e360cf243d5476fd0f7601f8745835b99484.tar.gz
vaadin-framework-cad1e360cf243d5476fd0f7601f8745835b99484.zip
Merge "Update test to avoid doing cross domain loading"
Diffstat (limited to 'uitest/src/com')
-rw-r--r--uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html2
-rw-r--r--uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html b/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html
index 93f102097a..99cfededb1 100644
--- a/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html
+++ b/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html
@@ -62,7 +62,7 @@
<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>
diff --git a/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java b/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java
index 6f1c05b9c8..bff8af8d37 100644
--- a/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java
+++ b/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java
@@ -62,8 +62,8 @@ public class CloseSession extends AbstractTestUI {
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();
}
}));