mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
Temporarily disable Cite-related test
This can be reenabled once Cite changes are merged. The disabled test is also updated in this patch so that it will pass with the new Cite code. Bug: T370512 Change-Id: I56b52c399d2c76689fdcb0bc7fd50a8c0ced28fd
This commit is contained in:
parent
8e56a05d6b
commit
b4da46585c
|
@ -38,14 +38,16 @@ QUnit.test( 'beforePaste/afterPaste', ( assert ) => {
|
|||
expectedHtml: '<p>ab</p>',
|
||||
msg: 'Read mode references stripped'
|
||||
},
|
||||
/* Temporarily disabled for T370512
|
||||
{
|
||||
documentHtml: '<p></p>',
|
||||
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',
|
||||
expectedRangeOrSelection: new ve.Range( 5 ),
|
||||
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>',
|
||||
expectedHtml: '<p>a<sup typeof="mw:Extension/ref" data-mw="{"name":"ref"}" class="mw-ref reference"><a><span class="mw-reflink-text"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></span></a></sup>b</p>',
|
||||
msg: 'VE references not stripped'
|
||||
},
|
||||
*/
|
||||
{
|
||||
documentHtml: '<p></p>',
|
||||
rangeOrSelection: new ve.Range( 1 ),
|
||||
|
|
Loading…
Reference in a new issue