From 8e31001c27f47f1bead4f13c4be07615df29993e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Wed, 24 Oct 2012 09:44:31 +0300 Subject: [PATCH] Test without https and cross domain window.location access (#9859) Change-Id: I1fcbaa9dcde2cf16b162e21e8fbf519a114bd261 --- .../com/vaadin/tests/applicationcontext/CloseSession.html | 6 +++--- .../com/vaadin/tests/applicationcontext/CloseSession.java | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html b/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html index f5313c7bec..93f102097a 100644 --- a/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html +++ b/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.html @@ -60,9 +60,9 @@ - assertLocation - https://www.google.*/ - https://www.google.*/ + assertText + //h1 + Index of /download/nightly diff --git a/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java b/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java index 0278190084..6f1c05b9c8 100644 --- a/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java +++ b/uitest/src/com/vaadin/tests/applicationcontext/CloseSession.java @@ -62,7 +62,8 @@ public class CloseSession extends AbstractTestUI { new Button.ClickListener() { @Override public void buttonClick(ClickEvent event) { - getPage().setLocation("https://www.google.com"); + getPage().setLocation( + "http://vaadin.com/download/nightly/"); getSession().close(); } })); -- 2.39.5