Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Remove xfails for fixed bug 822543 #50

Merged
merged 1 commit into from
Dec 24, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,34 @@


class TestSearch:
@pytest.mark.xfail(reason="Bug 822543 - No search results on Mozillians dev")
# https://bugzilla.mozilla.org/show_bug.cgi?id=822543
@pytest.mark.nondestructive
def test_that_search_returns_results_for_city(self, mozwebqa):
home_page = Home(mozwebqa)
home_page.login()
search_page = home_page.header.search_for("Mountain View")
Assert.true(search_page.results_count > 0)

@pytest.mark.xfail(reason="Bug 822543 - No search results on Mozillians dev")
# https://bugzilla.mozilla.org/show_bug.cgi?id=822543
@pytest.mark.nondestructive
def test_that_search_returns_results_for_country(self, mozwebqa):
home_page = Home(mozwebqa)
home_page.login()
search_page = home_page.header.search_for("Romania")
Assert.true(search_page.results_count > 0)

@pytest.mark.xfail(reason="Bug 822543 - No search results on Mozillians dev")
# https://bugzilla.mozilla.org/show_bug.cgi?id=822543
@pytest.mark.nondestructive
def test_that_search_returns_results_for_email_substring(self, mozwebqa):
home_page = Home(mozwebqa)
home_page.login()
search_page = home_page.header.search_for("@mozilla.com")
Assert.true(search_page.results_count > 0)

@pytest.mark.xfail(reason="Bug 822543 - No search results on Mozillians dev")
# https://bugzilla.mozilla.org/show_bug.cgi?id=822543
@pytest.mark.nondestructive
def test_that_search_returns_results_for_first_name(self, mozwebqa):
home_page = Home(mozwebqa)
home_page.login()
search_page = home_page.header.search_for("Paul")
Assert.true(search_page.results_count > 0)

@pytest.mark.xfail(reason="Bug 822543 - No search results on Mozillians dev")
# https://bugzilla.mozilla.org/show_bug.cgi?id=822543
@pytest.mark.nondestructive
def test_that_search_returns_results_for_irc_nickname(self, mozwebqa):
home_page = Home(mozwebqa)
Expand All @@ -58,8 +48,6 @@ def test_that_search_returns_results_for_irc_nickname(self, mozwebqa):
profile = Profile(mozwebqa)
Assert.equal("Stephen Donner", profile.name)

@pytest.mark.xfail(reason="Bug 822543 - No search results on Mozillians dev")
# https://bugzilla.mozilla.org/show_bug.cgi?id=822543
@pytest.mark.nondestructive
def test_that_search_returns_results_for_region(self, mozwebqa):
home_page = Home(mozwebqa)
Expand Down