Example #1
0
def test_primary_download_button_ios_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug='ios/25.0').open()
    assert page.is_primary_app_store_button_displayed
Example #2
0
def test_secondary_download_button_beta_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug='77.0beta').open()
    assert page.secondary_download_button_beta.is_displayed
Example #3
0
def test_primary_download_button_android_beta_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url,
                                   slug='android/68.7beta').open()
    assert page.primary_download_button_android_beta.is_displayed
Example #4
0
def test_primary_download_button_android_nightly_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url,
                                   slug='android/54.0a2').open()
    assert page.primary_download_button_android_nightly.is_displayed
Example #5
0
def test_primary_download_button_esr_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug='78.0a1').open()
    assert page.primary_download_button_nightly.is_displayed
Example #6
0
def test_primary_download_button_android_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url,
                                   slug='android/68.8.0').open()
    assert page.is_primary_play_store_button_displayed
Example #7
0
def test_open_pre_releases_menu(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug='75.0').open()
    page.open_pre_releases_menu()
    assert page.is_pre_releases_menu_displayed
Example #8
0
def test_primary_download_button_dev_edition_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug='54.0a2').open()
    assert page.primary_download_button_dev_edition.is_displayed
Example #9
0
def test_primary_download_button_release_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug='75.0').open()
    assert page.primary_download_button_release.is_displayed
Example #10
0
def test_secondary_download_button_esr_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug='68.8.0').open()
    assert page.secondary_download_button_esr.is_displayed
Example #11
0
def test_secondary_download_button_aurora_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug='34.0a2').open()
    assert page.secondary_download_button_aurora.is_displayed
Example #12
0
def test_secondary_download_button_release_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug="75.0").open()
    assert page.secondary_download_button_release.is_displayed
Example #13
0
def test_primary_download_button_aurora_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug="34.0a2").open()
    assert page.primary_download_button_aurora.is_displayed
Example #14
0
def test_primary_download_button_beta_displayed(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug="77.0beta").open()
    assert page.primary_download_button_beta.is_displayed
Example #15
0
def test_sticky_promo(base_url, selenium):
    page = FirefoxReleaseNotesPage(selenium, base_url, slug='84.0').open()
    assert page.promo.is_displayed
    page.promo.close()
    assert not page.promo.is_displayed