Commit Graph

4 Commits

Author SHA1 Message Date
Zeljko Filipin
7c8b976edb Fix Accept-Language feature for PhantomJS
mediawiki-selenium 0.1.15 is needed to make it work

Bug: 49813
Change-Id: I2e0e5d85e167e85262cb357f3a48f3336b848f6e
2013-12-14 10:27:16 +00:00
Antoine Musso
9fa4b32c08 browsertests: profile for default settings
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
2013-12-05 11:35:35 +01:00
Zeljko Filipin
90350b86eb Run Accept-Language feature at sandbox.translatewiki.net
Change-Id: I4c93aee5ab2c596f2b95ef46c2151b3b051a38af
2013-10-21 10:47:27 +02:00
Zeljko Filipin
e72a38e73f Cleanup: removed ULS from file names and feature names
Change-Id: Id45289ba710b9b543744655f8fbd0f9483923956
2013-09-25 17:18:39 +02:00