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
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
* 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
Fixed typo in feature description.
Merged two background steps since the last one did not have any actions
that could be done manually.
Removed assertions from a "given" (login) step. We already extensively
test logging in. If this extension needs login tests, they should go to
a separate feature file.
Moved methods from steps file to page file, following page object
pattern.
Change-Id: Ic5250970362718f5ed887c9ac8fd56948724b210
* Fixed one scenario to work with the default setting
* Fixed one typo in scenario
* Removed unused tags
* Documented the tags currently in use
Change-Id: I14687782857daf79dcd497b934dff99fc45a3997
There is currently some duplication between the various page objects
and other code. Those should be cleaned up incrementally.
Change-Id: I592829a00ca65bbecd5399b773c885c764c1cc06