diff --git a/tests/test_webapp.py b/tests/test_webapp.py index c59e679..dd4c59d 100644 --- a/tests/test_webapp.py +++ b/tests/test_webapp.py @@ -6,7 +6,8 @@ def open_home(func): def wrapper(self, *args, **kwargs): self.set_window_size('640', '480') self.open("http://localhost:8000") - self.assert_text("Worst node", timeout=settings.EXTREME_TIMEOUT) + self.assert_element("#map path.leaflet-interactive", + timeout=settings.EXTREME_TIMEOUT) return wrapper @open_home