Commit Graph

8424 Commits

Author SHA1 Message Date
Tom Byers
5bd1e4bb7e Move template list fixture function into helpers
This will be needed in other tests so should be
made into a helper.
2019-10-01 08:26:08 +01:00
Tom Byers
f495288034 Add tests for integration with sticky JS 2019-10-01 08:26:08 +01:00
Tom Byers
d0b6f844ce Move focus of legends to their fieldsets
When testing with the JAWS screenreader, we found
a bug around getting it to announce the name of a
fieldset when we ask the user to select from it.

Bug on pivotal:

https://www.pivotaltracker.com/story/show/165565088

The flows for adding a new template and moving a
template/folder both need the user to select an
option from a radio group. When we add the radio
group to the UI, we need to move focus to it so
the user is in the right place to choose an
option.

The expectation of the original code was that
focusing the field set's legend would work like
focusing the heading of a section of content and
announce the label of it. This didn't happen with
JAWS. This tries to achieve the same by focusing
the whole fieldset instead.

When doing this we also hide the focus style, to
follow the convention for this across www.gov.uk.
2019-10-01 08:26:08 +01:00
Tom Byers
60389d7087 Add tests for templateFolderForm JS interactions 2019-10-01 08:26:08 +01:00
Tom Byers
a93a7172e2 Merge pull request #3092 from alphagov/add-js-tests-for-file-upload
Add tests for fileUpload module
2019-09-30 11:08:31 +01:00
Chris Hill-Scott
d4154a4d8c Merge pull request #3133 from alphagov/security-updated
Adding statement about compliance with NCSC Cloud Security Principles
2019-09-26 16:05:25 +01:00
Pete Herlihy
bdb4bceb57 Adding statement about compliance with NCSC Cloud Security Principles 2019-09-26 15:42:08 +01:00
karlchillmaid
2f09c812fe Merge pull request #3129 from alphagov/update-to-include-REST-API-doc-link
Add REST API link to /documentation page
2019-09-26 12:50:34 +01:00
Rebecca Law
0bd844a961 Update puralisation 2019-09-25 16:09:36 +01:00
Rebecca Law
d902ac3b44 Added the url for api docs.
Updated error message when js tests fail
2019-09-25 15:47:35 +01:00
karlchillmaid
7bdcf7414d Add 'link opens in new tab' explanation 2019-09-23 17:05:02 +01:00
karlchillmaid
fce4a36636 Update content 2019-09-23 17:01:59 +01:00
Chris Hill-Scott
4fb622f4f6 Merge pull request #3122 from alphagov/replace-negative-contractions
Replace negative contractions
2019-09-23 13:30:18 +01:00
Chris Hill-Scott
98240b4780 Fix test 2019-09-23 13:22:29 +01:00
Chris Hill-Scott
767c7db48a Update app/templates/views/notifications/invalid_precompiled_letter.html 2019-09-23 13:22:29 +01:00
karlchillmaid
67647372f6 Update app/templates/views/service-settings/email-reply-to/_verify-updates.html
Prefer this option

Co-Authored-By: Chris Hill-Scott <me@quis.cc>
2019-09-23 13:22:29 +01:00
karlchillmaid
507d8542b8 Change could not to cannot 2019-09-23 13:22:29 +01:00
karlchillmaid
ab3bdaaa4d Change 'was not' to 'could not be'
Change 'was not' to 'could not be' – makes it sound more like there's a problem with the email address, and not a problem with the service.
2019-09-23 13:22:29 +01:00
Rebecca Law
18e3eb6b32 Update tests for content changes. 2019-09-23 13:22:28 +01:00
karlchillmaid
c3d806dd50 Replace haven't with have not 2019-09-23 13:22:28 +01:00
karlchillmaid
3e45b0f738 Replace haven't with have not 2019-09-23 13:22:28 +01:00
karlchillmaid
74e9b343fd Replace haven't with have not 2019-09-23 13:22:28 +01:00
karlchillmaid
5b616a0734 Replace haven't with have not 2019-09-23 13:22:28 +01:00
karlchillmaid
89a609fb73 Replace haven't with have not 2019-09-23 13:22:28 +01:00
karlchillmaid
644686c3ce Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
601078e06f Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
bb1ad89357 Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
c64f298820 Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
0b0a303262 Replace haven't with have not 2019-09-23 13:22:27 +01:00
karlchillmaid
a8021fb965 Replace haven't with have not 2019-09-23 13:22:26 +01:00
karlchillmaid
f3dd497700 Replace haven't with have not 2019-09-23 13:22:26 +01:00
karlchillmaid
852699e3e8 Replace hasn't with has not 2019-09-23 13:22:26 +01:00
karlchillmaid
b7e9eb3d48 Replace hasn't with has not 2019-09-23 13:22:26 +01:00
karlchillmaid
03d70f5439 Replace aren't with are not 2019-09-23 13:22:26 +01:00
karlchillmaid
2387fcc8f1 Replace they've with they have 2019-09-23 13:22:17 +01:00
karlchillmaid
8539d6fc66 Replace doesn't with does not 2019-09-23 13:22:17 +01:00
karlchillmaid
535fb0e024 Replace doesn't with does not 2019-09-23 13:22:17 +01:00
karlchillmaid
8dd58afe72 Replace doesn't with does not 2019-09-23 13:22:16 +01:00
karlchillmaid
daf94ddc16 Replace couldn't with could not 2019-09-23 13:22:16 +01:00
karlchillmaid
7d2ce2889f Replace couldn't with could not 2019-09-23 13:22:16 +01:00
karlchillmaid
b27fd30d45 Replace wasn't with was not 2019-09-23 13:22:16 +01:00
karlchillmaid
7f93cac07d Replace isn't with is not 2019-09-23 13:22:16 +01:00
karlchillmaid
98aa956738 Replace isn't with is not 2019-09-23 13:22:16 +01:00
karlchillmaid
4b2990e735 Replace isn't with is not 2019-09-23 13:22:00 +01:00
karlchillmaid
90b8af63d5 Replace isn't with is not 2019-09-23 13:22:00 +01:00
karlchillmaid
0926d6ce25 Replace won't with will not 2019-09-23 13:22:00 +01:00
karlchillmaid
73ce6eef83 Replace won't with will not 2019-09-23 13:22:00 +01:00
karlchillmaid
653c2c399f Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
4c6f32df73 Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
2b0462f44f Replace won't with will not 2019-09-23 13:21:59 +01:00