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
Ambiguous match of "the selected interface font must be "Systemschriftart"":
Element is no longer attached to the DOM (Selenium::WebDriver::Error::StaleElementReferenceError)
Change-Id: I74d6c8245d413dbf2819a113a19476d9b998d3c4
mediawiki-selenium 0.1.13 fixed failed test caused by browser size
being to small and ULS was not completely visible:
https://wmf.ci.cloudbees.com/view/r-uls/job/UniversalLanguageSelector-co
mmons.wikimedia.beta.wmflabs.org-linux-firefox/128/testReport/(root)/Tri
gger%20in%20personal%20toolbar/Open_language_selector_when_logged_in/
Change-Id: I1cf74effc7bccd3b4925f6d6263ab57471b167d7
Removed old and ugly steps that are no longer used. Introduced one
small and beautiful step.
Fixes three failed Jenkins jobs:
https://wmf.ci.cloudbees.com/view/r-uls/job/UniversalLanguageSelector-co
mmons.wikimedia.beta.wmflabs.org-linux-firefox/128/testReport/(root)/Aut
onym%20font/
Change-Id: I68da4364592514d161996517875a06fd2942ff0f
* Removed step which different only in case of one letter
* Removed quotes from few steps
* Fixed the scenario, but marked it as pending due to a bug
Change-Id: Iab160782e73071b543ef550dc7d86171e3636d23
Removed tags @uls-in-sidebar-only and @uls-in-personal-only.
We will figure out a better solution.
Alterted the test so that it catches if the language selector is
not visible in the viewport to catch regressions like bug 56937.
Bug: 56937
Change-Id: Ie8a37bf4f38e9c82e0c14736f2bc29e8ec1331ff