예제 #1
0
 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)
예제 #2
0
 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)
예제 #3
0
 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)