Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove xfails in test_search

Bug 806438 was fixed.
  • Loading branch information...
commit d3b4c81748ffc8cc1f34e9a386b910448ec4d7ef 1 parent 12d4691
Teodosia Pop teodosia authored

Showing 2 changed files with 0 additions and 9 deletions. Show diff stats Hide diff stats

  1. +0 7 tests/test_search.py
  2. +0 2  tests/test_view_source.py
7 tests/test_search.py
@@ -59,7 +59,6 @@ def test_search_by_library_name_returns_library(self, mozwebqa):
59 59
60 60 searchpage_obj.delete_test_data()
61 61
62   - @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
63 62 @pytest.mark.nondestructive
64 63 def test_search_partial_addon_name_returns_addon(self, mozwebqa):
65 64 homepage_obj = HomePage(mozwebqa)
@@ -81,7 +80,6 @@ def test_search_partial_addon_name_returns_addon(self, mozwebqa):
81 80 Assert.greater_equal(searchpage_obj.addons_element_count, 1)
82 81 Assert.true(searchpage_obj.addon(top_addon_name).is_displayed, 'Addon \'%s\' not found' % top_addon_name)
83 82
84   - @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
85 83 @pytest.mark.nondestructive
86 84 def test_search_partial_library_name_returns_library(self, mozwebqa):
87 85 homepage_obj = HomePage(mozwebqa)
@@ -103,7 +101,6 @@ def test_search_partial_library_name_returns_library(self, mozwebqa):
103 101 Assert.greater_equal(searchpage_obj.library_element_count, 1)
104 102 Assert.true(searchpage_obj.library(top_library_name).is_displayed, 'Library \'%s\' not found' % top_library_name)
105 103
106   - @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
107 104 @pytest.mark.nondestructive
108 105 def test_empty_search_returns_all_results(self, mozwebqa):
109 106 homepage_obj = HomePage(mozwebqa)
@@ -167,7 +164,6 @@ def test_search_library_filter_results_match(self, mozwebqa):
167 164
168 165 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.')
169 166
170   - @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
171 167 @pytest.mark.nondestructive
172 168 def test_clicking_addon_author_link_displays_author_profile(self, mozwebqa):
173 169 # go to addon result and click author link
@@ -183,7 +179,6 @@ def test_clicking_addon_author_link_displays_author_profile(self, mozwebqa):
183 179 searchpage_obj.addon(addon_name).click_author()
184 180 Assert.equal(userpage_obj.author_name.lower(), author_name)
185 181
186   - @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
187 182 @pytest.mark.nondestructive
188 183 def test_clicking_library_author_link_displays_author_profile(self, mozwebqa):
189 184
@@ -199,7 +194,6 @@ def test_clicking_library_author_link_displays_author_profile(self, mozwebqa):
199 194 searchpage_obj.library(library_name).click_author()
200 195 Assert.equal(userpage_obj.author_name.lower(), author_name)
201 196
202   - @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
203 197 def test_clicking_addon_source_displays_editor(self, mozwebqa):
204 198 homepage_obj = HomePage(mozwebqa)
205 199
@@ -216,7 +210,6 @@ def test_clicking_addon_source_displays_editor(self, mozwebqa):
216 210
217 211 searchpage_obj.delete_test_data()
218 212
219   - @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
220 213 @pytest.mark.nondestructive
221 214 def test_clicking_library_source_displays_editor(self, mozwebqa):
222 215 homepage_obj = HomePage(mozwebqa)
2  tests/test_view_source.py
@@ -10,7 +10,6 @@
10 10
11 11 class TestViewSource:
12 12
13   - @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
14 13 @pytest.mark.nondestructive
15 14 def test_view_source_addon(self, mozwebqa):
16 15 #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):
24 23 Assert.true(addoneditor_obj.tab(1).selected)
25 24 Assert.not_none(addoneditor_obj.tab(1).content)
26 25
27   - @pytest.mark.xfail(reason="Bug 806438 - [dev] 'No results were found for the term "".' on the base search page")
28 26 def test_view_source_library(self, mozwebqa):
29 27 #This test is to check viewing the source of a library while not logged in
30 28 homepage_obj = HomePage(mozwebqa)

0 comments on commit d3b4c81

Please sign in to comment.
Something went wrong with that request. Please try again.