From 638dbbff601266d7bf102fb2d154da61c09851dc Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 19 Nov 2021 13:40:26 +0000 Subject: [PATCH] ve-cite: Update CSS classes in tests Change-Id: I4546a71d541e1d22a4c34e6d0f5173a993792ff9 --- modules/ve-cite/tests/ve.dm.citeExample.js | 29 ++++++++++++---------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/modules/ve-cite/tests/ve.dm.citeExample.js b/modules/ve-cite/tests/ve.dm.citeExample.js index 1e086a36a..bac106528 100644 --- a/modules/ve-cite/tests/ve.dm.citeExample.js +++ b/modules/ve-cite/tests/ve.dm.citeExample.js @@ -32,31 +32,32 @@ ve.dm.citeExample.domToDataCases = { // // Ref in refs body: - '

Foo' + - '' + + '

' + + 'Foo' + + '' + '[1]' + '' + ' Baz' + - '' + + '' + '[g1 1]' + '' + ' Whee' + - '' + '[1]' + '' + ' Yay' + // This reference has .body.id instead of .body.html - '' + + '' + '[g1 2]' + '' + ' Quux' + - '' + + '' + '[1]' + '' + ' Foo' + - '' + '[g1 3]' + '' + @@ -65,7 +66,7 @@ ve.dm.citeExample.domToDataCases = { // which Parsoid doesn't do yet, but T88290 asks for '

    Ref in refs' + '
', fromDataBody: - '

Foo' + + '

' + + 'Foo' + '' + '' + ' Baz' + @@ -105,7 +107,8 @@ ve.dm.citeExample.domToDataCases = { '"}}">' + '', clipboardBody: - '

Foo' + + '

' + + 'Foo' + '' + '[1]' + '' + @@ -251,10 +254,10 @@ ve.dm.citeExample.domToDataCases = { name: 'references', attrs: { group: 'g1' }, body: { - html: '[3]' + html: '[3]' } }, - originalMw: '{"name":"references","body":{"html":"[3]"},"attrs":{"group":"g1"}}', + originalMw: '{"name":"references","body":{"html":"[3]"},"attrs":{"group":"g1"}}', listGroup: 'mwReference/g1', refGroup: 'g1', isResponsive: true, @@ -337,7 +340,7 @@ ve.dm.citeExample.domToDataCases = { ] }, 'mw:Reference with comment': { - body: '

' +