def test_login self account LTA self driver maximize_window GeneralPag

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
def test_login(self):
account = 'LTA'
self.driver.maximize_window()
GeneralPage.open_client(self, account)
MainAuthPage.input_user_data(self, account)
MainAuthPage.login_click(self)
if MainAuthPage.if_multirole(self):
MainAuthPage.login_click(self)
page = BasePage.BasePage(self.driver)
assert page.open_catalog(self, account)