def navigate_to_admin_login(self): url = self.live_server_url + reverse("admin_login") self.selenium.get(url) return AdminLoginPage(self.selenium, self.live_server_url)
def navigate_to_admin_map(self): url = self.live_server_url + reverse("map") self.selenium.get(url) # gets redirected to login page when not logged in return AdminLoginPage(self.selenium, self.live_server_url)
def navigate_to_admin_data(self): url = (self.live_server_url + reverse('aggregated_data')) selenium.get(url) # gets redirected to login page when not logged in return AdminLoginPage(selenium, self.live_server_url)