* 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
These tests fail because no Wikimedia has webfonts
enabled by default.
This will be addressed more thoroughly by rewriting
the tests to support the new setting, and by enabling
the feature by default on a new testing wiki.
Change-Id: Id197e0b2535097cf5e583e51427ca6130839e1ff
This is supposed to be addressed more thoroughly in
I5c7433b917b8d7f79f706a4a7a97a6c6a9a6afa2
but until that is merged, they shouldn't run and cause failures.
Change-Id: Ie4e96f2cb0846b9117a26e9bfd902bbcab04eafd
This will fail because webfonts are currently disabled by default
on all Wikimeida wikis.
When a suitable wiki for running these tests will be created,
we'll make this feature run there.
Change-Id: Ia51c5d12bcd49621e85c83166faf855e3476bf5f
This patch restores the enableWebfonts preference, stored inside
the uls-preferences blob. It existed as 'enable-webfonts' in
the past and was removed in
If735a733717596fae03042c5e277bd538bd8501f
Each wiki can be configured to load the fonts by default
using the new global variable $wgULSWebfontsEnabled.
Its default value is true (to load fonts).
This also removes the preference 'uls-enable', recently added in
I71b70d8ee7c3cad7f49b32e5dc494ef4fc1bdb2f
The initialization of ext.uls.webfonts.js is changed as well,
so that minimal webfonts JS library code is loaded,
and the rest is loaded only if a user requests it.
Bug: 60304
Change-Id: I49e812eae32266f165591c75fd67b86ca06b13f0
Had to increase timeout that waits for a div to disappear, the default
5 seconds was not enough. Increased timeout also fixes this test that
fails sometimes: http://goo.gl/YXBDAj
Bug: 56885
Change-Id: I2def25828865a21eb321d0d9ea2e57764d86c1a2
Some scenarii are meant to be tested on specific wiki instances such as
commmons.beta.wmflabs.org or sandbox.translatewiki.net. For the Gerrit
integration, we are using a fresh wiki having the default ULS settings,
hence the specific tests will definitely fail.
This patch introduces a new cucumber tag `@needs-custom-setup`, it is
meant to flag tests which require further configuration tweaking, for
example tests explicitly targetting an already existing wiki such as
beta or translatewiki
I am introducing a new cucumber profile 'ciwmf' which exclude any test
tagged '@needs-custom-setup' or '@phantomjs-bug'. That profile is going
to be used by the Jenkins/Gerrit install using something like:
cucumber -p ciwmf
equivalent to:
cucumber -t '~@phantomjs-bug' -t '~@needs-custom-setup'
Marked some tests as being bugged on phantomjs:
* autonym ones because of bug 57101 "browser tests must normalize
font-family".
* accept_language since we dont have yet a way to pass the accept
language header via phantomjs.
* Commented out an 'input method is visible' test with Vector + Hebrew
since it does not pass.
* Malayalam link is looked by title which is translated by default.
This patch is passing on my local wiki, albeit skipping a lot of steps.
Change-Id: Ib055f5470886e1b818d4c53cb4c61a751d81e154
* This feature is named live preview of language
* There are two scenarios in font selection feature that also
test live preview
* This test is actually making changes as well
Change-Id: I799698e08fc3d922259692de7ae0bbf5cbfd0a33