Example #1
0
        self.assert_page_contains_text_items(
            ["About", "Dutch Water sector", "an overview", "Learn more about"])
        self.assert_links_exist([
            "The public sector",
            "Knowledge institutes - research and academia",
            "Non-governmental organisations (NGOs)", "Private companies"
        ])

    def test_04_about_listing_panel_has_expected_links(self):
        """web.content.AboutPageContentTest  4. About listing panel has expected links"""

        self.assert_links_exist_starting_with_text([
            "Dutch Water sector", "Public sector", "Knowledge institutes",
            "NGOs", "Private companies", "Contact us"
        ])

    def test_05_dutch_water_history_panel_has_expected_content_and_links(self):
        """web.content.AboutPageContentTest  5. Dutch water history panel has expected content and links"""

        self.content_verifier.verify_dutch_water_history_panel()


def suite():
    return load_tests_from(AboutPageContentTest)


if __name__ == "__main__":
    run_test_suite(suite())
    SeleniumClient().stop()
Example #2
0
 def setup_class(cls):
     cls.selenium = SeleniumClient().instance()