Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design System smoke tests #408

Merged
merged 4 commits into from
Nov 12, 2020
Merged

Design System smoke tests #408

merged 4 commits into from
Nov 12, 2020

Conversation

Davidslv
Copy link
Contributor

During an upgrade to the Design System on C100 it was noticed that the forms were not working properly with hints on check boxes (x-govuk/govuk-form-builder#211).

We decided to introduce the same mechanism used on C100 in Disclosure Checker.

Story: https://mojdigital.teamwork.com/#/tasks/22441209

This is being brought from [C100 
application](https://github.com/ministryofjustice/c100-application) so 
that we can test the markup generated by the Design System gem.
Creates two fixtures one for the form and another for the errors on the 
form.

Compares the current markup with the fixtures.
Copy link
Member

@zheileman zheileman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 💯
At least we have a little safety net for the future.

@@ -61,8 +60,7 @@
end

When(/^I am completing a basic 18 or over "([^"]*)" conviction$/) do |value|
step %[I visit "/"]
step %[I click the "Start now" link]
step %[I have started an application]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super minor thing, but maybe instead of an application this might be a a check, for this service?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants