Example #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()
Example #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()
Example #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()
Example #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()
Example #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()
Example #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()
Example #7
0
 def test_should_be_sign_in_page(self, browser):
     page = SignInPage(browser, link)
     page.open()
     page.should_be_sign_in_page()
Example #8
0
 def test_title_of_sign_in_page(self, browser):
     page = SignInPage(browser, link)
     page.open()
     page.title_of_sign_in_page()