Skip to content

Commit

Permalink
Maximize browser for all Selenium login tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sunetfreitag committed Dec 8, 2023
1 parent 40f8e3e commit 7cfcc85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test_login_selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def test_gss_login(self):
self.logger.error(f'Error initializing Chrome driver')
self.assertTrue(False)
# driver2 = webdriver.Firefox()
driver.maximize_window()
driver.get(loginurl)

wait = WebDriverWait(driver, delay)
Expand Down Expand Up @@ -198,6 +199,7 @@ def test_saml_eduid_nomfa(self):
self.logger.error(f'Error initializing Chrome driver')
self.assertTrue(False)
# driver2 = webdriver.Firefox()
driver.maximize_window()
driver.get(loginurl)

wait = WebDriverWait(driver, delay)
Expand Down Expand Up @@ -266,6 +268,7 @@ def test_saml_su_nomfa(self):
self.logger.error(f'Error initializing Chrome driver')
self.assertTrue(False)
# driver2 = webdriver.Firefox()
driver.maximize_window()
driver.get(loginurl)

wait = WebDriverWait(driver, delay)
Expand Down

0 comments on commit 7cfcc85

Please sign in to comment.