Commit Graph

13 Commits

Author SHA1 Message Date
Zeljko Filipin
b4af650730 Removed random page
Using a dedicated page instead of a random page. Paired  with Amir
Aharoni.
Bug: 62479
Change-Id: I3750ecf972f52f205fd30855455ef6259b9c911d
2014-03-11 16:13:16 +01:00
Niklas Laxström
5f6995dd3e Fix "Live preview of display language changes can be reverted on cancel"
Change-Id: Ie70bd7c6c646084a3ded62fee79a5fd2437313f1
2013-12-18 12:16:32 +02:00
jenkins-bot
efbaa74126 Merge changes I799698e0,I7b1543f5
* changes:
  Removing font live preview test
  Refactor another live preview scenario
2013-12-11 09:22:59 +00:00
jenkins-bot
3ed7cb54f1 Merge "Refactor two live preview scenarios" 2013-12-11 09:22:13 +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
Niklas Laxström
63af9387b2 Removing font live preview test
* 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
2013-12-04 12:27:29 +02:00
Niklas Laxström
b0efed428c Refactor another live preview scenario
But left it disabled because of bug 57967

Bug: 57967
Change-Id: I7b1543f526eac93c9a0200731a722332a7410b06
2013-12-04 12:22:15 +02:00
Niklas Laxström
cdb21c9c49 Refactor two live preview scenarios
Change-Id: I8e0dc62e24f9f86232af6b68dc4809e858aa2367
2013-12-04 12:05:15 +02:00
Niklas Laxström
b04c6f8de2 Refactoring live preview
Change-Id: I351094b8d746d991b1f1d92f3dd097f092e3f0f5
2013-12-03 10:02:22 +00:00
Niklas Laxström
5749d92c4f Remove @reset-preferences-after hook
Change-Id: I47595f5334fcc7b8fe6d4a7ea69d2b8345f06597
2013-12-02 11:47:02 +02:00
Zeljko Filipin
c56f2a3e49 Make ULS+commons Jenkins job green
Run only tests that pass. Workaround for hook that executes twice and
causes tests to fail.

Job URL:
https://wmf.ci.cloudbees.com/view/r-uls/job/UniversalLanguageSelector-co
mmons.wikimedia.beta.wmflabs.org-linux-firefox/

Change-Id: I43161b66b07880c54baa1c5748c96176b41c1daa
2013-10-23 14:44:45 +00:00
cmcmahon
eae3ac7d3b resetting all prefs on beta causes VE tests to fail
Change-Id: Ifdbe3e0d7513c7402b3c17cdb9ec654a25b55947
2013-09-30 17:13:16 -07:00
Kartik Mistry
039c91d1d5 Integration tests for live preview of display language
Bug: 53255

Change-Id: I1506ddd0ef68217ac114bdf4c29c62cd071b1900
2013-09-26 22:51:37 -07:00