Manybubbles has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/223166

Change subject: Cleanup test annotations
......................................................................

Cleanup test annotations

Change-Id: Ib01417a441f9d9e862b7eb0f10740252881cdc29
---
M tests/browser/features/more_like_this_options.feature
1 file changed, 2 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/66/223166/1

diff --git a/tests/browser/features/more_like_this_options.feature 
b/tests/browser/features/more_like_this_options.feature
index 1a9f345..fc1f618 100644
--- a/tests/browser/features/more_like_this_options.feature
+++ b/tests/browser/features/more_like_this_options.feature
@@ -1,9 +1,9 @@
-@clean @phantomjs
+@clean @phantomjs @setup_main
 Feature: More like this queries with custom settings
   Background:
       Given I am at a random page
 
-  @setup_main @setup_namespaces
+  @setup_namespaces
   Scenario: Searching for morelike:<page> with the title field and filtering 
with the word length
     When I set More Like This Options to title field, word length to 3 and I 
search for morelike:More Like Me 1
     Then More Like Me 2 is in the search results
@@ -14,7 +14,6 @@
       But More Like Me 1 is not in the search results
       And ChangeMe is not in the search results
 
-  @setup_main
   Scenario: Searching for morelike:<page> with the title field and filtering 
with the percent terms to match
     When I set More Like This Options to title field, percent terms to match 
to 0.7 and I search for morelike:More Like Me 1
     Then More Like Me 2 is in the search results
@@ -25,17 +24,14 @@
       But More Like Me 1 is not in the search results
       And ChangeMe is not in the search results
 
-  @setup_main
   Scenario: Searching for morelike:<page> with the title field and bad 
settings give no results
     When I set More Like This Options to bad settings and I search for 
morelike:More Like Me 1
     Then there are no search results
 
-  @setup_main
   Scenario: Searching for morelike:<page> with the title field and settings 
with poor precision
     When I set More Like This Options to title field, word length to 1 and I 
search for morelike:More Like Me 1
     Then ChangeMe is in the search results
 
-  @setup_main
   Scenario: Searching for morelike:<page> with the all field works even if 
cirrusMtlUseFields is set to yes
     When I set More Like This Options to all field, word length to 4 and I 
search for morelike:More Like Me 1
     Then More Like Me 2 is in the search results

-- 
To view, visit https://gerrit.wikimedia.org/r/223166
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib01417a441f9d9e862b7eb0f10740252881cdc29
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to