Navigate directly to login page
This commit is contained in:
parent
d401dccf02
commit
7c21f445b1
|
@ -6,7 +6,7 @@ def initialize_webdriver():
|
|||
return webdriver.Firefox()
|
||||
|
||||
def navigate_to_filegarden(browser):
|
||||
browser.get("https://filegarden.com")
|
||||
browser.get("https://filegarden.com/login")
|
||||
|
||||
def main():
|
||||
with initialize_webdriver() as browser:
|
||||
|
|
|
@ -16,7 +16,7 @@ class TestJardin(unittest.TestCase):
|
|||
def test_navigate_to_filegarden(self, mockFirefox):
|
||||
jardin.navigate_to_filegarden(mockFirefox)
|
||||
|
||||
mockFirefox.get.assert_called_once_with("https://filegarden.com")
|
||||
mockFirefox.get.assert_called_once_with("https://filegarden.com/login")
|
||||
|
||||
@patch("jardin.initialize_webdriver")
|
||||
@patch("jardin.navigate_to_filegarden")
|
||||
|
|
Loading…
Reference in New Issue