Cmcmahon
d0ad8076a9
[BrowserTest] new locator for page content after Save
...
Change-Id: I1f9f9542cc5c7da40f0e219ccc393255f2233535
2014-06-17 06:59:01 -07:00
Cmcmahon
a006cf0724
[BrowserTest] update ruby gems
...
This is to pick up the latest mediawiki-selenium gem. We have
removed the HTTP:Persistent gem, which should make builds
slightly slower but also more reliable.
Change-Id: I8d6bfb32e2ed4196186db563838bc025d4c378f6
2014-06-13 08:36:08 -07:00
Cmcmahon
d82a0eabd8
[BrowserTest] create a Template at run time
...
For the case of a bare wiki, make a page Template:Seleniumtest
so that something will show up when typing into the lookahead
box in the Template inspector
Note that it may take a small amount of time for the new
Template to be available to VE. If this test fails on
the first run in a bare wiki, it should pass on the
second run ,once the Template is indexed by the
search back end.
Change-Id: I70d1ff39c2fd01bb0aeee89d3c090d372b427f5b
2014-06-12 09:24:08 -07:00
jenkins-bot
502e02e360
Merge "[BrowserTest] Update login tests to use api"
2014-06-11 23:27:26 +00:00
Cmcmahon
81ee97ba54
[BrowserTest] remove experimental cursor test
...
This never did work properly, it was kept around as a toy
Change-Id: I1787b274cdd9297e906f9076b7d4135f7a29782b
2014-06-11 16:24:38 -07:00
Dan Duvall
65acd49edf
[BrowserTest] Ignore puppet-managed configuration
...
Change-Id: I19011c41a91d0cd3d4116ed6ae75894c232e970e
2014-06-11 14:51:58 -07:00
Cmcmahon
e9cc4b441b
[BrowserTest] Update login tests to use api
...
This should make it possible to run all of the VE test suite
against an arbitrary wiki (with VE installed) including
the latest vagrant image with VisualEditor role enabled
Tested on the vagrant image and on beta labs
Change-Id: Ib249e4ffb607210756bb110187c7e2864b0c83f5
2014-06-11 09:14:17 -07:00
Cmcmahon
a6b8d755fa
[BrowserTest] Remove obsolete test
...
Uses old version of api call and doesn't actually do much useful
Change-Id: Idfd831a89ed77e475e26925d23f8b62a8e4aa50e
2014-06-11 08:12:11 -07:00
Cmcmahon
56684a9847
[BrowserTest] Update gems in support of WMF Jenkins
...
Next step in porting from Cloudbees
Change-Id: I1a9cc0a53f6d3edf01826ffbeb70b3f6f20da8fe
2014-06-05 10:01:45 -07:00
Cmcmahon
336c1b8690
[BrowserTest] new test for page options
...
First pass at an Options test.
Checked in Firefox and Chrome
Change-Id: Ic5e6ec84d291c1642b8e4673c1a33517529e314b
2014-06-04 13:07:45 -07:00
Cmcmahon
1b6f55e0d7
[BrowserTest] Link UI text changed
...
Change-Id: I03c53f0f2bab321a48aae186580de1900926ab92
2014-06-02 07:03:48 -07:00
Cmcmahon
26a5d50b6e
[BrowserTest] updates for new bullets/indent UI
...
DONE: bullets test passes in Firefox and Chrome
DONE: indent/outdent test passes in Firefox and Chrome
TODO: instead of sleep do wait_until for the iframe
Change-Id: Ibcda64dc2457648abf3d5c6bc226b5cc628c0c45
2014-05-29 10:30:14 -07:00
cmcmahon
82dc0cbb99
[browser test] Dismiss new confirm dialog
...
Note: this is not a real confirm, it is an iframe with some
buttons that look like a standard confirmation but are not
Change-Id: I7854815542f05bec03ce950495dd675605916deb
2014-05-21 09:35:28 -07:00
cmcmahon
37e01c67b2
[browser test] use css for Template selector
...
Change-Id: I288c8bb8a27a6eebbd550c533837787759ef2674
2014-05-19 11:21:32 -07:00
cmcmahon
9db7256fff
[browser test] Don't rely on existing page for anon edit test
...
Change-Id: I43a7d78894ec290faa9e74b085aa2ead15958c62
2014-05-14 08:37:22 -07:00
vikassy
af2fe79f9b
[browser test] Testing use of existing reference in Reference User Interface
...
Change-Id: Ic27711bcef33614fe4706df48dbcd6d0dca038b4
2014-05-13 03:39:10 +05:30
cmcmahon
77ec006d87
[browser test] Remove bogus 10-second sleep...
...
Replace with a reasonable wait_until clause while the '...'
dialog is still visible.
Change-Id: Ie6395e83eed83ce02349f65b10cecf1dba4fef99
2014-05-09 13:50:13 -07:00
jenkins-bot
61c554e952
Merge "[browser test] Chrome is working correctly now, add tests back"
2014-05-09 20:05:32 +00:00
cmcmahon
8097121957
[browser test] Chrome is working correctly now, add tests back
...
Change-Id: I3f788bd5b38aff1108e9b8d70308c07c0731f703
2014-05-09 11:04:49 -07:00
cmcmahon
e47d02adb1
[browser test] Remove old hooks after refactoring all tests
...
Change-Id: I5782886fbaed8b520a5af727a5938f670d747c9b
2014-05-09 10:54:23 -07:00
cmcmahon
0ff3cf3436
[browser test] Transclusion test now uses API for test page
...
Also re-enabled for Chrome
Change-Id: Ibeaa993413178148d1ee6601d27c30e61e82bcb2
2014-05-09 09:48:22 -07:00
cmcmahon
a367ee5fa9
[browser test] References test has own page now
...
Also re-enabled for Chrome
Change-Id: If61848d24d9133fef514ef5c360d6d90f943abaa
2014-05-08 13:11:23 -07:00
cmcmahon
9882e67605
[browser test] Don't select link text in test
...
Avoid bug 64655
Change-Id: Id7d241e1ccb1591027a42c29478c2855dfd5813c
2014-05-08 12:46:30 -07:00
cmcmahon
cbc2fcbd28
[browser test] Media has its own test page
...
Also figured out that send_keys(") is the way to "click"
in the VE ContentEditable div
Change-Id: Ib2654a6026023f4c802eee72565d6b51731cb86e
2014-05-08 12:29:02 -07:00
cmcmahon
c416e78dcf
[browser test] Indent outdent test now uses the API
...
And re-enabled for Chrome also
Change-Id: I8e4182d25f238c987a6c47088bb302ad33d9cec6
2014-05-07 14:36:05 -07:00
cmcmahon
b62359f6f6
[browser test] Refactor Headings test to use the API
...
Re-enable this to run on Chrome also
Change-Id: Ia73778be44629a27a0ee4e3cde94f7fe2c2bf46e
2014-05-07 13:27:39 -07:00
cmcmahon
54fd7c9184
[browser test] Links test to use API for target page
...
Note that I reported Bug 64655 for Chrome but upon refactoring
this test I find the buggy behavior now in Firefox but Chrome
is fine. Browsers are weird, and the Links inspector is too.
Change-Id: Ibd90a33bb43342dc1d7410d621f01875e1c177bf
2014-05-07 11:34:11 -07:00
cmcmahon
98f955e395
[browser test] template workflow changed somewhat
...
possibly WIP
These changes make the test pass, still thinking about whether we
should test the workflow changes, which are cognitively different
than before
Change-Id: I85955836f0eeedcb55e7a5260101339d2f73d2e6
2014-05-06 16:07:03 -07:00
cmcmahon
90cfcb78c1
[browser test] Refactor markup test to use API
...
Moved "Given I go to" step out of bullets_steps
and into shared_steps since two tests now use it.
Change-Id: I354c15ddd86c9b921db7105e746239fdced2e520
2014-05-06 10:33:02 -07:00
cmcmahon
1a16b5aa9e
[browser test] refactor bullets test to use API etc.
...
Get rid of all hard-coded values for both the target page
and also the text on the target page, which is now all set
in the .feature file.
Note that we're deconstructing the @make_selectable hook
by doing this. @make_selectable may become obsolete when
all the tests are refactored to use APIPage
Change-Id: Iad1b160d9d0274effb8504f276bd4816932d299c
2014-05-05 21:44:53 +00:00
cmcmahon
fcffffbb99
[browser test] further adventures of avoiding login to edit
...
Using @edit_user_page hook is a workaround that avoids the
problem where Selenium brings up Firefox with the cursor in the
address bar
Change-Id: Iba42cbb74378952760db3db68130ac74219cde9b
2014-05-02 15:43:16 -04:00
cmcmahon
5858fb6e5b
[browser test] CE locator is simpler than it was
...
Change-Id: I3faa6de871b2e86cbd07b2e9f492e1788434e804
2014-05-02 15:06:55 -04:00
cmcmahon
0fb393823d
[browser test] use ?veaction=edit to avoid login where feasible
...
First pass, more examination to follow. After this builds will
continue to be green.
Change-Id: I8e63046ec72ae9708d1fe708b8ee86a688ccb73c
2014-04-28 15:38:18 -04:00
jenkins-bot
351ff28247
Merge "[Browser tests] Do not display link to Sauce Labs when using local browser"
2014-04-23 20:35:30 +00:00
Željko Filipin
78c22e7432
[Browser tests] Do not display link to Sauce Labs when using local browser
...
Provided by mediawiki_selenium 0.2.21.
Bug: 58040
Change-Id: Ia49a752212c4c4029c1a23f7648529cb2259adae
2014-04-22 15:50:25 +00:00
Roan Kattouw
e634be5428
[Browser tests] Fix typo in file name
...
Change-Id: Ie5a3a0c5213c354bea5a891c3a7d1514f4720b0b
2014-04-21 18:09:40 -07:00
Roan Kattouw
9eb121134f
[Browser tests] Move "I can click the X on the save box" to shared_steps.rb
...
Doesn't belong in headings_steps.rb because it's used in other
*.feature files like bullets.feature
Change-Id: I23d3772653140e6e4639785c3622fc9a2b446801
2014-04-21 18:08:23 -07:00
James D. Forrester
dd81908a50
[Browser tests] Disable svwikt production test as it's NS_USER-only
...
Unlike all other wikis with VisualEditor enabled, svwiktionary is set to
only allow VisualEditor in the User: namespace, so causing the production
test (which blindly tries to make a dummy edit in the main namespace) to
fail. For now, will just remove this one from the test.
Change-Id: I6f1eb8bd6bd384e1c9ca77c0036e3914f0dbe070
2014-04-21 19:29:29 +00:00
James D. Forrester
6e02932c3a
[Browser tests] Updated list of production wikis to check
...
Now with no wikis deliberately skipped – all passing:
Newly-working wikis:
* bpy.wikipedia.org
* cv.wikipedia.org
* mzn.wikipedia.org
* new.wikipedia.org
Previously-working wikis that weren't added here yet:
* bat-smg.wikipedia.org
* be-x-old.wikipedia.org
* cbk-zam.wikipedia.org
* fiu-vro.wikipedia.org
* map-bms.wikipedia.org
* my.wikipedia.org
* nds-nl.wikipedia.org
* roa-rup.wikipedia.org
* roa-tara.wikipedia.org
* zh-classical.wikipedia.org
* zh-min-nan.wikipedia.org
* zh-yue.wikipedia.org
Newly-added wikis that weren't added here yet:
* meta.wikimedia.org
* incubator.wikimedia.org
* fr.wiktionary.org
* sv.wiktionary.org
* fr.wikibooks.org
* fr.wikiversity.org
* fr.wikinews.org
The file has been sorted into the same order as visualeditor.dblist for
the convenience of future changes – broadly:
* Test and meta wikis (inc. MediaWiki.org and Wikimedia Incubator)
* Wikipedias
* Wiktionaries
* Wikiquotes (none done yet)
* Wikibooks
* Wikisource (none done yet)
* Commons (not done yet)
* Wikispecies (not done yet)
* Wikiversities
* Wikinewses
* Wikimanaias (none done yet)
* Wikivoyages (none done yet)
* Wikidata (not done yet)
* Wikimedia (chapter wikis)
* Private wikis (not tested here)
Bug: 60842
Change-Id: I2678a3c716487bfd8dadff68d003d0039d730f36
2014-04-18 21:56:58 +00:00
jenkins-bot
da475dd4b1
Merge "[browser test] increase wait for save to complete"
2014-04-18 16:41:02 +00:00
cmcmahon
c4707a05fb
[browser test] increase wait for save to complete
...
sleep() is evil, but let this stay at least for now
Change-Id: If3c98b2a05ea37dee0365afd5f17cf8b282ab29a
2014-04-18 09:38:27 -07:00
Željko Filipin
1236387abd
[browser test] Run all Selenium tests in Firefox
...
Paired with: Chris McMahon
Bug: 58040
Change-Id: I83d4c391fc101bda8c18a6d0c533ca75795569ff
2014-04-18 17:33:12 +02:00
cmcmahon
d62a9e939a
[browser test] Save page is slow.
...
Change-Id: I550c462795f3e51555a21e0877985052610ad8cc
2014-04-16 08:52:21 -07:00
cmcmahon
219ca37909
[browser test] make test pass in both Chrome and FF
...
Change-Id: I36fc3eb31d0a97145cff5f43aef3a5365286de29
2014-04-14 12:10:02 -07:00
cmcmahon
8134988b48
[browser test] Fix edit mode test.
...
This test never worked. Last week this feature broke but the
test continued to pass. Let's not do that again.
Change-Id: I9819a3304191959b9b194b3e675dfdd273618881
2014-04-07 11:50:54 -07:00
cmcmahon
9f57feff2f
[browser test] maintenance, locator changed
...
Change-Id: I9d9f410afe6d4fd90489ba7816b9c0dec92460b0
2014-04-04 11:51:30 -07:00
cmcmahon
85abbf7b4e
[browser test] extend timeout waiting for edit surface to appear
...
Bug 63447
Change-Id: I0be4142817251147400ea34ebdb04bba760f2161
2014-04-02 14:37:46 -07:00
cmcmahon
c83ef84cdc
[browser test] updates for no beta warning to dismiss
...
See https://gerrit.wikimedia.org/r/#/c/119217/
Change-Id: If3b6f7c9b9a7ce3a4d4c5d8b822d123b50d3c106
2014-03-27 17:24:12 +01:00
cmcmahon
b15627f0ec
[browser test] Wait longer for save in multiedit workflow.
...
This timeout caused the only test failure overnight Mar 25.
Timeouts are bad.
Change-Id: I070c3362271ad23b7c38922858ad4079d0754a45
2014-03-26 08:49:56 -07:00
cmcmahon
ad6928376e
[browser test] Fix a mistake in previous commit.
...
Earlier commit did not use _element properly
Change-Id: Id8d887af21cd83a2bfaddf8db7d5121a5213a13f
2014-03-17 13:54:46 -07:00