Exemplo n.º 1
0
 def test_login(self, browser):
     page = SignInPage(browser, link)
     page.open()
     page.enter_username()
     page.enter_password()
     page.click_sign_in_button()
     page.user_logged()
Exemplo n.º 2
0
 def test_login(self, browser):
     self.link = "https://test.banksend.com/admin/sign-in"
     page = SignInPage(browser, self.link)
     page.open()
     page.enter_username()
     page.enter_password()
     page.click_sign_in_button()
     page.user_logged()
Exemplo n.º 3
0
 def test_wrong_credential(self, browser):
     page = SignInPage(browser, link)
     page.open()
     page.enter_wrong_username()
     page.enter_wrong_password()
     page.click_sign_in_button()
     page.should_be_error_text()
     page.error_text_according_to_requirements()
Exemplo n.º 4
0
 def test_wrong_credential(self, browser):
     self.link = "https://test.banksend.com/admin/sign-in"
     page = SignInPage(browser, self.link)
     page.open()
     page.enter_wrong_username()
     page.enter_wrong_password()
     page.click_sign_in_button()
     page.should_be_error_text()
     page.error_text_according_to_requirements()