Esempio n. 1
0
 def test_empty_field_message(self, browser):
     page = SignInPage(browser, link)
     page.open()
     page.enter_username()
     page.enter_wrong_password()
     page.clear_password()
     page.should_be_message_for_empty_field_password()
Esempio n. 2
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()
Esempio n. 3
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()
Esempio n. 4
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()
Esempio n. 5
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()
Esempio n. 6
0
 def test_shoud_be_sign_in_page(self, browser):
     self.link = "https://test.banksend.com/admin/sign-in"
     page = SignInPage(browser, self.link)
     page.open()
     page.should_be_sign_in_page()
Esempio n. 7
0
 def test_should_be_sign_in_page(self, browser):
     page = SignInPage(browser, link)
     page.open()
     page.should_be_sign_in_page()
Esempio n. 8
0
 def test_title_of_sign_in_page(self, browser):
     page = SignInPage(browser, link)
     page.open()
     page.title_of_sign_in_page()