mediawiki-extensions-Discus.../tests/cases/comments.json
Bartosz Dziewoński f934e9aefd Add integration tests using pages from sr.wp
For testing our handling of language variants.

Bug: T259818
Change-Id: Id25b537fecd789640c209ff7f30e777455a3aece
2020-09-16 22:07:16 +00:00

129 lines
4.4 KiB
JSON

[
{
"name": "plwiki oldparser",
"dom": "cases/pl-big-oldparser/pl-big-oldparser.html",
"expected": "../cases/pl-big-oldparser/pl-big-oldparser.json",
"config": "../data/plwiki-config.json",
"data": "../data/plwiki-data.json"
},
{
"name": "plwiki parsoid",
"dom": "cases/pl-big-parsoid/pl-big-parsoid.html",
"expected": "../cases/pl-big-parsoid/pl-big-parsoid.json",
"config": "../data/plwiki-config.json",
"data": "../data/plwiki-data.json"
},
{
"name": "enwiki oldparser",
"dom": "cases/en-big-oldparser/en-big-oldparser.html",
"expected": "../cases/en-big-oldparser/en-big-oldparser.json",
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
},
{
"name": "enwiki parsoid",
"dom": "cases/en-big-parsoid/en-big-parsoid.html",
"expected": "../cases/en-big-parsoid/en-big-parsoid.json",
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
},
{
"name": "ckbwiki oldparser",
"dom": "cases/ckb-big-oldparser/ckb-big-oldparser.html",
"expected": "../cases/ckb-big-oldparser/ckb-big-oldparser.json",
"config": "../data/ckbwiki-config.json",
"data": "../data/ckbwiki-data.json"
},
{
"name": "ckbwiki parsoid",
"dom": "cases/ckb-big-parsoid/ckb-big-parsoid.html",
"expected": "../cases/ckb-big-parsoid/ckb-big-parsoid.json",
"config": "../data/ckbwiki-config.json",
"data": "../data/ckbwiki-data.json"
},
{
"name": "arwiki no-paragraph oldparser",
"dom": "cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser.html",
"expected": "../cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser.json",
"config": "../data/arwiki-config.json",
"data": "../data/arwiki-data.json"
},
{
"name": "arwiki no-paragraph parsoid",
"dom": "cases/ar-no-paragraph-parsoid/ar-no-paragraph-parsoid.html",
"expected": "../cases/ar-no-paragraph-parsoid/ar-no-paragraph-parsoid.json",
"config": "../data/arwiki-config.json",
"data": "../data/arwiki-data.json"
},
{
"name": "arwiki nbsp-timezone oldparser",
"dom": "cases/ar-nbsp-timezone-oldparser/ar-nbsp-timezone-oldparser.html",
"expected": "../cases/ar-nbsp-timezone-oldparser/ar-nbsp-timezone-oldparser.json",
"config": "../data/arwiki-config.json",
"data": "../data/arwiki-data.json"
},
{
"name": "arwiki nbsp-timezone parsoid",
"dom": "cases/ar-nbsp-timezone-parsoid/ar-nbsp-timezone-parsoid.html",
"expected": "../cases/ar-nbsp-timezone-parsoid/ar-nbsp-timezone-parsoid.json",
"config": "../data/arwiki-config.json",
"data": "../data/arwiki-data.json"
},
{
"name": "frwiki fr-unsigned oldparser",
"dom": "cases/fr-unsigned-oldparser/fr-unsigned-oldparser.html",
"expected": "../cases/fr-unsigned-oldparser/fr-unsigned-oldparser.json",
"config": "../data/frwiki-config.json",
"data": "../data/frwiki-data.json"
},
{
"name": "frwiki fr-unsigned parsoid",
"dom": "cases/fr-unsigned-parsoid/fr-unsigned-parsoid.html",
"expected": "../cases/fr-unsigned-parsoid/fr-unsigned-parsoid.json",
"config": "../data/frwiki-config.json",
"data": "../data/frwiki-data.json"
},
{
"name": "srwiki sr-ec variant",
"dom": "cases/sr-ec/sr-ec.html",
"expected": "../cases/sr-ec/sr-ec.json",
"config": "../data/srwiki-config.json",
"data": "../data/srwiki-data.json"
},
{
"name": "srwiki sr-el variant",
"dom": "cases/sr-el/sr-el.html",
"expected": "../cases/sr-el/sr-el.json",
"config": "../data/srwiki-config.json",
"data": "../data/srwiki-data.json"
},
{
"name": "No heading",
"dom": "cases/no-heading/no-heading.html",
"expected": "../cases/no-heading/no-heading.json",
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
},
{
"name": "Manually added signature with LRM",
"dom": "cases/lrm-signature/lrm-signature.html",
"expected": "../cases/lrm-signature/lrm-signature.json",
"config": "../data/nlwiki-config.json",
"data": "../data/nlwiki-data.json"
},
{
"name": "Link using fallback 8-bit encoding (invalid UTF-8)",
"dom": "cases/fallback-encoding-link/fallback-encoding-link.html",
"expected": "../cases/fallback-encoding-link/fallback-encoding-link.json",
"config": "../data/huwiki-config.json",
"data": "../data/huwiki-data.json"
},
{
"name": "Signatures in funny places",
"dom": "cases/signatures-funny/signatures-funny.html",
"expected": "../cases/signatures-funny/signatures-funny.json",
"config": "../data/enwiki-config.json",
"data": "../data/enwiki-data.json"
}
]