Jdouglas has uploaded a new change for review.
https://gerrit.wikimedia.org/r/198105
Change subject: Bring some outdated tests up to date
......................................................................
Bring some outdated tests up to date
This fixes the two failing intitle.feature tests, which were failing
in the following ways:
Searching for -intitle:catapult returns highlighted reults marked
up with Wikitext.
Searching for intitle:catapul* returns the Catapult article,
but not necessarily as the first result.
Change-Id: Ie5e648547993f89429c145d06dd09e2de1dfaff8
---
M tests/browser/features/intitle.feature
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch
refs/changes/05/198105/1
diff --git a/tests/browser/features/intitle.feature
b/tests/browser/features/intitle.feature
index 8d013c8..c53f5e9 100644
--- a/tests/browser/features/intitle.feature
+++ b/tests/browser/features/intitle.feature
@@ -24,12 +24,12 @@
Scenario: -intitle: doesn't highlight excluded title
When I search for -intitle:catapult two words
Then Two Words is the first search result
- And ffnonesenseword catapult pickles anotherword is the highlighted text
of the first search result
+ And ffnonesenseword *catapult* {{Template_Test}} anotherword
[[Category:TwoWords]] [[Category:Categorywith Twowords]]
[[Category:Categorywith " Quote]] is the highlighted text of the first search
result
@wildcards
Scenario: intitle: can take a wildcard
When I search for intitle:catapul*
- Then Catapult is the first search result
+ Then Catapult is in the search results
@wildcards @setup_main
Scenario: intitle: can take a wildcard and combine it with a regular wildcard
--
To view, visit https://gerrit.wikimedia.org/r/198105
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie5e648547993f89429c145d06dd09e2de1dfaff8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Jdouglas <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits