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:
Adam Wight 2024-07-24 11:42:36 +02:00
parent 8e56a05d6b
commit b4da46585c

View file

@ -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="{&quot;name&quot;:&quot;ref&quot;}" 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="{&quot;name&quot;:&quot;ref&quot;}" 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 ),