Commit graph

77 commits

Author SHA1 Message Date
Ž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
James D. Forrester 5ed0f35e11 Move IE10 to the greylist too
Also add a test for IE11 being on the greylist.

Change-Id: I45f1b9f00320237597fa1974932c04102328f0b6
2014-09-26 12:56:04 -07:00
Vikas S Yaligar 9a5caf8dd2 [BrowserTest] Fixed failing language screenshot scenarios
Bug: 71298
Change-Id: Ifcd52935e782e292f9289a72d5e7c4ad12921b4b
2014-09-26 17:49:24 +00:00
jenkins-bot 7c1c8cfe2e Merge "Remove test for functionality tested in core" 2014-09-26 02:51:33 +00: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
Roan Kattouw 34ec304ec7 Update VE core submodule to master (d6904b5)
New changes:
925ed5c Move sluggability methods to model
a618491 Calculate slug positions in the model
b8fb05e Make the trigger demo kind of work again
e41d22e Update OOjs UI to v0.1.0-pre (ec785c2c64)
4119470 build: Make headers atop dist files suitable for distribution
fca4fec Follow-up cc657c4: Change strikethrough key command to not clash with Macs
a29a561 Add hasSlugAtOffset to DM document
9f47efb Move getRelativeOffset, getRelativeRange, getNearestFocusableNode to model
aa35e96 Remove hard coded types from canHaveSlugBefore and fix logic
49a239b Emit 'position' and 'contextChange' events correctly
3c50321 Refactor out finding of CE focusedNodes
d6904b5 Update OOjs UI to v0.1.0-pre (f2c3f12959)

Local changes:
* Move ce.Document tests to dm.Document

Change-Id: Ifa5abd0341e858b20e73e9071d597a25112cadfb
2014-09-18 17:03:46 -07:00
Ed Sanders 69ae829737 Remove test for functionality tested in core
Add comment to remaining test explaning its purpose.

Depends on Id7c291b in core.

Change-Id: Ia545edac3b2adbd6d45ed5427a9e5e6f9df0da54
2014-09-18 13:15:24 -07:00
Ed Sanders 480d9c05fc Remove 'new' keyword where not used
Factory methods create the instance internally.

Change-Id: I1daa9751536948edc98bd71305a942418806c459
2014-09-18 12:54:41 -07: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
jenkins-bot 050205ea85 Merge "Convert all instances of assert.equal to assert.strictEqual" 2014-09-11 21:37:45 +00:00
Ed Sanders c35d68d52b Convert all instances of assert.equal to assert.strictEqual
We don't tolerate == in our code, so we shouldn't use it in our tests.

Change-Id: I6ed7aebbad8013839af2521819fc6507df014a1a
2014-09-11 10:50:44 -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
jenkins-bot aa95f70c4e Merge "Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up" 2014-08-25 18:00:07 +00: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
James D. Forrester a232147b11 Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up
Change-Id: I75ac4b378ef485feead9d0eff34ed7877b94b5d0
2014-08-22 13:50:48 -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
Roan Kattouw c43dc5e362 Bring MWTransclusion example data out of the stone age
The example data still used the old format for data-mw that predates
support for multi-template transclusions in Parsoid. The old format
has now been retired, and any attempt to interpret it will cause
JS errors.

Also removed data-parsoid from most of these examples while I was
at it.

Change-Id: I2b7816b7edc580cec0ed29fb166458351a0c6ed3
2014-08-20 13:54:46 -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
Roan Kattouw e72f804565 "Fix" hack in ve.test.utils to prevent immediate surface setup
This used to work because loading i18n files took time. However,
we now don't register any message paths with the platform, so
platform initialization is now synchronous, which breaks the hack.

Instead, explicitly assign an unresolved deferred to the platform's
initialization promise, and resolve it after the mw.Target has been
constructed.

*barf*

Change-Id: I287cb86ce8c4c534fd723532f34463359a8ccc7c
2014-08-13 12:37:31 -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
jenkins-bot 30bdf71193 Merge "[BrowserTest] Add parameter no longer exists" 2014-07-24 00:38:56 +00:00
jenkins-bot 3771aa92c1 Merge "Make the image model work without a node" 2014-07-24 00:32:54 +00:00