This is the Parsoid equivalent of {T386792: Create legacy parser tests for the details error cases}: the process to create these tests is something like,
- Create an empty Parsoid block after each test in tests/parser/subReferencing.txt:
!! html/parsoid !! end
- Run the tests using a docker-dev:
./modules/mediawiki/bin/mwscript tests/parser/parserTests.php --wiki=dev --file=/srv/docker-dev/mediawiki/extensions/Cite/tests/parser/subReferencing.txt --parsoid
- Integrate the actual output back into the test cases until the Parsoid parser tests pass.