How to use the regions.sidebar.sidebar.updatescanner_website_item.click function in regions

To help you get started, we’ve selected a few regions examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sneakypete81 / updatescanner / test / functional / test_sidebar.py View on Github external
def test_clicking_an_item_opens_it(self):
        sidebar.updatescanner_website_item.click()

        assert_that(
            content.updatescanner_website_page, is_(eventually_visible()))
github sneakypete81 / updatescanner / test / functional / test_popup.py View on Github external
def add_test_website(firefox):
    sidebar.updatescanner_website_item.click()
    assert_that(content.updatescanner_website_page, is_(eventually_visible()))
    debug.navigate_from_current(firefox)
    debug.add_page.click()
github sneakypete81 / updatescanner / test / functional / test_page_view.py View on Github external
def test_page_settings_can_adjust_parameters(self):
        sidebar.updatescanner_website_item.click()
        page_view.settings_button.click()
        page_view.page_settings_menu_item.click()

        page_settings.autoscan_often.click()
        left_ten_times()
        page_settings.change_threshold_low.click()
        left_ten_times()

        page_settings.ok_button.click()

        page_view.settings_button.click()
        page_view.debug_info_menu_item.click()

        assert_that(debug_info.title, is_(eventually_visible()))
        assert_that(debug_info.scan_rate_minutes_5, is_(visible()))
        assert_that(debug_info.change_threshold_0, is_(visible()))
github sneakypete81 / updatescanner / test / functional / test_page_view.py View on Github external
def test_page_settings_can_be_opened(self):
        sidebar.updatescanner_website_item.click()
        page_view.settings_button.click()
        page_view.page_settings_menu_item.click()

        assert_that(page_settings.updatescanner_website, is_(eventually_visible()))
github sneakypete81 / updatescanner / test / functional / test_page_view.py View on Github external
def test_clicking_title_loads_source_website(self, firefox):
        sidebar.updatescanner_website_item.click()
        page_view.updatescanner_title.click()

        wait_until(
            firefox.get_current_url,
            equals="https://sneakypete81.github.io/updatescanner/",
            timeout_seconds=30,
        )
github sneakypete81 / updatescanner / test / functional / test_page_view.py View on Github external
def test_debug_info_can_be_opened(self):
        sidebar.updatescanner_website_item.click()
        page_view.settings_button.click()
        page_view.debug_info_menu_item.click()

        assert_that(debug_info.title, is_(eventually_visible()))
github sneakypete81 / updatescanner / test / functional / test_page_view.py View on Github external
def test_links_work_in_pages(self):
        sidebar.updatescanner_website_item.click()
        content.updatescanner_website_install_link.click()

        assert_that(content.amo_website_page, is_(eventually_visible()))