From 2c71479818e6a75cd75dc9d86debc6cf6b9997db Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 26 Oct 2012 10:11:22 +0300 Subject: Update test to avoid doing cross domain loading Change-Id: I168b278d8320b3e7f0346167b7b2dc99bbb136fa --- uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html | 2 +- uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'uitest') 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 @@ assertText //h1 - Index of /download/nightly + This is a static file 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(); } })); -- cgit v1.2.3