Reenable test after Cite-related fix

Bug: T247921
Change-Id: Ic5ddcb2b861186f3defd10447b4d1b525bda3fbf
Depends-On: Ieff73769f8ebbc3724f6a9b498487c4e7d09aa2e
This commit is contained in:
Adam Wight 2024-07-02 12:33:00 +02:00 committed by Awight
parent 4715dd444d
commit a0ece81a44

View file

@ -38,16 +38,14 @@ QUnit.test( 'beforePaste/afterPaste', ( assert ) => {
expectedHtml: '<p>ab</p>',
msg: 'Read mode references stripped'
},
/* FIXME: temporarily skipping for T247921
{
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 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="{&quot;name&quot;:&quot;ref&quot;}" class="mw-ref reference"><a><span class="mw-reflink-text">[1]</span></a></sup>b</p>',
msg: 'VE references not stripped'
},
*/
{
documentHtml: '<p></p>',
rangeOrSelection: new ve.Range( 1 ),