Table of contents

Smoke testing with smokey

We have smoke tests running against our infrastructure to verify that core functionality of the site is working.

Integration with Signon

These tests rely on a user in GOV.UK Signon. All Signon users have their passphrase expire periodically. This will cause the tests to fail.

You can either change the passphrase of the account and rotate it in encrypted hieradata, or you can fake a passphrase change in the Signon Rails console:

$ govuk_app_console signon
irb(main):001:0> smokey = User.find_by(name: "Smokey (test user)")
irb(main):002:0> smokey.update_attribute(:password_changed_at,
This page was last reviewed . It needs to be reviewed again by the page owner #govuk-2ndline.