Crown-Commercial-Service / govuk-frontend-jinja

Tools to use the GOV.UK Design System with Python webapps that use Jinja2 and Flask 🐍
MIT License
9 stars 6 forks source link

Update govuk-frontend from v2.4.0 to v2.13.0 #29

Closed lfdebrux closed 5 years ago

lfdebrux commented 5 years ago

Ticket: https://trello.com/c/pVCOkqhB/127-test-govuk-frontend-jinja-against-govuk-frontend-2

Update the version of govuk-frontend we test against from v2.4.0 to v2.13.0.

Using the new script from #28 I was able to quickly regenerate all the test fixtures :tada:.

The extension only needed one small tweak to support changes to existing components; there was also a new component, accordion, which I've added tests for by copying and pasting from the GOV.UK Frontend review app for v2.13.0 of the govuk-frontend package.

I also added a little coverage checker test that checks (crudely) whether we have tests for all the components in the tested version of govuk-frontend, which made it easier to ascertain what was untested.