mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-12 14:35:28 +00:00
Reenable test after Cite-related fix
Bug: T247921 Change-Id: Ic5ddcb2b861186f3defd10447b4d1b525bda3fbf Depends-On: Ieff73769f8ebbc3724f6a9b498487c4e7d09aa2e
This commit is contained in:
parent
4715dd444d
commit
a0ece81a44
|
@ -38,16 +38,14 @@ QUnit.test( 'beforePaste/afterPaste', ( assert ) => {
|
||||||
expectedHtml: '<p>ab</p>',
|
expectedHtml: '<p>ab</p>',
|
||||||
msg: 'Read mode references stripped'
|
msg: 'Read mode references stripped'
|
||||||
},
|
},
|
||||||
/* FIXME: temporarily skipping for T247921
|
|
||||||
{
|
{
|
||||||
documentHtml: '<p></p>',
|
documentHtml: '<p></p>',
|
||||||
rangeOrSelection: new ve.Range( 1 ),
|
rangeOrSelection: new ve.Range( 1 ),
|
||||||
pasteHtml: 'a<sup typeof="mw:Extension/ref" data-mw="{}" class="mw-ref reference" about="#mwt1" id="cite_ref-foo-0" rel="dc:references"><a href="./Article#cite_note-foo-0"><span class="mw-reflink-text ve-pasteProtect">[1]</span></a></sup>b',
|
pasteHtml: 'a<sup typeof="mw:Extension/ref" data-mw="{}" class="mw-ref reference" about="#mwt1" id="cite_ref-foo-0" rel="dc:references"><a href="./Article#cite_note-foo-0"><span class="mw-reflink-text ve-pasteProtect">[1]</span></a></sup>b',
|
||||||
expectedRangeOrSelection: new ve.Range( 5 ),
|
expectedRangeOrSelection: new ve.Range( 5 ),
|
||||||
expectedHtml: '<p>a<sup typeof="mw:Extension/ref" data-mw="{"name":"ref"}" class="mw-ref reference"><a style="counter-reset: mw-Ref 1;"><span class="mw-reflink-text">[1]</span></a></sup>b</p>',
|
expectedHtml: '<p>a<sup typeof="mw:Extension/ref" data-mw="{"name":"ref"}" class="mw-ref reference"><a><span class="mw-reflink-text">[1]</span></a></sup>b</p>',
|
||||||
msg: 'VE references not stripped'
|
msg: 'VE references not stripped'
|
||||||
},
|
},
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
documentHtml: '<p></p>',
|
documentHtml: '<p></p>',
|
||||||
rangeOrSelection: new ve.Range( 1 ),
|
rangeOrSelection: new ve.Range( 1 ),
|
||||||
|
|
Loading…
Reference in a new issue