Example #1
0
 def test_open_unclassified_failure_log(self, base_url, selenium):
     # Open the job log and verify there is content
     resultset_page = ResultsetPage(base_url, selenium).open()
     assert resultset_page.unclassified_failure_count > 0
     resultset_page.open_next_unclassified_failure()
     logviewer_page = resultset_page.open_logviewer()
     assert logviewer_page.is_job_status_visible
Example #2
0
    def test_unclassified_failure(self, base_url, selenium):
        # Open resultset page and search for next unclassified failure
        resultset_page = ResultsetPage(base_url, selenium).open()
        assert resultset_page.unclassified_failure_count > 0

        resultset_page.open_next_unclassified_failure()
        teststatus = resultset_page.job_result_status
        assert teststatus in ['busted', 'testfailed', 'exception']