Commit graph

13 commits

Author SHA1 Message Date
Željko Filipin ba16982a44 Update tests to Selenium 3
Bug: T158074
Change-Id: I9c8c2d967497419b11e05752c879e6903520c70c
2017-02-27 16:00:25 +01:00
jdlrobson 57f858a667 Upgrade mediawiki_selenium in Gemfile
Tests on beta cluster will fail without this upgrade which handles
an HTTP to HTTPS redirect issue.

Bug: T142141
Change-Id: Ib35599d8fc861fa460a7df11a878d6a95920aee2
2016-08-04 15:17:39 -07:00
Gergő Tisza f449dcfaaf Update mediawiki_api gem to 1.7.1
Required for selenium test compatibility with AuthManager

Bug: T135884
Change-Id: Ifdfc37c43acac9129cf839d4c7eecac24955997d
2016-05-26 12:36:56 +02:00
Željko Filipin afe0397991 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: If0e6b61c9e3d52005d1851ca49ef65babd002919
2016-04-25 19:15:12 +02:00
jdlrobson 5736f8e0a9 Add integration tests to each commit
Additional changes:
* Add a step to check JS has loaded
* Update selector to work on non-vagrant instances

Bug: T113620
Change-Id: Ib7579a43adc37b6e4add8b0ab75f99b6ab994bb6
2016-01-27 10:12:19 -08:00
Hashar 4f743ba4dd Revert "Bump mediawiki_selenium to 1.6.4"
Causes a proposed change to introduce browser tests to fail completely:
https://gerrit.wikimedia.org/r/#/c/260881/

This reverts commit 45c82e0588.

Bug: T105589
Change-Id: If81f28ec3d2a5caf3ae10746e1ac8bf1b5596422
2016-01-27 17:02:20 +00:00
Antoine Musso 45c82e0588 Bump mediawiki_selenium to 1.6.4
Bug: T105589
Change-Id: I0acadd71eaf2346f70e9a3c32ddddfe26d82cee7
2016-01-27 15:43:47 +01:00
Željko Filipin 0b8b4c4716 Upgrade to the latest version of mediawiki_selenium Ruby gem
The new version has support for all browsers known to men, and a few
more.

Bug: T114362
Change-Id: Ie4f762095f1060f8f078c718f679a7127ce89eb5
2015-12-15 15:52:06 +01:00
Željko Filipin c8237daa5b Fixed Style/StringLiterals RuboCop offense
See:
https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
Bug: T117984

Change-Id: I5388aa3f7c47b9667a03d905f6562dfe6939a70e
2015-12-09 17:21:54 +01:00
Željko Filipin e66875ef51 Updated RuboCop to the latest version
Regenerated TODO file and copied recommended configuration from

https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_confi
guration

Bug: T117984
Change-Id: I28c98a93b9385dd81d62b11fbf11069fcdb2c06c
2015-12-09 16:10:56 +01:00
Željko Filipin 2c3ac55a67 Upgrade browser tests to the latest version of mediawiki_selenium Ruby gem
Bug: T99659
Change-Id: I57c9c73284ed856ee1d9a8f490cd511d07953f77
2015-11-25 17:25:58 +01:00
Željko Filipin e3e129400e Updated watir-webdriver Ruby gem to the latest version
Also updated other gems, except mediawiki_selenium (only patch version
update).

Bug: T112748
Change-Id: Ib4fb648a97df8ef4de85d20cf3ad618b0f931c96
2015-09-16 23:20:14 +02:00
Željko Filipin eb7b5f9de2 Prepare repository for running RuboCop after every push to Gerrit
For now ignoring all problems.

Bug: 69245
Change-Id: Icebcad75b1d63efd7016b96a7ccdbe650f0c3894
2014-10-21 15:45:50 +02:00
Renamed from tests/browser/Gemfile (Browse further)