Skip to content

Add end to end tests for content rendering

That diff aims to test HTML rendering of the contents stored inside the archive. The purpose is to ensure no regressions will appear when some JavaScript dependencies or our custom frontend code evolve.

A first batch of tests will check that almost all the programming languages supported by the highlightjs library are correctly highlighted.

The other tests will check that some special contents (images, pdf files, ...) will be correctly rendered.

In order to provide relevant input data to these new tests, some new endpoints are added to swh-web for that purpose (only available when running the end to end tests).

Related #1845 (closed)


Migrated from D1672 (view on Phabricator)

Merge request reports