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