mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-13 17:57:21 +00:00
Migration of browsertests* Jenkins jobs to selenium* jobs
selenium* jobs are a new way of running Ruby based Selenium tests. The jobs are triggered daily. Bug: T128190 Change-Id: If240d2da8f0c55ed46f1f2f34c6aca05bcba09ac
This commit is contained in:
parent
61cc85e34a
commit
269d965a4a
3
Gemfile
3
Gemfile
|
@ -1,5 +1,6 @@
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'csscss', '~> 1.3.3'
|
gem 'csscss', '~> 1.3.3'
|
||||||
gem 'mediawiki_selenium', '~> 1.6.5'
|
gem 'mediawiki_selenium', '~> 1.7'
|
||||||
|
gem 'rake', '~> 11.1', '>= 11.1.1'
|
||||||
gem 'rubocop', '~> 0.34.2', require: false
|
gem 'rubocop', '~> 0.34.2', require: false
|
||||||
|
|
23
Gemfile.lock
23
Gemfile.lock
|
@ -22,9 +22,9 @@ GEM
|
||||||
faker (>= 1.1.2)
|
faker (>= 1.1.2)
|
||||||
yml_reader (>= 0.6)
|
yml_reader (>= 0.6)
|
||||||
diff-lcs (1.2.5)
|
diff-lcs (1.2.5)
|
||||||
domain_name (0.5.20160128)
|
domain_name (0.5.20160310)
|
||||||
unf (>= 0.0.5, < 1.0.0)
|
unf (>= 0.0.5, < 1.0.0)
|
||||||
faker (1.6.1)
|
faker (1.6.3)
|
||||||
i18n (~> 0.5)
|
i18n (~> 0.5)
|
||||||
faraday (0.9.2)
|
faraday (0.9.2)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
|
@ -34,7 +34,7 @@ GEM
|
||||||
ffi (1.9.10)
|
ffi (1.9.10)
|
||||||
gherkin (2.12.2)
|
gherkin (2.12.2)
|
||||||
multi_json (~> 1.3)
|
multi_json (~> 1.3)
|
||||||
headless (2.2.0)
|
headless (2.2.3)
|
||||||
http-cookie (1.0.2)
|
http-cookie (1.0.2)
|
||||||
domain_name (~> 0.5)
|
domain_name (~> 0.5)
|
||||||
i18n (0.7.0)
|
i18n (0.7.0)
|
||||||
|
@ -42,7 +42,7 @@ GEM
|
||||||
mediawiki_api (0.5.0)
|
mediawiki_api (0.5.0)
|
||||||
faraday (~> 0.9, >= 0.9.0)
|
faraday (~> 0.9, >= 0.9.0)
|
||||||
faraday-cookie_jar (~> 0.0, >= 0.0.6)
|
faraday-cookie_jar (~> 0.0, >= 0.0.6)
|
||||||
mediawiki_selenium (1.6.5)
|
mediawiki_selenium (1.7.0)
|
||||||
cucumber (~> 1.3, >= 1.3.20)
|
cucumber (~> 1.3, >= 1.3.20)
|
||||||
headless (~> 2.0, >= 2.1.0)
|
headless (~> 2.0, >= 2.1.0)
|
||||||
json (~> 1.8, >= 1.8.1)
|
json (~> 1.8, >= 1.8.1)
|
||||||
|
@ -53,8 +53,8 @@ GEM
|
||||||
rspec-expectations (~> 2.14, >= 2.14.4)
|
rspec-expectations (~> 2.14, >= 2.14.4)
|
||||||
syntax (~> 1.2, >= 1.2.0)
|
syntax (~> 1.2, >= 1.2.0)
|
||||||
thor (~> 0.19, >= 0.19.1)
|
thor (~> 0.19, >= 0.19.1)
|
||||||
mime-types (2.99)
|
mime-types (2.99.1)
|
||||||
multi_json (1.11.2)
|
multi_json (1.11.3)
|
||||||
multi_test (0.1.2)
|
multi_test (0.1.2)
|
||||||
multipart-post (2.0.0)
|
multipart-post (2.0.0)
|
||||||
netrc (0.11.0)
|
netrc (0.11.0)
|
||||||
|
@ -70,6 +70,7 @@ GEM
|
||||||
blankslate (>= 2.0, <= 4.0)
|
blankslate (>= 2.0, <= 4.0)
|
||||||
powerpack (0.1.1)
|
powerpack (0.1.1)
|
||||||
rainbow (2.0.0)
|
rainbow (2.0.0)
|
||||||
|
rake (11.1.1)
|
||||||
rest-client (1.8.0)
|
rest-client (1.8.0)
|
||||||
http-cookie (>= 1.0.2, < 2.0)
|
http-cookie (>= 1.0.2, < 2.0)
|
||||||
mime-types (>= 1.16, < 3.0)
|
mime-types (>= 1.16, < 3.0)
|
||||||
|
@ -84,10 +85,9 @@ GEM
|
||||||
rainbow (>= 1.99.1, < 3.0)
|
rainbow (>= 1.99.1, < 3.0)
|
||||||
ruby-progressbar (~> 1.4)
|
ruby-progressbar (~> 1.4)
|
||||||
ruby-progressbar (1.7.5)
|
ruby-progressbar (1.7.5)
|
||||||
rubyzip (1.1.7)
|
rubyzip (1.2.0)
|
||||||
selenium-webdriver (2.50.0)
|
selenium-webdriver (2.53.0)
|
||||||
childprocess (~> 0.5)
|
childprocess (~> 0.5)
|
||||||
multi_json (~> 1.0)
|
|
||||||
rubyzip (~> 1.0)
|
rubyzip (~> 1.0)
|
||||||
websocket (~> 1.0)
|
websocket (~> 1.0)
|
||||||
syntax (1.2.0)
|
syntax (1.2.0)
|
||||||
|
@ -97,7 +97,7 @@ GEM
|
||||||
unf_ext (0.0.7.2)
|
unf_ext (0.0.7.2)
|
||||||
watir-webdriver (0.9.1)
|
watir-webdriver (0.9.1)
|
||||||
selenium-webdriver (>= 2.46.2)
|
selenium-webdriver (>= 2.46.2)
|
||||||
websocket (1.2.2)
|
websocket (1.2.3)
|
||||||
yml_reader (0.7)
|
yml_reader (0.7)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
@ -105,7 +105,8 @@ PLATFORMS
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
csscss (~> 1.3.3)
|
csscss (~> 1.3.3)
|
||||||
mediawiki_selenium (~> 1.6.5)
|
mediawiki_selenium (~> 1.7)
|
||||||
|
rake (~> 11.1, >= 11.1.1)
|
||||||
rubocop (~> 0.34.2)
|
rubocop (~> 0.34.2)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
|
|
3
Rakefile
3
Rakefile
|
@ -8,6 +8,9 @@ RuboCop::RakeTask.new(:rubocop) do |task|
|
||||||
task.options = ['-c', '.rubocop.yml']
|
task.options = ['-c', '.rubocop.yml']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
require 'mediawiki_selenium/rake_task'
|
||||||
|
MediawikiSelenium::RakeTask.new
|
||||||
|
|
||||||
task default: [:test]
|
task default: [:test]
|
||||||
|
|
||||||
desc 'Run all build/tests commands (CI entry point)'
|
desc 'Run all build/tests commands (CI entry point)'
|
||||||
|
|
9
tests/browser/ci.yml
Normal file
9
tests/browser/ci.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
BROWSER:
|
||||||
|
- chrome
|
||||||
|
- firefox
|
||||||
|
|
||||||
|
MEDIAWIKI_ENVIRONMENT:
|
||||||
|
- beta
|
||||||
|
|
||||||
|
PLATFORM:
|
||||||
|
- Linux
|
Loading…
Reference in a new issue