Skip to content

Commit

Permalink
[bug 1275626] Temporarily skip homepage functional tests for prototyp…
Browse files Browse the repository at this point in the history
…e redesign
  • Loading branch information
alexgibson committed Jun 1, 2016
1 parent c2ffee7 commit 4ad4996
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/functional/test_home.py
Expand Up @@ -7,31 +7,36 @@
from pages.home import HomePage


@pytest.mark.skipif(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1275626')
@pytest.mark.smoke
@pytest.mark.nondestructive
def test_promo_grid_is_displayed(base_url, selenium):
page = HomePage(selenium, base_url).open()
assert page.is_promo_grid_displayed


@pytest.mark.skipif(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1275626')
@pytest.mark.nondestructive
def test_promos_are_present(base_url, selenium):
page = HomePage(selenium, base_url).open()
assert page.number_of_promos_present == 16


@pytest.mark.skipif(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1275626')
@pytest.mark.nondestructive
def test_tweet_is_present(base_url, selenium):
page = HomePage(selenium, base_url).open()
assert page.is_tweet_promo_present


@pytest.mark.skipif(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1275626')
@pytest.mark.nondestructive
def test_tweet_is_not_present(base_url, selenium):
page = HomePage(selenium, base_url, 'de').open()
assert not page.is_tweet_promo_present


@pytest.mark.skipif(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1275626')
@pytest.mark.sanity
@pytest.mark.smoke
@pytest.mark.nondestructive
Expand All @@ -40,6 +45,7 @@ def test_download_button_is_displayed(base_url, selenium):
assert page.download_button.is_displayed


@pytest.mark.skipif(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1275626')
@pytest.mark.nondestructive
def test_upcoming_events_are_displayed(base_url, selenium):
page = HomePage(selenium, base_url).open()
Expand Down
1 change: 1 addition & 0 deletions tests/functional/test_l10n.py
Expand Up @@ -9,6 +9,7 @@
from pages.home import HomePage


@pytest.mark.skipif(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1275626')
@pytest.mark.nondestructive
def test_change_language(base_url, selenium):
page = HomePage(selenium, base_url).open()
Expand Down
2 changes: 2 additions & 0 deletions tests/functional/test_navigation.py
Expand Up @@ -7,6 +7,7 @@
from pages.home import HomePage


@pytest.mark.skipif(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1275626')
@pytest.mark.nondestructive
def test_navigation(base_url, selenium):
page = HomePage(selenium, base_url).open()
Expand All @@ -22,6 +23,7 @@ def test_navigation(base_url, selenium):
assert firefox_page.seed_url in selenium.current_url


@pytest.mark.skipif(reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1275626')
@pytest.mark.smoke
@pytest.mark.nondestructive
@pytest.mark.viewport('mobile')
Expand Down

0 comments on commit 4ad4996

Please sign in to comment.