Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #80 from teodosia/xfail-search

Xfailed tests in test_search.py
  • Loading branch information...
commit 0a10cbdd60c916821f29c1bcbfdca302eabd465b 2 parents 70f70c4 + 2b3b53a
@AlinT AlinT authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 tests/test_search.py
View
9 tests/test_search.py
@@ -36,7 +36,7 @@ def test_search_by_addon_name_returns_addon(self, mozwebqa):
searchpage_obj.delete_test_data()
- @pytest.mark.xfail(reason = "Bug 794432 - [dev]Searching for a library just created does not return the library when searching for it")
+ @pytest.mark.xfail(reason="Bug 794432 - [dev]Searching for a library just created does not return the library when searching for it")
def test_search_by_library_name_returns_library(self, mozwebqa):
homepage_obj = HomePage(mozwebqa)
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.