Commit graph

346 commits

Author SHA1 Message Date
Cmcmahon 6d22cebb62 [BrowserTest] remove sleep from multiedit test
* put the shared step in shared_steps.rb
* replace "onfocus" with simple "click"
* update RSpec while we're at it

Change-Id: I77754abdbeba1314758f5fe10601f6601e8783bd
2014-11-14 15:30:10 -07:00
Cmcmahon 36e07b247e [BrowserTest] simple upate to a nice test
Change-Id: Ib52582a677d8dc2f22552bf7c60f48de8f20d3c7
2014-11-14 13:43:31 -07:00
Cmcmahon ea9df60aa3 [BrowserTest] RSpec update
Change-Id: I03f89eda4292482dedaa335e3546af724ee55024
2014-11-14 13:32:59 -07:00
Cmcmahon 1aa5d8905b [BrowserTest] remove sleeps from links test
Change-Id: Ib0e09735331dadd5bb494fe87683f6f08b6aee31
2014-11-14 12:30:13 -07:00
Cmcmahon da42fe407c [BrowserTest] hygiene changes
* alphabetize headings steps
* move diff view check to shared_steps.rb

Change-Id: I68ac8de2f67a61bdd50f4892f58368e1bbd71271
2014-11-14 16:05:14 +00:00
Cmcmahon e4eeb40c17 [BrowserTest] interim alphabetization only
Change-Id: I3a724d2cadbc40c63978058e4b2684ef86ceec03
2014-11-13 10:04:19 -07:00
Cmcmahon 3ed807277e [BrowserTest] minor updates for hygiene, no functional changes
Change-Id: I3d8ca33bd850caeb44b8e8e8017f2fa302676b1a
2014-11-13 09:08:15 -07:00
Cmcmahon 41aaaf4886 [BrowserTest] make bullets test modern
* remove unnecessary wait times
* remove unnecessary sleep() statements
* remove unused steps
* update for RSpec3.0 syntax

Change-Id: Ie76135154042834e2eb8b008872aced5ac210ee5
2014-11-12 10:55:37 -07:00
Cmcmahon 87bd220eed [BrowserTest] refactor for alphabetization and space only
preliminary to updating Then statements to RSpec3.0 syntax

zero change to function or syntax, just arranging things so
we can review them later.

Change-Id: Id0f006d0fcf74010c06cb7ae6386ea6bcaff0e55
2014-11-12 09:22:30 -07:00
Vikas S Yaligar 901b0deeed [BrowserTest] Fixed failing language screenshot browser tests
Bug: 73033
Change-Id: Iea3a03b1ec628bfe03f10b4cb2a4795d4fabb8bc
2014-11-10 11:07:49 +00:00
Cmcmahon beebfff6f9 QA: sort remaining page elements that belong in the iframe
We need to figure out where the language screenshot elements reside

merged as an interim step to share the code more easily, no change
to function

Change-Id: Icae480aaa526a9de6e6926e027c0cac0c7de997e
2014-11-05 15:39:10 -07:00
Cmcmahon f8b34e4e89 QA: remove stuff now that iframes are gone
Change-Id: I6d520acd9d1e18d803f7e44f5ea45502658f14d9
2014-11-05 10:01:55 -07:00
ryasmeen@wikimedia.org 4aa8be0e71 [BrowserTest] WIP adding cases to test other options under Page Settings to options.feature
Also:
* Fixed a typo in options_steps.rb
* Disabled Metrics/ClassLength Rubocop cop.

Change-Id: I7128ba8f7ebf9c63aef9399a9cdf24831e1a2d38
2014-11-04 15:01:45 -08:00
Cmcmahon 3b53b23fb1 [BrowserTest] no iframes for switch mode test
Change-Id: I99e4686144ded173f8d91be87f02a4c144284237
2014-11-04 08:06:33 -07:00
Cmcmahon 0f2310a49d [BrowserTest] no more iframes for "no review" message
Change-Id: I9f7429eff32043c26264faa48404e6f573330b7f
2014-11-04 07:46:24 -07:00
Cmcmahon 666001ba1c [BrowserTest] no more iframes for transclusion
Change-Id: Ifc50a50e98de18612e6ab4b548b1cf6ec05bc825
2014-11-03 16:27:17 -07:00
Cmcmahon aab1680244 [BrowserTest] no more iframes for switch modes test
Change-Id: Ifebc458f9ff9583954226d86759753b0314db649
2014-11-03 15:51:55 -07:00
Cmcmahon 396d74053b [BrowserTest] no more iframes for References
Change-Id: I7f5cf7b991cfcfd3ebebe0f17bb594802fe7dea0
2014-11-03 15:41:38 -07:00
Cmcmahon 9b6e21cf0b [BrowserTest] no more iframes for options
Change-Id: Iee2c88f693edb68017154a497aea05d16eb7453c
2014-11-03 15:18:44 -07:00
Cmcmahon 6907583418 [BrowserTest] no more iframes
Change-Id: I8090f95ccd1cf2744649084c863e6034db062d87
2014-11-03 14:45:52 -07:00
Cmcmahon fcfb847276 [BrowserTest] no more iframes for Media test
Change-Id: I724e071935f383185fdc44cf1a139931f8ded557
2014-11-03 14:37:59 -07:00
Cmcmahon a51783983f [BrowserTest] no more iframes for Links test
Change-Id: I72c01981b332a32711e929543a61a780de962a2e
2014-11-03 14:18:21 -07:00
Cmcmahon 61f8cf7ca5 [BrowserTest] click More button, no iframes
Change-Id: I1426f4dcfb65d6e38be5f7e495e9600f98894525
2014-11-03 13:57:29 -07:00
Cmcmahon 3b57451863 [BrowserTest] no more iframes for Cite test
Change-Id: Ic31521dc8124818df1451a57ae396ca2e9c6beef
2014-11-03 11:57:55 -07:00
Cmcmahon 282afbbb2f [BrowserTest] Resume Editing no longer in iframe
Also workaround for Bug 72911

Change-Id: Idbff05837dd97ace534ec732c0ba56b6b523bbe0
2014-11-03 11:02:23 -07:00
Cmcmahon df039a6ee9 [BrowserTest] stuff moved out of the iframe to the main page
step-wise update, probably more changes to come

Change-Id: Ia40c03dd59ab0b28af56176b6da4d30a1e66a195
2014-11-03 10:31:26 -07:00
Amir E. Aharoni b4e98c1490 [BrowserTest] Disable two failing scenarios
To allow other screenshots to be created.

Change-Id: I3e892baa9cb2c8c1303fab232a2b1c64ebdd8f26
2014-10-29 09:44:55 +00:00
Cmcmahon 0a3ac40288 [BrowserTest] Add "Then…" steps to Cite Basic test
Change-Id: I43b28e8c95d3da0c3b94a8ea12ff3c376eedb1b5
2014-10-22 01:00:08 +00:00
Cmcmahon bc76c6ea3e [BrowserTest] create simple test for Basic Citation
We can make this more sophisticated later, but right now it
accurately checks that upon clicking Basic citation, the user
sees a true VisualEditor UI

Change-Id: Icea910e2bc1bbd4277a7e8eee08f2b0e49661062
2014-10-21 12:10:19 -07:00
Željko Filipin 32736ae679 [BrowserTest] Prepare repository for running RuboCop after every push to Gerrit
For now ignoring all problems.

Bug: 69245
Change-Id: I4f5db441725062c1ea1ad8ba0955f18f49973583
2014-10-21 17:35:04 +02:00
Ed Sanders ecdfeb3892 [BrowserTest] Fix class name for ve-ui-contextMenuWidget
Change-Id: Ia189ee285b5614ada69844b06545847caf21fd77
2014-10-17 19:12:42 +00:00
Cmcmahon ceab7f8f76 [BrowserTest] update for autopopulated fields
Website citation now auto-populates

accessdate = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}

along with whatever the user puts in that field

Change-Id: Id72558f972be1ecc490fb196c941961871c21cf2
2014-10-16 10:09:04 -07:00
Cmcmahon 08e7f55a51 [BrowserTest] suggest list is no longer in the iframe
Change-Id: I20e58b4de436b09f08cbea01b05c5fa578e5721d
2014-10-14 11:13:29 -07:00
Alex Monk 8bc150f901 Sort out some odd file permissions
Bug: 71933
Change-Id: I520ee83a9b4d6adec4b430238640cfd58b49aeb4
2014-10-12 03:01:31 +01:00
Amir E. Aharoni 97b9c1111a [BrowserTest] Handle a off-bounds image condition in language screenshots
Paired-With: Zeljko Filipin.

Change-Id: I73cba5b5214798958aba6ed2a87361e2bd1b76a7
2014-10-09 14:28:50 +00:00
jenkins-bot c823b736ec Merge "[BrowserTests] Put automatic language screenshots in more specific category" 2014-10-02 15:34:13 +00:00
Željko Filipin 4d036f6fe1 [BrowserTest] Fixed language screenshot scenario
VisualEditor no longer has cancel button.

Change-Id: Ia06469c23cc527ae87170d6aa5b9066fbc9933a6
Paired-With: Amir Aharoni
2014-10-02 15:34:04 +02:00
Željko Filipin 4ab4ad64dc [BrowserTest] Fix failing VisualEditor_save_dialog scenario
Looks like VisualEditor does not allow saving the page, if the changes
to the page were made while the browser did not have focus.

Change-Id: I959bcb4cc2f72237d2ea75249a56e140d4f7c867
Paired-With: Amir Aharoni
2014-10-02 14:45:24 +02:00
Vikas S Yaligar 9a5caf8dd2 [BrowserTest] Fixed failing language screenshot scenarios
Bug: 71298
Change-Id: Ifcd52935e782e292f9289a72d5e7c4ad12921b4b
2014-09-26 17:49:24 +00:00
James D. Forrester 136510b1cc [BrowserTests] Put automatic language screenshots in more specific category
Change-Id: I52f92a3e4da0f173596c8a68a572351deba46ade
2014-09-25 10:45:41 -07:00
Željko Filipin ac804a537a [BrowserTest] Disable screenshots for broken scenarios
Workaround for bug 71298.

Change-Id: I23ed22f8859a09821b6ef5edac8eff4ca0f3b17c
Paired-with: Amir Aharoni
Bug: 71298
2014-09-25 15:18:47 +02:00
Cmcmahon b6b93fc860 [BrowserTest] inadvertent clash of identifiers from earlier update
Change-Id: I1a86db0f4fa9ee0f327cf371b76c9ebf25ddc17e
2014-09-15 14:48:49 -07:00
Cmcmahon e71699f06a [BrowserTests] Pick up the latest webdriver to run latest Firefox
Pure maintenance

Change-Id: I709bcae2a609904c5ce75e22c61588d5012dec17
2014-09-15 13:48:12 -07:00
Cmcmahon 954fec83e1 [BrowserTest] UI text changed s/Cancel/Resume editing/.
Change-Id: I774b6a3cf02627ea0399377b9f6d57ca474ead07
2014-09-12 10:53:59 -07:00
Cmcmahon aa67deaeef [BrowserTest] add one test to validate new ie11 build
Change-Id: I9add1caf0083e757d0a7f6da513bd798fd74e97e
2014-09-12 08:55:14 -07:00
Cmcmahon 3351241659 [BrowserTest] Add @safari and @internet_explorer tags for Jenkins build
Change-Id: Ia39fd2cf40cea7f6c4df364a45b0744ca92bfb7d
2014-09-11 08:11:47 -07:00
Cmcmahon 6a90a9070a [BrowserTest] Locator for template field remove changed
Change-Id: I647a937c6e07e6bf3dae515fd684ebe2274ddc54
2014-09-04 10:45:55 -07:00
Cmcmahon 16ca79057f [BrowserTest] updates for Cite test
Test additional fields

Change-Id: I9368962bd2b8e7217c064c9b8779d5d53585154d
2014-09-04 10:07:27 -07:00
James D. Forrester f2e22babaa Update VE core submodule to master (1f82a47)
New changes:
5d063a2 Don't use three different coordinate systems in getSelectionRect()
feeb1ae Only focus the paste target if focusedNode has changed
2c1bb97 Update OOjs UI to v0.1.0-pre (4cef83f702)

Local changes:
* Update references to renamed classes
* Update calling patterns element mixins

Change-Id: I330c0e308807597dec31dad8dbf713eb29fdc290
2014-09-03 17:20:09 -07:00
Cmcmahon 1b45b120e8 [BrowserTest] update Cite element locators
Also small refactor for readability

Change-Id: I65c1b589413bdb7de784aa3c4e0e189fca10bab3
2014-08-29 10:12:31 -07:00
Cmcmahon 3a964326a5 [BrowserTest] element locator changed
Change-Id: I456cd0718513e6338ccbbae86634d3e3bd1464b9
2014-08-29 09:12:50 -07:00
Cmcmahon af988015bb QA: update to fix deprecated API token call
Change-Id: Ibad3aa773dcf5390eb7c729a2731ef2fe76b174c
2014-08-27 09:27:52 -07:00
Ed Sanders 9a1e3852fc Update VE core submodule to master (c231b71)
New changes:
c9f1027 Remove broken ve.isMsie() function
6571da1 Fix case on language annotation CSS class
c231b71 Fix case in all annotation classes

Local changes:
Fix case in all annotation classes

Change-Id: Iba2596cde52d8f8be27e0257893ef8ec77798ae8
2014-08-22 14:27:14 -07:00
Cmcmahon 0755c16e85 [BrowserTest] language screenshot update
I think I broke this by accident, fixing

Change-Id: I51051fdf71c593bf14ad3fca9a12c554ade5274a
2014-08-21 15:46:53 -07:00
Cmcmahon b9b76bb5e1 [BrowserTest] UI has new text in buttons and headers
Change-Id: Ifb2fac1ec47672751f9a585a2a60827d7981ac00
2014-08-21 14:56:03 -07:00
jenkins-bot 60808e5d54 Merge "[BrowserTest] add News and Journal to Cite test" 2014-08-21 20:19:19 +00:00
Cmcmahon bc9ecd1d46 [BrowserTest] add News and Journal to Cite test
Change-Id: I86922627de85371e6c5447a92f0671bea42cda5f
2014-08-21 13:17:01 -07:00
James D. Forrester 1e68d0cb5e Re-label inserting mode of transclusion dialog from "New template" to "Add a template"
Bug: 69692
Change-Id: Ia762d35117b01a908e04cf4b7ac1582f3d148f6f
2014-08-21 01:52:23 +00:00
James D. Forrester 5148a0836a Rename "reference list" to "references list" internally
That's what we call them in human-speak, and it makes sense to have them align.

Bug: 49923
Change-Id: I8dcfba249fb9ea13c2b4052e98a4d253c302b1ba
2014-08-20 18:26:54 -07:00
jenkins-bot 14f02ac15f Merge "[BrowserTest] create new test for Cite tool" 2014-08-18 17:20:20 +00:00
Cmcmahon 0f5289294d [BrowserTest] create new test for Cite tool
Change-Id: Ibc06377fa28bef53a5f8ca734026a4485888e0ad
2014-08-18 10:17:17 -07:00
Vikas S Yaligar 438f0a0fcc [BrowserTest] Language screenshot job should run specific scenarios
Change-Id: Ia8ab136018b434b4d53db06f8c91af95e3ef8474
2014-08-13 14:15:03 +00:00
Vikas S Yaligar d39f014058 [BrowserTest] Added browser tests for formula, reference list and save button
Change-Id: I96a7dfd09336ae919775f7d0234dd9c11ce93268
2014-08-13 13:39:10 +00:00
jenkins-bot 623b59e4a5 Merge "[BrowserTest] Browser can now zoom out whenever required" 2014-08-07 08:56:49 +00:00
Vikas S Yaligar d6836f1ac5 [BrowserTest] Browser can now zoom out whenever required
Change-Id: I50c3a0a0473d487249fbf7c830cf7d9f5fc528bc
2014-08-07 14:11:42 +05:30
Vikas S Yaligar 69c665979f [BrowserTest] Added support for highlighting the page object elements
Sample screenshot => http://www.mediawiki.org/wiki/File:VisualEditor_Media_Insert_Menu-en.png

Change-Id: I92e204db4c3e4101bc8a88093359ce199d3dbba1
2014-08-06 13:49:55 +00:00
Vikas S Yaligar ca6816be63 [BrowserTest] Client logins only once to upload all screenshots
Change-Id: Ic242d8b2f35ced23809d4454a44f28f260bb3eb7
2014-07-29 12:35:19 +00:00
jenkins-bot 265de12b2d Merge "[BrowserTest] Language of images should be in subcategory of VisualEditor" 2014-07-29 12:35:05 +00:00
Vikas S Yaligar c6b96d10e5 [BrowserTest] Save button locator now supports language screenshots
Change-Id: Ib3b6c577aee3e8fa61f76f19a170e4cf5c76bf45
2014-07-28 20:02:04 +05:30
Vikas S Yaligar d4eb0ea00d [BrowserTest] Language of images should be in subcategory of VisualEditor
Paired with Amir Aharoni

Change-Id: Ibf77dffbb3468446c3a5828fad053f8cac6861af
2014-07-28 13:16:38 +00:00
Cmcmahon 2fb3375000 [BrowserTest] turn Headings test back on for the builds
Change-Id: I58848fc8393ac2007dbb724e34a4c85e5142df7d
2014-07-25 12:55:11 -07:00
Cmcmahon 9b93c2c4fd [BrowserTest] prevent premature click of Edit button
Change-Id: Ibce2bf0f75e0639bbd3b90f2dc73716e43797841
2014-07-25 11:16:20 -07:00
Vikas S Yaligar aee1b125fc [BrowserTest] Language screenshot feature runs only for language screenshot job
Changes made in job which uses this patch is
https://gerrit.wikimedia.org/r/#/c/149012/

Bug: 68467
Change-Id: I8a28cfcf98b7cfcb64e809f08c7deadf086ba6d6
2014-07-24 22:43:43 +05:30
Cmcmahon 90a58ffe17 [BrowserTest] Switching from VE to wikitext update workflow
It got a little more complicated that it had been

Change-Id: I511aa1b6d5738f1c19d9ac395efccfef6b328798
2014-07-24 13:57:33 +00:00
Cmcmahon 5b439da8bc [BrowserTest] Add parameter no longer exists
Change-Id: If422bedef833d0b97ca0105ad72c4ce69411bf38
2014-07-23 17:00:21 -07:00
Vikas S Yaligar e0e1b38f13 [BrowserTest] Language screenshots are uploaded every 5 seconds
Change-Id: I25b7842b827b9d9366aeafb423b1884271bb39f0
2014-07-22 19:09:06 +05:30
Cmcmahon 7b7d8c02a4 [BrowserTest] update Save button locator
Change-Id: I2383a279ab170c382f465d3a7c2f4a3e6b275c48
2014-07-21 09:19:55 -07:00
vikassy 365453f2b3 [BrowserTest] Added @login tag to language screenshot feature
Change-Id: I31f58d4321d8dd251d1a0fcb641ca939a60b1aa0
2014-07-21 17:47:44 +05:30
jenkins-bot 23a0fcb249 Merge "[BrowserTest] Updated random page step to language screenshot page" 2014-07-18 12:46:45 +00:00
vikassy 06f15fb7eb [BrowserTest] Updated random page step to language screenshot page
Change-Id: Ica2ae78afcba264d222b02923863b8f23452e259
2014-07-18 18:06:23 +05:30
vikassy 8e1c3de801 [BrowserTest] Fixed failing Media Icon test
Change-Id: I1d07398f1b8f999c76dc278ed8950778ba1e8fd9
2014-07-18 11:01:11 +00:00
Cmcmahon cda44f8a9e [BrowserTest] support for Chrome
Chrome is strict about z-index stuff

Change-Id: Icc477891ce1a9ad0fa75a77bcdd387bf6ca13c48
2014-07-17 12:08:16 -07:00
vikassy f58d98fcb9 WIP [BrowserTest] Modified conflicting step: I go to the (.*?) page
Change-Id: Ie0ff326890efddf255320da62a2dd1ec46ffae20
2014-07-17 17:09:47 +00:00
Cmcmahon dc4db46539 [BrowserTest] Chrome needs to wait for the inspector
Change-Id: Iface30b72959b75d04beb54aa76d5798920a881e
2014-07-17 09:28:31 -07:00
jenkins-bot a69ab13cf1 Merge "[BrowserTest] Added lots of new scenarios for language screenshot" 2014-07-17 14:40:59 +00:00
Cmcmahon 406a4c31ae [BrowserTest] update locator for correct page text
Change-Id: Ida8ce2da1061d557520654d2a45369828eefad42
2014-07-17 07:00:28 -07:00
vikassy 27390478b9 [BrowserTest] Added lots of new scenarios for language screenshot
Bug: 62737
Change-Id: If30a9acbe772b76f8a2656ccf3f219dbede9853c
2014-07-17 18:48:53 +05:30
Cmcmahon d0b8f62276 [BrowserTest] update switch-edit-mode test for new UI
Also add new checks for switch-modal Discard and
Cancel options

Change-Id: I228b0dee1d110f6a72be4966bbc5918f294ab717
2014-07-16 15:38:52 -07:00
Cmcmahon ea96b33c2c [BrowserTest] update template test
Change-Id: I0956bf58e15b1998b995bbcaddbe2514a8d7a058
2014-07-16 12:21:57 -07:00
jenkins-bot bb213db797 Merge "[BrowserTests] update References test for new UI" 2014-07-16 18:27:03 +00:00
Cmcmahon 48044d0ec5 [BrowserTests] update References test for new UI
Change-Id: I9c91a195cb42136422dec59e22d4a3164deaa8d9
2014-07-16 11:24:37 -07:00
Cmcmahon 0791e5c761 [BrowserTests] update Options test for new UI
Change-Id: If435620bc730a3b9d04918fcd4181e08d286e5a1
2014-07-16 11:12:46 -07:00
jenkins-bot 97d286aa0f Merge "[BrowserTest] update links test" 2014-07-16 15:27:24 +00:00
Cmcmahon a8c33dfdd7 [BrowserTest] update links test
This may not be the last update, I want to see how this works in
the Jenkins build

Change-Id: Ib2123d030bc13e84099601a858a5f69aee3a03a4
2014-07-16 08:24:22 -07:00
Cmcmahon 8d39658d6c [BrowserTest] update media test for new UI
Change-Id: I35f75b8cb0fac27167d4f949069c48baac499b02
2014-07-16 07:37:36 -07:00
Željko Filipin f850ddf73b Rename "test" folder to "tests"
All other repositories have tests in “tests” folder. For more
information see:

http://lists.wikimedia.org/pipermail/qa/2014-July/001663.html
http://lists.wikimedia.org/pipermail/qa/2014-July/001667.html
http://lists.wikimedia.org/pipermail/qa/2014-July/001672.html

Change-Id: Ib1e4fa4b7203bd8217615db1ceac23a329c081f1
2014-07-15 18:00:32 -07:00