Skip to content

Commit

Permalink
Look for results on the map
Browse files Browse the repository at this point in the history
  • Loading branch information
frafra committed Oct 14, 2019
1 parent aca5bee commit c691ecb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c691ecb

Please sign in to comment.