The only Ruby code were broken Selenium tests.
Bug: T164479
Depends-On: Ic14b86a5006da360d022af875b4aa8c119a3678a
Change-Id: I15f641cd08ec3ba483c11764a89c9ed493a570a8
* Remove manual tracking of when a hash is first seen.
ResourceLoader is no longer time-based, rather it is content based.
Except where a timestamp is actually wanted as key, a hash is all
we need. The default implementation of simply calling getScript()
and hashing its output suffices, and isn't a performance problem
in this case.
* Also simplify getScript() by passing an object to 'mw.config.set'.
Instead of multiple calls for each key/value. This is a no-op
now because there is only one key.
* Fix inaccurate class comment that was copied from an unrelated
module in MediaWiki core.
Change-Id: I9bb82cadd9caa7e584e20dd49ce30b64218326c4
With this MEÄNKELI with typos=1 finds results.
Updated test case for lowercased result. Renamed variables in test
file for clarity. Updated the default value for MW_INSTALL_PATH to
work with the default layout.
Change-Id: Id93c84d308705f55b4d2378fc8c7b7f243e1b53f
- Updated versions and order of checkers.
- Some consistency updates in Gruntfile.js.
- Updates to make jscs pass.
Change-Id: I7ed93596ff383dc713bd17af2da0472be934d59d
Tests were failing for two reasons: wrong modules as dependencies of the
test module and test timing out due to incorrect usage of QUnit.asyncTest
and QUnit.start() and QUnit.Stop.
While at it, did some small cleanups and converted the number of
assertions to use non-deprecated QUnit.expect() instead.
Options are saved using postWithToken of mw.API. This also rises minimum
MediaWiki version to 1.22. This allowed removing hundred lines of code.
MLEB is already 1.22 and above.
Change-Id: I46a1674e4ede48a0e331c8d201d1d847db51d9dd
mediawiki_selenium 0.2.21 does not display link to Sauce Labs when
running a local browser.
Paired with: Amir Aharoni
Bug: 58040
Change-Id: If5c7b480ee77c9341a15b5ad02b74f2413d04983
* Replaced @phantomjs-bug with browser specific tags (@firefox
@internet_explorer_10 @phantomjs).
* Replaced @custom-browser tag with @clean tag.
* Deleted cucumber.yml file since it is no longer used.
* Replaced old (no longer implemented) step names with new ones
The convention:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/Selenium#Requir
ed_tags
Paired with: Kartik Mistry
Bug: 60335
Bug: 62477
Change-Id: I54f9ccbaaeb843293fbc1608d53f0e12b6d74cbe
mediawiki_selenium Ruby gem is now able to start local and remote browsers with
optional browser setup.
Paired with Kartik Mistry.
Bug: 62512
Change-Id: I61e5b688711b1976e8df8be94972fe35f6eeb9aa
* Tofu detection selects system fonts over Autonym font.
* Interlanguage Autonym font is blacklisted.
* phantomjs bug is fixed.
Change-Id: I5c7433b917b8d7f79f706a4a7a97a6c6a9a6afa2