This is an illustration of how one can get a screenshot of
the Headings pull-down menu and formatting pull-down menu for the Visual Editor User guide[1].
To see how it works:
* Set environment variable LANGUAGE_SCREENSHOT_CODE to which ever
language you are planning to run browser test for.
(Eg: de for German/en for English)
* Set environment variable LANGUAGE_SCREENSHOT_PATH (optional)
to store the screenshot in that path. If not provided the ./screenshots folder will be used.
* Run the browser test as usual using cucumber or you can use @language_screenshot tag while executing
(bundle exec cucumber --tags @language_screenshot)
[1]: https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide
Bug: 62737
Change-Id: I0f27aec482458b6f04aa913426042f78695d451d
New changes:
5321ee2 Work around IE DOMParser bug in ve.createDocumentFromHtml
3d6f0e2 Use subtle border styling for unstyled tables
b1baa3d Localisation updates from https://translatewiki.net.
Change-Id: Ic962fbc1dcbca1a83b4c16756278981c45c5e865
New changes:
b90f7f8 Localisation updates from https://translatewiki.net.
16d222c Remove .inIme state from CE Surface
abc730a build: Update jscs and use new "wikimedia" preset
457b8d9 build: Re-enable validateIndentation
6bce1d1 Localisation updates from https://translatewiki.net.
1aa3143 Cache block drop position data before setTimeout
Change-Id: I9330a67b5121f3c1c55ac4fbaf2b245d945f821f
For {{echo}} we would show "echo", but for {{Echo}} we would
show "Echo". Same for {{cite web}} vs {{cite_web}}. Normalize
these template names before displaying them in the context menu.
Reported by Matma Rex on IRC.
Bug: 66893
Change-Id: I84945aab13e53cd0aba529c298b5cc0b2e7eff1e
The issue with the test user getting logged out unexpectedly
causes 'minor edit' to not appear. The test still covers useful
features without this check.
Change-Id: If570d537824025100670e1195794efde17d5063f
* Return the fragment as it may have been cloned in the process
* Do away with DM node tree traversal, we can do everything
with offsets.
Bug: 65706
Bug: 65716
Change-Id: I9a44d562d9365d72adac199725b52555cf0a8009
This reverts commit b7401f838b.
Didn't break everything, but we should probably avoid this getting deployed until I can work out wtf is going wrong with it.
Change-Id: I048143239e998b30aba79fa395a0af1cb06c6a9b
If a block image is inserted in the middle of a paragraph, insert
the image at its beginning so the paragraph isn't broken.
Bug: 65883
Change-Id: I7b82c647d259a6712a771bb4243b269ecbb73c9c
This reverts commit 5565ccca54.
I have no idea what is going wrong on deployment-prep to cause
the error in bug 66792. Let's try to find out.
Bug: 50341
Change-Id: I5041de838128bb55c57baddae01cdcb263626537
Some surface fragment methods return a clone, so make sure
that is written back to this.fragment in dialogs, as this.fragment.select()
is called on teardown.
Functionally depends on If26cc0a2d in core.
Bug: 65706
Bug: 65716
Change-Id: Ia552b2a4c4c59ffc308a4acdecac78a7803a1c1f
Fix tests to include new insertion operation properties.
New changes:
afbd97e Localisation updates from https://translatewiki.net.
d90c212 [BREAKING CHANGE (ish)] Track original data position in insertion operations
Change-Id: Iac86f212bdb78f47f49c6984affe88feaf786765
Causing HTTP 500 errors in ApiVisualEditorEdit.php (calling
getDisplayTitle() on a non-object).
This reverts commit dedc89b5ff.
Bug: 66792
Change-Id: Iaf438660f0623dc05f76294ad847b2fc5e25bed6
New changes:
8b51398 Catch rangy exception thrown in FF
69b2b72 Remove old, unused version of rangy
355be3e Prevent getOffset from return an offset inside a content node
Change-Id: Ib669b4fa03d253f8fcb42917d0c2a7e634d43a9f
New changes:
8420735 Test cases for annotating handles own children nodes
a3395ae Improve equalRange assertion and use in more places
52ee587 Block item drag and drop
dfe6d9f Drag and drop of arbitrary selections
11ffd9a Defer focusableNode selection fix until after native selection change
Change-Id: Iffebd8c7e8fbb7c17e25984d69e692b0c0980950