jenkins-bot has submitted this change and it was merged.

Change subject: Moved tests to CirrusSearch repository
......................................................................


Moved tests to CirrusSearch repository

See also the commit[1] in CirrusSearch repository that moves the tests
there and the
commit[2] in mediawiki/selenium repository that documents changes in
Jenkins jobs.

1: https://gerrit.wikimedia.org/r/#/c/113131/
2: https://gerrit.wikimedia.org/r/#/c/113138/

Bug: 61311
Change-Id: I5378b1d60fa26a9d15565970464ed1f4f56b7055
---
D tests/browser/features/search.feature
D tests/browser/features/step_definitions/search_steps.rb
D tests/browser/features/support/pages/search_page.rb
D tests/browser/features/support/pages/search_results_page.rb
4 files changed, 0 insertions(+), 109 deletions(-)

Approvals:
  Manybubbles: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/browser/features/search.feature 
b/tests/browser/features/search.feature
deleted file mode 100644
index d609ac7..0000000
--- a/tests/browser/features/search.feature
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# This file is subject to the license terms in the LICENSE file found in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
-# qa-browsertests, including this file, may be copied, modified, propagated, or
-# distributed except according to the terms contained in the LICENSE file.
-#
-# Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
-#
-@en.wikipedia.beta.wmflabs.org @test2.wikipedia.org
-Feature: Search
-
-  Scenario: Search suggestions
-    Given I am at random page
-    When I search for: main
-    Then a list of suggested pages should appear
-      And Main Page should be the first result
-
-  Scenario: Fill in search term and click search
-    Given I am at random page
-    When I search for: ma
-      And I click the Search button
-    Then I should land on Search Results page
-
-  Scenario:  Search with accent yields result page with accent
-    Given I am at random page
-    When I search for África
-    Then the page I arrive on has title África
diff --git a/tests/browser/features/step_definitions/search_steps.rb 
b/tests/browser/features/step_definitions/search_steps.rb
deleted file mode 100644
index 6b50337..0000000
--- a/tests/browser/features/step_definitions/search_steps.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# This file is subject to the license terms in the LICENSE file found in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
-# qa-browsertests, including this file, may be copied, modified, propagated, or
-# distributed except according to the terms contained in the LICENSE file.
-#
-# Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
-#
-Given(/^I am at random page$/) do
-  visit RandomPage
-end
-
-When(/^I click the Search button$/) do
-  on(SearchPage).search_button
-end
-When(/^I search for: (.+)$/) do |search_term|
-  on(SearchPage).search_input_element.when_present.send_keys(search_term)
-end
-
-Then(/^a list of suggested pages should appear$/) do
-  on(SearchPage).search_results_element.when_present.should exist
-end
-Then(/^I should land on Search Results page$/) do
-  on(SearchResultsPage).search_element.when_present
-  @browser.url.should match Regexp.escape("&title=Special%3ASearch")
-end
-Then(/^(.+) should be the first result$/) do |page_name|
-  on(SearchPage).one_result.should == page_name
-end
-
-When(/^I search for (.+)$/) do |text|
-  on(RandomPage) do |page|
-    page.search_input_element.when_present.send_keys(text)
-    page.search_button
-  end
-end
-
-Then(/^the page I arrive on has title (.+)$/) do |title|
- @browser.title.should match Regexp.escape(title)
-end
diff --git a/tests/browser/features/support/pages/search_page.rb 
b/tests/browser/features/support/pages/search_page.rb
deleted file mode 100644
index 22ac463..0000000
--- a/tests/browser/features/support/pages/search_page.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# This file is subject to the license terms in the LICENSE file found in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
-# qa-browsertests, including this file, may be copied, modified, propagated, or
-# distributed except according to the terms contained in the LICENSE file.
-#
-# Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
-#
-class SearchPage
-  include PageObject
-
-  div(:one_result, class: "suggestions-result")
-  button(:search_button, id: "searchButton")
-  text_field(:search_input, id: "searchInput")
-  div(:search_results, class: "suggestions-results")
-end
diff --git a/tests/browser/features/support/pages/search_results_page.rb 
b/tests/browser/features/support/pages/search_results_page.rb
deleted file mode 100644
index fbc8e04..0000000
--- a/tests/browser/features/support/pages/search_results_page.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# This file is subject to the license terms in the LICENSE file found in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
-# qa-browsertests, including this file, may be copied, modified, propagated, or
-# distributed except according to the terms contained in the LICENSE file.
-#
-# Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
-#
-class SearchResultsPage
-  include PageObject
-
-  text_field(:search, id: "searchText")
-  h1(:title, id: "firstHeading")
-end

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5378b1d60fa26a9d15565970464ed1f4f56b7055
Gerrit-PatchSet: 4
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <zfili...@wikimedia.org>
Gerrit-Reviewer: Cmcmahon <cmcma...@wikimedia.org>
Gerrit-Reviewer: Jhall <jh...@wikimedia.org>
Gerrit-Reviewer: Manybubbles <never...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to