This branch creates a test for each theme that uses BeautifulSoup to compare parts of the HTML response from the typesetting_preview_galley url to corresponding parts from the article_view url. This is to catch metadata discrepancies that shouldn't be there when someone is trying to predict how the article will look when published.
The corresponding themes in BirkbeckCTP/janeway have been modified in https://github.com/BirkbeckCTP/janeway/pull/3471 with classes proofing-test-include and proofing-test-exclude to create DOM trees covering the relevant metadata. As a result, these new tests likely won't pass until they are run with the new templates.
I'm not sure what that means for CI testing. Thoughts about how to proceed?
Fixes #148
This branch creates a test for each theme that uses BeautifulSoup to compare parts of the HTML response from the
typesetting_preview_galley
url to corresponding parts from thearticle_view
url. This is to catch metadata discrepancies that shouldn't be there when someone is trying to predict how the article will look when published.The corresponding themes in BirkbeckCTP/janeway have been modified in https://github.com/BirkbeckCTP/janeway/pull/3471 with classes
proofing-test-include
andproofing-test-exclude
to create DOM trees covering the relevant metadata. As a result, these new tests likely won't pass until they are run with the new templates.I'm not sure what that means for CI testing. Thoughts about how to proceed?