Zeljko Filipin
fd92954e1c
Updated to mediawiki_selenium 0.2.9 to fix log in problems
...
Paired with Amir Aharoni.
Change-Id: Ie802ec65c0893bf3a40357d3e4292ce891fe178c
2014-03-06 15:39:31 +01:00
Zeljko Filipin
d38b431d2b
Using @custom-browser Cucumber tag instead of @user_agent
...
Implementing the convention:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/Selenium#Option
al_tags
Bug: 61458
Change-Id: Iac411401a08eadfb04fd43f1d93ce2fd36fbea4a
2014-03-06 14:47:32 +01:00
Zeljko Filipin and Zfilipin
35f2a42e8e
Cloudbees Jenkins jobs are now created using Jenkins Job Builder
...
All Jenkins jobs will fail until this commit is merged:
https://wmf.ci.cloudbees.com/view/uls/
Bug: 61778
Change-Id: Idc36a03291497fefa8aa4464004f423c7a07c90e
2014-02-22 11:59:16 +00:00
Zeljko Filipin and Zfilipin
30368d121e
Running tests at language-browsertests.wmflabs.org
...
This will revert: https://gerrit.wikimedia.org/r/#/c/114457/
Change-Id: I53d7adc685820d421d774c196642bddc9e5f19b0
2014-02-21 12:50:54 +00:00
Zeljko Filipin
cf57dfbf69
Moved login and reset preferences to mediawiki_selenium Ruby gem
...
Bug: 56088
Change-Id: I3d4150295ec2f66e5ad20a90769b7bd4bb14763f
2014-02-11 14:51:37 +01:00
Zeljko Filipin
de11d83b6f
Renamed mediawiki-selenium Ruby gem to mediawiki_selenium
...
Bug: 60820
Change-Id: I5fb2db6b2da94b0554e324b39de631b4117be7eb
2014-02-07 13:38:57 +01:00
Zeljko Filipin
22198ba467
ci and default profiles are no longer needed
...
Bug: 56085
Change-Id: If3e66ee47a5cef700e6a3f3699ef8b969837cd6d
2014-01-30 13:10:32 +01:00
Zeljko Filipin
0390c0b534
Moved Sauce Labs browser configuration to mediawiki-selenium Ruby gem
...
Bug: 56085
Change-Id: Ib3807bf61292beafb51faef307d0abd67c960995
2014-01-28 18:54:16 +01:00
Zeljko Filipin
caf8f11e93
Renamed page
...
To follow the naming convention.
Change-Id: I81820cb5e877ad5ebf6e2f806fa30c23d04d800a
2014-01-08 15:23:12 +01:00
Zeljko Filipin
0c461d4b8a
Updated Ruby, RubyGems and Firefox
...
Bug: 56083
Change-Id: I05fdd7226a21d56b3a6912f622bb926e896a1086
2014-01-04 00:20:43 +01:00
Zeljko Filipin and Zfilipin
aeaeb2bc47
Disabled Accept-Language feature for PhantomJS
...
Until PhantomJS is upgraded to version 1.9.2 Accept-Language feature
will fail:
https://integration.wikimedia.org/ci/job/mwext-browsertests-UniversalLan
guageSelector-phantomjs/95/console
Change-Id: I7e923189f3cdcb95fe94d93d0bdf78488f7435c4
2013-12-18 14:46:13 +00:00
Zeljko Filipin
9422558de3
Replacing single quotes with double quotes
...
Bug: 57597
Change-Id: Icb3c0114d075cab103bbf4d7e0e9e1fd4ba0093c
2013-12-17 19:56:10 +01:00
Zeljko Filipin and Nikerabbit
f647453a39
Removing pending block for a bug that was resolved
...
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
2013-12-17 11:50:39 +00:00
Zeljko Filipin and Zfilipin
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
Zeljko Filipin and Cmcmahon
f5d0c1104b
Updated Ruby gems
...
mediawiki-selenium 0.1.14 makes is possible to run tests on Cloudbees
using PhantomJS.
Bug: 58035
Change-Id: Idd3ba0ee822be052e3758f3668ca769b4cc7f30f
2013-12-11 16:03:35 +00:00
Zeljko Filipin and Niklas Laxström
0f331b5b03
Check that elements that do not need it do not use Autonym font
...
Change-Id: I2a865d61403b5556a8f6d69aa1fe3e10727e87ae
2013-11-27 11:33:44 +02:00
Zeljko Filipin and Zfilipin
7a9e890e06
Autonym font is applied only to language links
...
Broken test in cloudbees: http://goo.gl/G3EG3z
Bug: 56819
Change-Id: I734fe4835f6e7a44b446cd826e49086d6bd1bd5b
2013-11-27 09:19:05 +00:00
Zeljko Filipin
a0ab3a5526
Use page-object waiting API instead of Selenium waiting API
...
Fixes page-object deprecation warning.
More information:
http://watirwebdriver.com/waiting/
https://github.com/cheezy/page-object/wiki/Ajax-Calls
Change-Id: Ia18339e2fd6b23098b86dd96f3fa9c84f64c28c3
2013-11-21 11:25:24 +01:00
Zeljko Filipin
4d49b1ca6c
Updated Ruby gems
...
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
2013-11-14 11:54:17 +01:00
Zeljko Filipin
06341f787f
Refactored Autonym font feature
...
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
2013-11-14 11:13:15 +01:00
Zeljko Filipin
47d5bda290
Updated to the new version of mediawiki-selenium gem
...
Needed to fix security problem with passwords being visible at Jenkins
machine.
Change-Id: Id828486113804bdc9e4afeba50d74c11bbb57d57
2013-11-04 11:26:49 +01:00
Zeljko Filipin
ed2ee05ff9
Updated to the latest version of mediawiki-selenium gem
...
Change-Id: I60ad73add189a496d2ec92fa16f137d288d38770
2013-11-04 10:27:49 +01:00
Zeljko Filipin
e3c93d17fa
Change the assertion back to original state
...
Bug: 56081
Change-Id: I16a8ee6c4d8aae8778f99f6e0cd0bfc7e0f32b4e
2013-10-25 12:24:57 +02:00
Zeljko Filipin
29ab2467f9
Mark a step as pending since it fails because of a known bug
...
Bug: 56081
Change-Id: Idfa0f67c95ab6ed2c6e6a3d8fa99d064a8eb871f
2013-10-25 12:19:39 +02:00
Zeljko Filipin and Cmcmahon
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
Zeljko Filipin and Niklas Laxström
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
Zeljko Filipin
90350b86eb
Run Accept-Language feature at sandbox.translatewiki.net
...
Change-Id: I4c93aee5ab2c596f2b95ef46c2151b3b051a38af
2013-10-21 10:47:27 +02:00
Zeljko Filipin
2adeb42782
Updated Ruby gems
...
Change-Id: Ifc1f4e74c97531bebd381dfb841e4cb0845bd425
2013-10-17 13:28:27 +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 and Cmcmahon
5a808ef394
Moved Cucumber hooks to hooks.rb file
...
Bug: 49812
Change-Id: Ib927b824a8854d1c4257a17db582595a22d70470
2013-10-01 16:30:54 +00:00
Zeljko Filipin and Cmcmahon
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
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 and Zfilipin
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
Zeljko Filipin
2547ed87b5
Moved ULS tests from browsertests repository
...
Change-Id: I4f4a4c5530ad7e5dff70171b59a589dc98b1ef29
2013-08-27 12:04:58 +02:00