Commit graph

106 commits

Author SHA1 Message Date
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
Ed Sanders cfee8047e4 Use ClassAttributeNode mixin in MWBlockImageNode
This functionality was factored out into core for this purpose.

Depends on I2db6563 in core.

Change-Id: I4fc42e1468a9f0860c7c13e73967204bdf5ad78d
2014-10-29 18:28:33 +00: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
Ed Sanders eb81251401 Update method name in test description
Change-Id: Idf01c167b5c7f3d930b23778e72c242bb5b61c40
2014-10-10 10:20:35 +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
Ed Sanders 1af18c3c12 Update VE core submodule to master (984b57a)
New changes:
6bbcd6a Localisation updates from https://translatewiki.net.
b8d8a5b [BREAKING CHANGE] The Great Selection Rewrite of 2014

Local changes:
Update to use new selection/range API

Change-Id: I5480d5c77d599c93c2d374fac88bb2fdb68b0024
2014-10-07 21:39:33 +02: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
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
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
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