alphagov / govuk_frontend_toolkit

❗️GOV.UK Frontend Toolkit is deprecated, and will only receive major bug fixes and security patches.
MIT License
403 stars 107 forks source link

Tracking end-to-end test #363

Closed alecgibson closed 6 years ago

alecgibson commented 7 years ago

It would be good to have a full end-to-end integration test of Google Analytics click tracking (which lives in "Static")

We currently have unit tests that cover:

However, there's a disconnect in that nothing checks that the Ruby-rendered tracking events have the correct module name (ie Ruby renders an element, and clicking on that element fires a tracking event).

For more context, see: https://github.com/alphagov/static/pull/875

36degrees commented 6 years ago

I believe this issue is specific to GOV.UK (Publishing) as Frontend Toolkit doesn't really have a concept of 'end-to-end'.

Either way, following the launch of the GOV.UK Design System, GOV.UK Frontend Toolkit will now only get major bug fixes and security patches, so I'm going to close this.