Zfilipin has uploaded a new change for review.
https://gerrit.wikimedia.org/r/61375
Change subject: Refactor unimplemented search tests so they are ready for
implementation
......................................................................
Refactor unimplemented search tests so they are ready for implementation
Bug: 47829
Change-Id: I9847fbbea9b5617ae6eaf5360d7c93e5a311f5e0
---
M features/backlog/search.feature
1 file changed, 10 insertions(+), 10 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests
refs/changes/75/61375/1
diff --git a/features/backlog/search.feature b/features/backlog/search.feature
index 465ef06..62ac644 100644
--- a/features/backlog/search.feature
+++ b/features/backlog/search.feature
@@ -1,15 +1,15 @@
Feature: Search
- Scenario: Search without accent yields optimal accent result as top choice
but shows redlink for search term. THIS TEST EMULATES CURRENT FUNCTION.
- Given that I am on the Portuguese Wikivoyage Main page pt.wikivoyage.org
- When I search for "Africa"
- Then I should be on the Search Results page
- And the page entitled "África" should be the top result
+ Scenario: Search without accent yields optimal accent result as top choice
but shows redlink for search term
+ Given I am at random page
+ When I search for Africa
+ Then Search Results page should open
+ And the page entitled África should be the top result
And the results page should show Africa as a red link
Scenario: Find tokens in the captions of uploaded files
- Given I am on http://commons.wikimedia.beta.wmflabs.org/
- And http://commons.wikimedia.beta.wmflabs.org/wiki/File:Presentation.pdf
exists
- And http://commons.wikimedia.beta.wmflabs.org/wiki/File:Presentation.pdf
has the caption "This is a presentation about snails that User:GreenSpark gave
on 6 December 2010 in Athens."
- When I search for: snails
- Then Presentation.pdf should be a result
+ Given that a file exists
+ And that it has a caption
+ When I search for it's caption
+ Then Search Results page should open
+ And the file should be included in the search results
--
To view, visit https://gerrit.wikimedia.org/r/61375
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9847fbbea9b5617ae6eaf5360d7c93e5a311f5e0
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits