Browse files

Remove xfails in test_search

Bug 806438 was fixed.
  • Loading branch information...
1 parent 12d4691 commit d3b4c81748ffc8cc1f34e9a386b910448ec4d7ef @teodosia teodosia committed Nov 1, 2012
Showing with 0 additions and 9 deletions.
  1. +0 −7 tests/test_search.py
  2. +0 −2 tests/test_view_source.py
View
7 tests/test_search.py
@@ -59,7 +59,6 @@ def test_search_by_library_name_returns_library(self, mozwebqa):
searchpage_obj.delete_test_data()
- @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
@pytest.mark.nondestructive
def test_search_partial_addon_name_returns_addon(self, mozwebqa):
homepage_obj = HomePage(mozwebqa)
@@ -81,7 +80,6 @@ def test_search_partial_addon_name_returns_addon(self, mozwebqa):
Assert.greater_equal(searchpage_obj.addons_element_count, 1)
Assert.true(searchpage_obj.addon(top_addon_name).is_displayed, 'Addon \'%s\' not found' % top_addon_name)
- @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
@pytest.mark.nondestructive
def test_search_partial_library_name_returns_library(self, mozwebqa):
homepage_obj = HomePage(mozwebqa)
@@ -103,7 +101,6 @@ def test_search_partial_library_name_returns_library(self, mozwebqa):
Assert.greater_equal(searchpage_obj.library_element_count, 1)
Assert.true(searchpage_obj.library(top_library_name).is_displayed, 'Library \'%s\' not found' % top_library_name)
- @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
@pytest.mark.nondestructive
def test_empty_search_returns_all_results(self, mozwebqa):
homepage_obj = HomePage(mozwebqa)
@@ -167,7 +164,6 @@ def test_search_library_filter_results_match(self, mozwebqa):
Assert.equal(label_count, element_count, 'Number of items displayed should match 20 or total number of results, whichever is smallest. This is due to pagination.')
- @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
@pytest.mark.nondestructive
def test_clicking_addon_author_link_displays_author_profile(self, mozwebqa):
# go to addon result and click author link
@@ -183,7 +179,6 @@ def test_clicking_addon_author_link_displays_author_profile(self, mozwebqa):
searchpage_obj.addon(addon_name).click_author()
Assert.equal(userpage_obj.author_name.lower(), author_name)
- @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
@pytest.mark.nondestructive
def test_clicking_library_author_link_displays_author_profile(self, mozwebqa):
@@ -199,7 +194,6 @@ def test_clicking_library_author_link_displays_author_profile(self, mozwebqa):
searchpage_obj.library(library_name).click_author()
Assert.equal(userpage_obj.author_name.lower(), author_name)
- @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
def test_clicking_addon_source_displays_editor(self, mozwebqa):
homepage_obj = HomePage(mozwebqa)
@@ -216,7 +210,6 @@ def test_clicking_addon_source_displays_editor(self, mozwebqa):
searchpage_obj.delete_test_data()
- @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
@pytest.mark.nondestructive
def test_clicking_library_source_displays_editor(self, mozwebqa):
homepage_obj = HomePage(mozwebqa)
View
2 tests/test_view_source.py
@@ -10,7 +10,6 @@
class TestViewSource:
- @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
@pytest.mark.nondestructive
def test_view_source_addon(self, mozwebqa):
#This test is to check viewing the source of an addon while not logged in
@@ -24,7 +23,6 @@ def test_view_source_addon(self, mozwebqa):
Assert.true(addoneditor_obj.tab(1).selected)
Assert.not_none(addoneditor_obj.tab(1).content)
- @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
def test_view_source_library(self, mozwebqa):
#This test is to check viewing the source of a library while not logged in
homepage_obj = HomePage(mozwebqa)

0 comments on commit d3b4c81

Please sign in to comment.