Browse files

Xfailed tests in test_search.py

https://bugzilla.mozilla.org/show_bug.cgi?id=806438
[dev] 'No results were found for the term "".' on the base search page
  • Loading branch information...
1 parent 70f70c4 commit f13adb953d6fd1904ef19d10f7b5149945f03086 @teodosia teodosia committed Oct 30, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 tests/test_search.py
View
7 tests/test_search.py
@@ -59,6 +59,7 @@ 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)
@@ -80,6 +81,7 @@ 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)
@@ -101,6 +103,7 @@ 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)
@@ -164,6 +167,7 @@ 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
@@ -179,6 +183,7 @@ 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):
@@ -194,6 +199,7 @@ 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)
@@ -210,6 +216,7 @@ 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)

0 comments on commit f13adb9

Please sign in to comment.