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
Niklas Laxström
a5c7b43282
Refactoring of ULS font selection tests
...
Change-Id: Ie4d5843f76bff277750a2d61a13b3297650e52f7
2013-10-23 12:33:33 +03:00
Zeljko Filipin
f45d5bfcd5
Refactoring tests to make them more robust
...
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
2013-10-23 09:01:28 +00:00
Amir E. Aharoni
eff4f8960d
Edit area monospace font test
...
bug: 53734
Change-Id: Ia4abf6a47a18605c5a28f6f57aa8841584285f37
2013-10-21 23:25:20 +03:00
Zeljko Filipin
90350b86eb
Run Accept-Language feature at sandbox.translatewiki.net
...
Change-Id: I4c93aee5ab2c596f2b95ef46c2151b3b051a38af
2013-10-21 10:47:27 +02:00
Amir E. Aharoni
90a480660b
Fix gems for tests
...
Copied from I60bc4c3d395f9b1e3abad785f720403cc535e38e
Change-Id: I7a597adb1c16f4451af5b94c87ea5c4798217888
2013-10-21 09:53:05 +03:00
jenkins-bot
b65c2d4956
Merge "Use Autonym font for language autonyms"
2013-10-18 07:17:20 +00:00
Zeljko Filipin
2adeb42782
Updated Ruby gems
...
Change-Id: Ifc1f4e74c97531bebd381dfb841e4cb0845bd425
2013-10-17 13:28:27 +02:00
Santhosh Thottingal
52ead2aa41
Use Autonym font for language autonyms
...
Updates jquery.uls from upstream autonymfont branch
Also contains an example html page which can be used
for testing the font
Change-Id: Ia702ba1df91701df67160d973a0caaa72511c743
2013-10-17 14:40:40 +05:30
Santhosh Thottingal
243972403b
Use MW_INSTALL_PATH for test path if defined
...
Change-Id: Ib4eedb61f37e3b8a5c834dc417342543771a2d33
2013-10-09 17:54:17 +05:30
jenkins-bot
35358268ba
Merge "Moving shared code to mediawiki-selenium Ruby gem"
2013-10-05 15:50:59 +00:00
Siebrand Mazeland
a9a55e1bee
Reformat file
...
Change-Id: I6f81f159550508718926e923631b9065650e8825
2013-10-04 15:02:53 +02:00
Zeljko Filipin
613edd4a3c
Moving shared code to mediawiki-selenium Ruby gem
...
Bug: 53579
Change-Id: I3164a9640ec878723b622f42c7684ffdeedf9d8c
2013-10-04 12:29:08 +02:00
Zeljko Filipin
5a808ef394
Moved Cucumber hooks to hooks.rb file
...
Bug: 49812
Change-Id: Ib927b824a8854d1c4257a17db582595a22d70470
2013-10-01 16:30:54 +00:00
Zeljko Filipin
2c4a906889
Updated ULS repository to the latest version of shared test files
...
Bug: 53579
Change-Id: I9828866f3a3db24a95324bb82942f2c59382f2c9
2013-10-01 16:30:25 +00:00
jenkins-bot
f74f7c6c4e
Merge "Fix for IME menu integration tests"
2013-10-01 13:56:03 +00:00
Kartik Mistry
2461d57220
Fix for IME menu integration tests
...
Make sure to click only when Input Method indicator is available.
Change-Id: Ieff61d74a8ea5b8bcb7aafdc94865dee4927dc97
2013-10-01 19:02:10 +05:30
cmcmahon
eae3ac7d3b
resetting all prefs on beta causes VE tests to fail
...
Change-Id: Ifdbe3e0d7513c7402b3c17cdb9ec654a25b55947
2013-09-30 17:13:16 -07:00
Amir E. Aharoni
d501ad89de
Replace deprecated method
...
Change-Id: I1b79c172d032d96651d5b5c36cbf0c662081da28
2013-09-26 23:08:53 -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
Zeljko Filipin
7706d97c8a
Renamed ULSPage to PanelPage
...
To make class name consistent with file name
Change-Id: If4d0f0a24d2534c9b73cc6cbb0ee14ab8c124ed9
2013-09-26 12:32:41 +02:00
Zeljko Filipin
fb56c5f12c
Fixed "Unsupported input language" scenario
...
Tested on my machine, it now works on both Firefox and Chrome.
Change-Id: I8c810b355ed1407307b57699f8427f487ab1a08a
2013-09-25 16:13:11 +00:00
Zeljko Filipin
b085d38b13
Updated Ruby gems
...
Change-Id: Ic71cbcc10ca0b5a3b79933d9e0cf9f155c1b17d3
2013-09-25 17:37:28 +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
Niklas Laxström
06a386fa83
This scenario does not work with anon language selection
...
Change-Id: Ia54d6de807e81ccbbd062633a49ec7313c869fa7
2013-09-18 00:41:46 +00:00
Niklas Laxström
12f7f84edd
Fix the test I broke
...
Change-Id: I3f8181f84b387ab811f5efc16c734800e3639a15
2013-09-17 16:40:52 -07:00
Niklas Laxström
3fc1c3299c
Simplify tests
...
Change-Id: Ide435d4d11e9ab03c953ed91e949d55e46c5137e
2013-09-17 15:16:52 -07:00
Niklas Laxström
2d62e3e7f7
Simplify test code
...
Change-Id: I65c3edc85ee8619c7e77cca7622e7025799bdcad
2013-09-17 14:38:16 -07:00
jenkins-bot
f1ab048beb
Merge "Updated: Integration tests for off-screen IME selector"
2013-09-17 06:57:21 +00:00
Kartik Mistry
74e6ac4fc0
Updated: Integration tests for off-screen IME selector
...
1. Removed sleep 1.0, not needed,
2. Removed ascii_vector.rb and ascii_mono.rb as we use, using_params
now.
Change-Id: Ieeb0eb3a58805fcbfdfd0a3349a427d4757472cb
2013-09-17 12:18:51 +05:30
Niklas Laxström
f43a00d5b8
Refactoring tests
...
Collaboratively
Change-Id: I6c5417a0681f9bb8596c36600a569df2ddd7bf9e
2013-09-16 15:55:51 -07:00
Kartik Mistry
e53f9176ce
Integration tests for off-screen IME selector.
...
Change-Id: I0b3253ba9cb19afae41612435ef0a9604814f3ed
2013-09-13 23:23:14 -07:00
jenkins-bot
a7904a6d01
Merge "Make more tests pass in sandbox.translatewiki.net"
2013-09-06 12:44:05 +00:00
cmcmahon
813271b8a9
Wait longer, so the preference is saved.
...
Reported as bug 53772.
Change-Id: I8a0d6ae9d3cec06f953e6bb35abb9370e5551eec
2013-09-05 21:09:59 +00:00
Niklas Laxström
e36d9b1cc3
Regression: Using [...] to change language does not activate apply button
...
Bug: 53736
Change-Id: If52beb73f9f3f74cde63bd846974540682066ab6
2013-09-04 07:00:53 +00:00
Niklas Laxström
bcb2dd8b82
Make more tests pass in sandbox.translatewiki.net
...
* When ULS is in personal, cancel opens the language selector
again but apply doesn't.
* Created separate steps for testing the ULS trigger in personal
position, different behavior with different configuration.
Change-Id: Ifb7f101f2bfacd32c11cba69e7f2c01fe9bd9bb7
2013-09-04 09:37:28 +03:00
Santhosh Thottingal
3af403fee5
Make the cancel and apply button applicable for all modules
...
If a user does changes in module A, does not save or cancel,
goes to module B, does some changes, moves to other modules,
and finally presses Apply, all changes should get saved.
Similarly, if a user cancels, all changes should get cancelled.
This required moving the cancel and apply button outside of modules
and managed by the language settings framework.
Modules get mw.uls.settings.apply or mw.uls.settings.cancel triggers
to do whatever they want to do on apply or save.
Includes some refactoring related to this.
Bug: 53256
Change-Id: I7d773d33a980a78604b36e39bf96a5686870124e
2013-09-02 17:03:13 +02:00
Niklas Laxström
975e69d880
Cleanup and add documentation for tags
...
* 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
2013-09-02 17:14:25 +03:00
Niklas Laxström
34146ea023
(bug 49738) Use correct name for wiki content language
...
Happens when anonymous user cannot change language, and the
language of the translation differs from the content language.
Change-Id: Ie4f15f1813eec992cfe060baf9cd7dcb5f8a0d95
2013-08-30 12:45:02 +03:00
Niklas Laxström
b90208affc
New scenario: Discarding a live preview of a font keeps the previous font
...
Change-Id: I4dbd90263be5a35c654b850e6c3632959e8a3915
2013-08-30 12:18:26 +03:00
Niklas Laxström
53f19e9f70
Add test for language live preview cancellation
...
Change-Id: I4880667df23301f4235a05df575fb84554c17303
2013-08-30 10:47:01 +03:00
Niklas Laxström
773b8f42e6
Fix more tests for phantomjs
...
As a bonus got rid of JavaScript call.
Refactored uls-position code to a method.
Change-Id: I1df384a02909d430c12225525d5722a0520177ee
2013-08-30 10:47:01 +03:00
Niklas Laxström
54afab7ffc
Assert that the login succeeded for more helpful error messages
...
Change-Id: I9f985d31de86fe2a062d10ca3f51fb2d7c727798
2013-08-30 10:47:01 +03:00
Niklas Laxström
a6e3ec586e
Make tests pass in phantomjs
...
Change-Id: I0cb094b8a350b716cfb7b50ea6e370fd39fff1d6
2013-08-28 18:44:23 +03:00
Niklas Laxström
2a6ae9f162
More refactoring of tests per feature
...
Change-Id: Ie9acf09f9bb992f6e03ff6dfbb80e1e20a9d43ca
2013-08-28 14:56:24 +03:00
Niklas Laxström
3bd4bb4f03
Refactor ULS tests to reduce duplication and repetition
...
Change-Id: I96f1594f1b4d1960da9a8bc21e2a5c4727497b10
2013-08-28 14:08:17 +03:00
Niklas Laxström
d695b21381
Add new scenarios for font changes
...
There is currently some duplication between the various page objects
and other code. Those should be cleaned up incrementally.
Change-Id: I592829a00ca65bbecd5399b773c885c764c1cc06
2013-08-27 16:35:23 +03:00
Niklas Laxström
7f8f1136e8
Add gitignore and remove unsupported browsers
...
Change-Id: Ic415bcee0cfa8822a48396a2c1b086dbff200c2a
2013-08-27 14:03:47 +03:00
Zeljko Filipin
2547ed87b5
Moved ULS tests from browsertests repository
...
Change-Id: I4f4a4c5530ad7e5dff70171b59a589dc98b1ef29
2013-08-27 12:04:58 +02:00
Siebrand Mazeland
a373340aea
Fix CSS error and add missing field labels, also update jQuery source
...
Change-Id: Ie30841d78befc04d58e8ec5c50c9fa51483a4088
2013-08-05 16:27:15 +08:00