Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Remove xfails in test_search #83

Merged
merged 1 commit into from

2 participants

@teodosia
Collaborator

Bug 806438 was fixed.

@stephendonner

Thx; double-checked, and Jenkins is happy on dev/stage/prod.

@stephendonner stephendonner merged commit 04c91ec into mozilla:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 1, 2012
  1. @teodosia

    Remove xfails in test_search

    teodosia authored
    Bug 806438 was fixed.
This page is out of date. Refresh to see the latest.
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)
Something went wrong with that request. Please try again.