Commit graph

9 commits

Author SHA1 Message Date
Bartosz Dziewoński f9e530e49c Update parser tests for new heading HTML
Bug: T13555
Depends-On: I1180169a8e83af834c2984ba16089e6277f2a8dd
Change-Id: I0aed227994fd9c95d3d9612e33fec157ffa08772
2024-04-19 22:06:41 +02:00
Bartosz Dziewoński fba65815c7 Revert "Temporarily disable failing heading parser test case"
This reverts commit af76b17c7e.
No longer needed now that we've added an option for this.

The disabled test has drifted away from the reality in the meantime,
so update it.

Change-Id: Ifa906ad876eec9f09b151d21acf1de35168e1e03
2024-04-19 22:06:08 +02:00
Arlo Breault abf45611d7 Strip comments from toc section lines
Change-Id: Ide4462b9df5d02b088bf2f1c83a3c5f119366a95
2024-02-19 17:57:40 -05:00
Arlo Breault 3c6dba3707 Update parsertests with new media classes
Depends-On: Ifd4001e312a5fa4b7beaad63ba8c4e79e3201b9b
Change-Id: I132330414018cb7d3adbd4c1c4e05af91ffeec2d
2023-04-26 13:16:51 -04:00
Arlo Breault a0be3eec78 Disable tests to break circular dependency
Needed-By: Ifd4001e312a5fa4b7beaad63ba8c4e79e3201b9b
Change-Id: Ib60edacdae2ff41a0de2b2b584718fd9ce925f97
2023-04-20 16:36:41 -04:00
C. Scott Ananian 58fc38be13 Update parserTests to new format for 'property' option
In I845694d4f2109a8b9125410e8533ca69bbea50fa we changed the format of
parser tests using the 'property' option.  This updates the parser
tests in PageImages to the new format used for metadata in parser tests
(in this case, adding `!! metadata` sections).

Depends-On: I845694d4f2109a8b9125410e8533ca69bbea50fa
Change-Id: Ia7060c9bfcdebe9783ea48d429442bcdbaac459e
2023-03-07 15:24:50 -05:00
Arlo Breault 0ec66379d1 Add explicit wgParserEnableLegacyMediaDOM config to pageImagesParserTests.txt
In preparation for changing the default value.

Bug: T314318
Change-Id: Ie1ae17aec283b41dfc086371b4627b665153f086
2023-02-14 15:56:07 -05:00
Bartosz Dziewoński af76b17c7e Temporarily disable failing heading parser test case
The heading markup is changing in T13555.

Change-Id: Ib92193b6b43ca4b8f8f36475ed0a7793866b50c0
2022-11-24 15:37:24 +01:00
Tim Starling ccdb93f3c1 Add more integrated parser test
Including regression test for T299798.

Bug: T299798
Depends-On: Idc4ac4eb4e20d8e3e2fdbd093ff75f26d3af0d57
Change-Id: I89fa346651e756d1981a950a8b778020359b86a2
2022-01-24 14:00:27 +11:00