Exemple #1
0
 def test_trunner_click_in_run_page(self, browser, login, logout):
     """Test after 'TRunner' button click in 'Run' page - 'Suites' page opened"""
     self.open_run_test_page_for_1st_test(browser)
     run_test_page = RunTestPage(browser)
     run_test_page.trunner_lnk_click()
     run_test_page.handling_alert()
     run_test_page.wait_new_page_load()
     suites_page = SuitesPage(browser)
     page_title = suites_page.get_title()
     assert page_title == 'Suites Info', "Should be 'Suites Info' for suites page'"
Exemple #2
0
 def test_sign_in_click_with_login_fixture(self, browser, login, logout):
     """Test if click "SIGN IN" that 'Suites Info' page opens """
     suites_page = SuitesPage(browser)
     suites_page.wait_new_page_load()
     assert suites_page.get_title(
     ) == 'Suites Info', "Should open Test Suites page"