Navigation Menu

Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Remove xfails in test_search
Browse files Browse the repository at this point in the history
Bug 806438 was fixed.
  • Loading branch information
teodosia committed Nov 1, 2012
1 parent 12d4691 commit d3b4c81
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions tests/test_search.py
Expand Up @@ -59,7 +59,6 @@ def test_search_by_library_name_returns_library(self, mozwebqa):


searchpage_obj.delete_test_data() 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 @pytest.mark.nondestructive
def test_search_partial_addon_name_returns_addon(self, mozwebqa): def test_search_partial_addon_name_returns_addon(self, mozwebqa):
homepage_obj = HomePage(mozwebqa) homepage_obj = HomePage(mozwebqa)
Expand All @@ -81,7 +80,6 @@ def test_search_partial_addon_name_returns_addon(self, mozwebqa):
Assert.greater_equal(searchpage_obj.addons_element_count, 1) 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) 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 @pytest.mark.nondestructive
def test_search_partial_library_name_returns_library(self, mozwebqa): def test_search_partial_library_name_returns_library(self, mozwebqa):
homepage_obj = HomePage(mozwebqa) homepage_obj = HomePage(mozwebqa)
Expand All @@ -103,7 +101,6 @@ def test_search_partial_library_name_returns_library(self, mozwebqa):
Assert.greater_equal(searchpage_obj.library_element_count, 1) 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) 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 @pytest.mark.nondestructive
def test_empty_search_returns_all_results(self, mozwebqa): def test_empty_search_returns_all_results(self, mozwebqa):
homepage_obj = HomePage(mozwebqa) homepage_obj = HomePage(mozwebqa)
Expand Down Expand Up @@ -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.') 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 @pytest.mark.nondestructive
def test_clicking_addon_author_link_displays_author_profile(self, mozwebqa): def test_clicking_addon_author_link_displays_author_profile(self, mozwebqa):
# go to addon result and click author link # go to addon result and click author link
Expand All @@ -183,7 +179,6 @@ def test_clicking_addon_author_link_displays_author_profile(self, mozwebqa):
searchpage_obj.addon(addon_name).click_author() searchpage_obj.addon(addon_name).click_author()
Assert.equal(userpage_obj.author_name.lower(), author_name) 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 @pytest.mark.nondestructive
def test_clicking_library_author_link_displays_author_profile(self, mozwebqa): def test_clicking_library_author_link_displays_author_profile(self, mozwebqa):


Expand All @@ -199,7 +194,6 @@ def test_clicking_library_author_link_displays_author_profile(self, mozwebqa):
searchpage_obj.library(library_name).click_author() searchpage_obj.library(library_name).click_author()
Assert.equal(userpage_obj.author_name.lower(), author_name) 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): def test_clicking_addon_source_displays_editor(self, mozwebqa):
homepage_obj = HomePage(mozwebqa) homepage_obj = HomePage(mozwebqa)


Expand All @@ -216,7 +210,6 @@ def test_clicking_addon_source_displays_editor(self, mozwebqa):


searchpage_obj.delete_test_data() 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 @pytest.mark.nondestructive
def test_clicking_library_source_displays_editor(self, mozwebqa): def test_clicking_library_source_displays_editor(self, mozwebqa):
homepage_obj = HomePage(mozwebqa) homepage_obj = HomePage(mozwebqa)
Expand Down
2 changes: 0 additions & 2 deletions tests/test_view_source.py
Expand Up @@ -10,7 +10,6 @@


class TestViewSource: class TestViewSource:


@pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
@pytest.mark.nondestructive @pytest.mark.nondestructive
def test_view_source_addon(self, mozwebqa): def test_view_source_addon(self, mozwebqa):
#This test is to check viewing the source of an addon while not logged in #This test is to check viewing the source of an addon while not logged in
Expand All @@ -24,7 +23,6 @@ def test_view_source_addon(self, mozwebqa):
Assert.true(addoneditor_obj.tab(1).selected) Assert.true(addoneditor_obj.tab(1).selected)
Assert.not_none(addoneditor_obj.tab(1).content) 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): def test_view_source_library(self, mozwebqa):
#This test is to check viewing the source of a library while not logged in #This test is to check viewing the source of a library while not logged in
homepage_obj = HomePage(mozwebqa) homepage_obj = HomePage(mozwebqa)
Expand Down

0 comments on commit d3b4c81

Please sign in to comment.