Tom Byers
1a5d40312a
Move window mock functions into helper class
2019-06-12 16:03:35 +01:00
Tom Byers
1082a37750
Update call out to sticky JS, with test for it
2019-06-12 16:03:26 +01:00
Tom Byers
0131f0c1b1
Move setup/teardown out of tests
2019-06-12 16:03:18 +01:00
Tom Byers
435334ba9c
Add tests for full-screen table module
2019-06-12 16:03:09 +01:00
Tom Byers
b9a2cc1ec5
Add tests for listEntry.js
2019-05-16 15:36:47 +01:00
Tom Byers
ccd09b9fd7
Revert "Merge pull request #2969 from alphagov/revert-2956-progressively-enhance-folder-permissions"
...
This reverts commit 8266f3d65c , reversing
changes made to b2a38fe222 .
2019-05-15 14:26:51 +01:00
Tom Byers
0e6caa7fda
Revert "Progressively enhance folder permissions"
2019-05-13 16:19:24 +01:00
Tom Byers
d75c26eb83
Make done button, and its surround, sticky
2019-05-10 14:21:58 +01:00
Tom Byers
7328649537
Combine 'Change' and 'Done' buttons into one
...
Includes addition of classes by JS to ensure CSS
selectors don't have to reference the data
attributes.
2019-05-10 14:16:03 +01:00
Chris Hill-Scott
923ac7190c
Add a hint when no team members are selected
...
This helps clarify that you will still be able to see the folder.
Follows the phrasing used for the "No folders…" message.
2019-05-09 13:43:04 +01:00
Tom Byers
1ffa8c8915
Only show the folder icon if fields are folders
2019-05-09 11:25:28 +01:00
Tom Byers
42a9a0cf23
Make selection summary a live region
...
Live regions need to be in the original HTML of
the page to work. We were generating the summary
in JS.
This changes the JS to only generate the contents
of the summary so changes to its contents are
announces by the existing live-region.
2019-05-08 17:16:06 +01:00
Tom Byers
089ebf2c7a
Add tests for collapsible checkboxes
2019-05-08 17:08:20 +01:00
Tom Byers
90ad8b4ed0
Add helpers for JS tests
...
To help with asserting some things which were
repeated in the tests.
2019-05-08 17:08:20 +01:00
Tom Byers
00c1ebf02a
Add test for autofocus.js
...
One of the simplest of our JavaScript files to
test how difficult this is.
Answer is not too bad and includes the file
needing a DOM to operate on and jQuery in the
global scope.
2019-04-24 10:46:55 +01:00