コード例 #1
0
 def test_selecting_type_of_standards_populates_document_list(self):
     standardsPg = BrowseByStandardsPageSS(self.driver, self.wait, "0")
     standardsPg.selectTypeOfStandardsByIndex(2)
     self.assertTrue(standardsPg.getNumberOfSelectableDocuments() > 0, "Document list not populated")
コード例 #2
0
 def test_search_from_a_different_page_than_home(self):
     standardsPg = BrowseByStandardsPageSS(self.driver, self.wait, "0")
     standardsPg.searchByKeyword("a")
     resultsPage = SearchResultsPageSS(self.driver, self.wait)
     self.assertTrue(resultsPage.getNumberOfSearchRestuls() > 0, "No search results displayed")