EBernhardson has uploaded a new change for review.

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

Change subject: Fix scneario to match changed step definition
......................................................................

Fix scneario to match changed step definition

In a previous patch i changed this phrase to take the api key, as
opposed to the word text.  They now fail due to that, so update them
to say 'snippet' as they should.

Change-Id: I221f12ebc16bfa5bf6d68cff3fff02c3be2d801a
---
M tests/browser/features/intitle_api.feature
M tests/browser/features/phrase_prefix_api.feature
2 files changed, 2 insertions(+), 2 deletions(-)


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

diff --git a/tests/browser/features/intitle_api.feature 
b/tests/browser/features/intitle_api.feature
index ac13212..4fee236 100644
--- a/tests/browser/features/intitle_api.feature
+++ b/tests/browser/features/intitle_api.feature
@@ -34,7 +34,7 @@
   Scenario: -intitle: doesn't highlight excluded title
     When I api search for -intitle:catapult two words
     Then Two Words is the first api search result
-      And ffnonesenseword catapult pickles anotherword is the highlighted text 
of the first api search result
+      And ffnonesenseword catapult pickles anotherword is the highlighted 
snippet of the first api search result
   
   Scenario: intitle: will accept a space after its :
     When I api search for intitle: catapult
diff --git a/tests/browser/features/phrase_prefix_api.feature 
b/tests/browser/features/phrase_prefix_api.feature
index 450a623..9b58b2c 100644
--- a/tests/browser/features/phrase_prefix_api.feature
+++ b/tests/browser/features/phrase_prefix_api.feature
@@ -3,4 +3,4 @@
   Scenario: Simple quoted prefix phrases get results
     When I api search for functional p*
     Then Functional programming is the first api search result
-      And *Functional* *programming* is referential transparency. is the 
highlighted text of the first api search result
+      And *Functional* *programming* is referential transparency. is the 
highlighted snippet of the first api search result

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

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

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

Reply via email to