From 4159d1b1e867bb22e4dd57aa602b2df87d901e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Sat, 26 Jan 2008 13:36:35 +0000 Subject: [PATCH] add a manual test showing how OpenLayers should behave with respect to when it should load tiles and when it shouldn't. As reported in #937 OpenLayers doesn't behave properly today, it breaks Test 1 and Test 3 of this manual test. git-svn-id: http://svn.openlayers.org/trunk/openlayers@5901 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/manual/tiles-loading.html | 122 ++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 tests/manual/tiles-loading.html diff --git a/tests/manual/tiles-loading.html b/tests/manual/tiles-loading.html new file mode 100644 index 0000000000..52cdaf9db4 --- /dev/null +++ b/tests/manual/tiles-loading.html @@ -0,0 +1,122 @@ + + + Tiles Loading Acceptance Test + + + + + + + +
+

+ + Test 0 : at the initial zoom the WMS layer is in range, you should + therefore see the 'Loading tiles...' message when loading the page for + the first time. + +

+

+ + Test 1 : If you zoom out by one level (using the zoombar), the WMS + layer becomes out of range. No tile should be loaded so you shouldn't see + the 'Loading tiles...' message. + +

+

+ + Test 2 : Zoom in by one level to go back to initial state (the WMS + is back). Open the layer switcher and turn off the WMS layer. No tile + should be loaded so you shouldn't see the 'Loading tiles...' message. + +

+

+ + Test 3 : Keep the WMS layer turned off in the layer switcher. Zoom + out by one level again. The layer is both invisible and out of range, so + you shouldn't see the 'Loading tiles...' message. + +

+

WMS Layer state - in range: true, visibility: true

+

Message:

+ +