Željko Filipin
1b52b14cda
Prepare repository for running RuboCop after every push to Gerrit
...
For now ignoring all problems.
Bug: 69245
Change-Id: I16c3edf47d6bb6470f5b71754fa99fe177b65797
2014-10-21 16:45:42 +02:00
Željko Filipin
e9259b9766
Bug 61214 is resolved, removed pending block
...
Paired with: Amir E. Aharoni
Bug: 61214
Change-Id: I3345ee2130d09bd230a55e0c9c33da7a36247a09
2014-09-04 15:18:11 +02:00
Željko Filipin
70363d6d85
No longer running a scenario that fails
...
Paired with: Amir Aharoni
Change-Id: Ic8b5771f59f84c83e345a04227188158e5b50080
2014-06-17 15:31:36 +02:00
Željko Filipin
5b39955df5
Made a scenario pending
...
It fails because of a known bug.
Paired with: Amir Aharoni
Bug: 61214
Change-Id: Id46d5c86e58c4e02bc491378b53c9b3f2f7a4141
2014-06-17 15:22:27 +02:00
Željko Filipin
3782c8c3a5
Page element id attributes now have "uls-" prefix
...
Fixes failing Selenium tests.
Also:
- updated Ruby to version 2.1.2,
- updated all Ruby gems.
Paired with: Kartik Mistry
Change-Id: I1c614cb77f0760d6a84310ce602b0934f07445de
2014-06-06 12:20:55 +02:00
Željko Filipin
cd38e6a576
Features should have unique names
...
Paired with: Antoine Musso
Change-Id: Ic62b93f35aebd5b420a9e8a7525acb3a49e932a8
2014-04-23 12:29:57 +02:00
Zeljko Filipin
834b7aff49
Updated Ruby gems
...
mediawiki_selenium 0.2.21 does not display link to Sauce Labs when
running a local browser.
Paired with: Amir Aharoni
Bug: 58040
Change-Id: If5c7b480ee77c9341a15b5ad02b74f2413d04983
2014-04-22 15:22:04 +02:00
Željko Filipin
ff4bc9ba21
Changed Cucumber tags according to the convention
...
* Replaced @phantomjs-bug with browser specific tags (@firefox
@internet_explorer_10 @phantomjs).
* Replaced @custom-browser tag with @clean tag.
* Deleted cucumber.yml file since it is no longer used.
* Replaced old (no longer implemented) step names with new ones
The convention:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/Selenium#Requir
ed_tags
Paired with: Kartik Mistry
Bug: 60335
Bug: 62477
Change-Id: I54f9ccbaaeb843293fbc1608d53f0e12b6d74cbe
2014-04-11 17:19:42 +02:00
Željko Filipin
249d064c53
Implemented missing Cucumber step
...
Used in ime.feature:50.
Change-Id: I0bf52456e687d7ff2b1d54fc990d4ed5d2803a47
2014-03-25 12:01:44 +01:00
Zeljko Filipin and Zfilipin
76b1d87151
Using the new way of starting a custom browser
...
mediawiki_selenium Ruby gem is now able to start local and remote browsers with
optional browser setup.
Paired with Kartik Mistry.
Bug: 62512
Change-Id: I61e5b688711b1976e8df8be94972fe35f6eeb9aa
2014-03-21 10:34:44 +00:00
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
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