Commit graph

347 commits

Author SHA1 Message Date
Željko Filipin f776983204 Update tests to Selenium 3
Bug: T158074
Change-Id: I784fc7bb85f32d5e50b5abb500c51493839ccebe
2017-02-28 14:39:00 +01:00
Ed Sanders 2ee9e62a4d Use upstream media search widget from core
Bug: T140166
Depends-On: If53ef7f4b62c7a5d4da565c14dd2a353778694e5
Change-Id: I28845e9c143e78d3a377f067606c62da212e3bf1
2016-11-29 17:19:14 +00:00
Željko Filipin f3f432e722 Disable failing Selenium tests
The tests are failing with RSpec::Expectations::ExpectationNotMetError
for 2-3 days in a row.

Bug: T145861
Change-Id: Ieec2a67857b90033cdd0ddf63025d2af9de504a5
2016-09-16 13:12:02 +02:00
Željko Filipin 59d771e1ac Fix failing Selenium tests
There were a couple of pieces of language screenshots related Ruby code
left that was breaking Selenium tests.

Bug: T139613
Change-Id: I3d327b3cfd5f52e60fee07095eefdd8feecaba98
2016-08-24 16:47:14 +00:00
Željko Filipin 2fb5c18ced Upload language screenshot files using commons_upload Ruby gem
Use the latest version of commons_upload. Delete no longer needed files
from previous Ruby implementation.

Bug: T143563
Change-Id: I7c0ca64aeea54501c51eb56a950143d5af251cf7
2016-08-24 14:47:45 +00:00
Željko Filipin cbccba89a0 Remove Ruby implementation of language screenshots
It is now implemented in JavaScript/Node.js.

Bug: T132574
Change-Id: I299332ac4f849b951ba24564bd0282ca0e25afd2
2016-08-22 12:19:21 +02:00
Translation updater bot 7660980ab5 Localisation updates from https://translatewiki.net.
Change-Id: I75f5c71990c63b2a21c85ae9217476101b384cc5
2016-08-17 22:42:44 +02:00
Translation updater bot 567bc298c5 Localisation updates from https://translatewiki.net.
Change-Id: I77aca2aafa920a83a17af3e67e686f591c38c93a
2016-08-11 23:59:28 +02:00
James D. Forrester cad4066bc9 Gemfile: Bump mediawiki_api from 1.7.1 to 1.7.2
Bug: T129483
Change-Id: Ief831d41df9352a824f4bd7a2a030cc4681950a2
2016-08-08 10:54:21 -07:00
Translation updater bot 530d911dd5 Localisation updates from https://translatewiki.net.
Change-Id: I17eb6510ad35f8e60f892b10b4430432601b08ec
2016-08-02 22:47:12 +02:00
Translation updater bot 5a0b12bfb4 Localisation updates from https://translatewiki.net.
Change-Id: I92e686fa6e7018b506629fc857fb951f72e84447
2016-07-04 22:35:04 +02:00
Translation updater bot b11b838f6e Localisation updates from https://translatewiki.net.
Change-Id: I7dbad46f1d3d13dff617e7bde9de1d416bc32882
2016-06-18 22:50:50 +02:00
Translation updater bot 953422a605 Localisation updates from https://translatewiki.net.
Change-Id: Ibc8094f70202a731d21f954e5bdab8214abc062d
2016-06-07 22:47:17 +02:00
Translation updater bot 3af1ddc490 Localisation updates from https://translatewiki.net.
Change-Id: I9c271d5ea6ae3f1a8a5c59bd462c71c1740e2a0f
2016-06-05 22:23:23 +02:00
Translation updater bot 9bdc38b864 Localisation updates from https://translatewiki.net.
Change-Id: Ib899d193506842d6a278f8e89e8672fa64bb9e73
2016-06-04 22:25:19 +02:00
Translation updater bot 3d994ac23e Localisation updates from https://translatewiki.net.
Change-Id: I6ab9559b62d7b80727795a612d3e98c4ff271ed6
2016-05-31 22:46:04 +02:00
Translation updater bot 0153870e30 Localisation updates from https://translatewiki.net.
Change-Id: Ieda52ac7aec208e81de8a000d602afe705779145
2016-05-08 22:46:24 +02:00
Translation updater bot e59a008a1e Localisation updates from https://translatewiki.net.
Change-Id: Ib1c3814addf800ff893d224b69812c436f9b27ab
2016-05-03 22:27:39 +02:00
Željko Filipin 58049b0c2c [BrowserTest] Migration of browsertests* Jenkins jobs to selenium* jobs
selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.

Bug: T128190
Change-Id: I11554b23a0e347736a67766f8c0b9879d5a6bed9
2016-04-26 12:40:45 +02:00
Antoine Musso 4a97e9585f [BrowserTest] Fix i18n files lookup
The visual_editor_page used relative paths expecting the current
directory to be modules/ve-mw/tests/browser. Use absolute paths instead.

Change-Id: I8b1c4eddc2085ee80380f288bceb14c6feee0a60
2016-04-04 11:52:36 +02:00
Translation updater bot f239e17a1e Localisation updates from https://translatewiki.net.
Change-Id: Ie585e9b5dd0251d35e90646f0ff79cc76cf66da8
2016-03-27 21:25:48 +02:00
Translation updater bot eed6125ef2 Localisation updates from https://translatewiki.net.
Change-Id: I197104b10bb7aa062030a6cf22975283dbe42d28
2016-03-20 22:43:49 +01:00
Translation updater bot c37a2d11f7 Localisation updates from https://translatewiki.net.
Change-Id: Ia9b65fcfe6117d2075483bd130900c51b787eddc
2016-03-18 22:45:18 +01:00
Željko Filipin 63eb2a2f46 [BrowserTest] Increase the time Selenium waits for VisualEditor to load
I have noticed that Jenkins job that runs daily fails sometimes because
looking up the element failed after 5 seconds. The time is increased
from 5 to 10 seconds.

Bug: T94150
Change-Id: Ib23f4ac72aa6c734f297e8f9fb5ad4645ac8891e
2016-03-14 13:00:17 +01:00
Željko Filipin 43e9c8714f [BrowserTest] Disable failing language screenshot scenario
VisualEditor_Insert_Menu scenario fails with `Original image height is
too small! (ChunkyPNG::OutOfBounds)`.

Bug: T119482
Change-Id: I30c3a9757c5754a40921fce5225b73897eed865b
2016-03-10 15:06:56 +01:00
Željko Filipin dc3944726a [BrowserTest] Disable failing language screenshots
Bug: T119482
Change-Id: I165fcb2ee94430d29e287b80e13a48e05a021f77
2016-03-04 15:54:13 +01:00
Željko Filipin 8e0e40d5cc [BrowserTest] Fix Selenium::WebDriver::Error::StaleElementReferenceError
Sauce Labs browsers raise
Selenium::WebDriver::Error::StaleElementReferenceError
if a test tries to use an element but VisualEditor is not loaded.

Bug: T128731
Change-Id: Icb01b4dee256a0270d722492d11dabf0cfc4f8c4
2016-03-03 14:58:14 +00:00
Željko Filipin 301b152ec8 [BrowserTest] Fix ve.init is undefined and ve.init.target is undefined error messages
Looks like local browsers raise
Selenium::WebDriver::Error::JavascriptError while remote (Sauce Labs)
browsers raise Selenium::WebDriver::Error::UnknownError if a test tries
to use an element but VisualEditor is not loaded.

Bug: T126966
Change-Id: I89c8eaba996e95e7859084fe26e15befee9dce77
2016-03-02 13:50:44 +01:00
Translation updater bot eceb548e6c Localisation updates from https://translatewiki.net.
Change-Id: Id1453f111870ee703f552fa407dab76b19d786f5
2016-03-01 22:04:45 +01:00
Translation updater bot 7546362fa9 Localisation updates from https://translatewiki.net.
Change-Id: I7bade8021975fc1c3e2426211e6805a913f07891
2016-02-28 22:00:32 +01:00
Translation updater bot cef228ec1d Localisation updates from https://translatewiki.net.
Change-Id: I8a8e0b9b879d18d8011821e49dc8c23624652a38
2016-02-25 22:22:09 +01:00
jenkins-bot 222a5361ba Merge "[BrowserTest] Fix ve.init is undefined error messages in Selenium tests" 2016-02-24 17:56:57 +00:00
Željko Filipin 60a08f925c [BrowserTest] Fix ve.init is undefined error messages in Selenium tests
All scenarios that are passing are enabled to run in Jenkins.
(The commit increases the number of passing scenarios from 2 to 18.)

Bug: T126966
Change-Id: I9789ca42717133120197c4625bb8dad4ea496aa8
2016-02-18 15:42:05 +01:00
Translation updater bot dabeb4218d Localisation updates from https://translatewiki.net.
Change-Id: Iaabe8dd045b2670aeb9fc0164fcb30f682f73b6c
2016-02-17 22:52:14 +01:00
Željko Filipin 966f2f7bbb [BrowserTest] Jenkins runs only passing Cucumber scenarios
To get at least some Cucumber scenarios running in Jenkins, disable all
of them that are failing and run only ones that are passing.

The next step will be to fix failing scenarios.

Bug: T94162
Change-Id: Id0338c1d6b86d6b45220c5c0802074be397fb607
2016-02-15 13:18:19 +00:00
Translation updater bot 047517fa22 Localisation updates from https://translatewiki.net.
Change-Id: I475a76215ab50328eb2c65d68b2c4be2a5afd6e2
2016-02-08 22:17:32 +01:00
Translation updater bot bd848ac4f1 Localisation updates from https://translatewiki.net.
Change-Id: Ic65af97f6c29c1e0c47317997b18ab064f80a2f5
2016-02-05 21:54:43 +01:00
Translation updater bot 622ca082ca Localisation updates from https://translatewiki.net.
Change-Id: I29d93111a508e8af12752b6b93dc13d106f01d5f
2016-02-03 23:09:41 +01:00
Translation updater bot 1b33f7b912 Localisation updates from https://translatewiki.net.
Change-Id: I499a7c36f46bed65f06c881de3df9fdf53e20036
2016-01-30 22:50:35 +01:00
Translation updater bot b382eced8c Localisation updates from https://translatewiki.net.
Change-Id: Idce091710bdb8936a362df1ce2f000b792b1b286
2016-01-21 21:56:24 +01:00
Dan Duvall 96677fb74a [BrowserTest] Experimenting with JS object references
References to JS objects for VE elements can determined by referencing
the VE and OOUI API documentation[1][2] and interrogating the objects in
a browser console. Errors should be closer to what developers understand
but testers should pair with developers to better understand how to
define new page elements and where to go for documentation/help.

The VE entrypoint for the singleton reference is `ve.init.target` (if
there's only one instance of VE target; there may be multiple in some
cases like Flow).

[1] https://doc.wikimedia.org/VisualEditor/master/
[2] https://doc.wikimedia.org/oojs-ui/master/js/

Change-Id: I1f642807cdd3059d8e7e885a8b239ac01b9b3024
2016-01-06 17:07:35 -08:00
Translation updater bot f1df0e0df4 Localisation updates from https://translatewiki.net.
Change-Id: I88a173f67541d0a5d1c8628e81871cbfce6db393
2015-12-30 21:46:23 +01:00
Željko Filipin 2cfaa9528c [BrowserTest] Update mediawiki_selenium Ruby gem to the latest version
Bug: T114241
Change-Id: Ic6cf69516a1e36173fbbf6b86494e845721a19d0
2015-12-30 11:46:23 +00:00
Translation updater bot dd85041a29 Localisation updates from https://translatewiki.net.
Change-Id: I66a72ca80277579be5674cbeb0794a70c7093345
2015-12-21 22:07:16 +01:00
Translation updater bot a6bab3aeff Localisation updates from https://translatewiki.net.
Change-Id: I9b6d4fa66a9a18160d5143de1ed1c6e783bd0ed3
2015-12-13 22:24:39 +01:00
Translation updater bot 6ceb0c39e6 Localisation updates from https://translatewiki.net.
Change-Id: Ie307b6e81958bb16c96a0ffff6b3568139564f4f
2015-12-03 23:17:58 +01:00
Translation updater bot 64d8e394ce Localisation updates from https://translatewiki.net.
Change-Id: Iaf8fb457fd0b835d5b8819f5dab015c4a59e0a78
2015-11-16 22:19:07 +01:00
Translation updater bot c1ac8806c6 Localisation updates from https://translatewiki.net.
Change-Id: I7f3c0dfe04074271159b7f22032c587374f72836
2015-11-11 21:57:36 +01:00
James D. Forrester 09800aa249 Replace 'source' icon with OOUI's 'wikiText' one
Change-Id: Id66d436b9140604ace7ebfbec1f80dc8f3830a20
2015-11-04 06:15:29 -08:00
jenkins-bot 54782884d5 Merge "[BrowserTest] Select English when LANGUAGE_SCREENSHOT_CODE environment variable is not set" 2015-11-02 12:22:39 +00:00