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
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
jenkins-bot
d183c74d6b
Merge "[browser test] dismissing beta 10X is overkill"
2014-03-17 20:07:18 +00:00
cmcmahon
f0731084da
[browser test] add when_present to link header check
...
I was surprised to find this missing, this was a mistake that
causes bogus failures
Change-Id: Iab38ef4db315993ca1f31c079f17be22ebf17d3c
2014-03-17 11:37:36 -07:00
cmcmahon
0a2f97d3b9
[browser test] dismissing beta 10X is overkill
...
Change-Id: Ic674bcb53d54948d6beb58338cbef030fc3e524f
2014-03-17 11:29:37 -07:00
cmcmahon
5da22148e8
[browser test] Navigate different path through template
...
Change-Id: I8f16353c6493ddac41b0856b4909c29a595f48d7
2014-03-13 10:06:57 -07:00
cmcmahon
806f29a79b
[browser test] "Apply changes" is now "Insert template"
...
Change-Id: I2aaa88ade12a9f68d65b2025c79c93840177670c
2014-03-13 07:55:16 -07:00
cmcmahon
9de8448e8b
[Browser tests] Remove dumb stuff from steps.
...
This might improve the flakiness in the Sauce runs. I am not
certain of that though
Change-Id: I80dd0829aba278ccbda9a4f34a15cbb140ce9e7d
2014-03-12 17:30:01 +00:00
cmcmahon
007538a520
[Browser tests] Updates to transclusion tests should turn build green
...
Change-Id: I9a504abff73f56535d26d3205a2a4345290ba987
2014-03-07 22:57:14 +00:00
cmcmahon
5544333be9
Use regexes for text of headings links
...
Change-Id: I196e555c818dda0f9211e9e402255b29d93a3b7e
2014-02-26 14:37:05 -07:00
cmcmahon
c6a1bbdacf
Disable headings test while Bug 61856 is under investigation
...
This is an expensive test and I'd rather not run it than
have it always failing.
Change-Id: I8ee30bf3e6eb0841f51a4ab02610dd2b3ce8349e
2014-02-25 07:59:12 -07:00
Antoine Musso
c77d2d1ff6
[Browser test] @clean the Basic Edit feature
...
Merely for testing the browser test Jenkins job.
Change-Id: I425af4bd2f6e709252931dc49d64bb4f47539710
2014-02-21 21:28:24 +00:00
Jeff Hall
4d2209e987
[Browser test] Headless browser test(s)
...
Ready for code review!
New headless browser test for use on a fresh Mediawiki install that
includes VisualEditor. Using the gem mediawiki_api
Updated to use the create-user API method from the
mediawiki_api gem.
Bug: 53691
Change-Id: I07d4ae5fac346b0c2ee8c33a2dc2456299047ace
2014-02-20 08:44:11 -08:00
Jeff Hall
2c691ff666
[Browser test] Alternate solution for "headings" browser test
...
Change-Id: Iab455ba36817623b62b2c8fe881b2756d9023329
2014-02-19 10:48:15 -08:00