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

Mw/dqt 2024 #117

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open

Mw/dqt 2024 #117

wants to merge 42 commits into from

Conversation

michaelwood
Copy link
Member

@michaelwood michaelwood commented Nov 5, 2024

This is v1 of the new DQT

Update the ubuntu version and remove redundant cache action.
* Move cove tests into their own folder
* Fix issue with cookie popup breaking test and generally being annoying
  on developer instance set DISABLE_COOKIE_POPUP to disable cookie popup
* Add option to use Chrome not in headless mode for browser tests
* Fix all tests for incoming copy and frontend layout changes
* Remove and tidy up a lot of the test code
* Convert to new selenium API By. etc
* additional_test Add categories to these tests (LOCATION,
  ORGANISATIONS...)
* Add new additional_test
* Remove Grants table display with settings.GRANTS_TABLE this is no
  longer going to be in use but is provided via lib-cove-*
* Add feature to switch between data submission and quality checking
* Improve error handling of additional_test failures
* Abstract out the additional_test class AdditionalTest for reuse
* Add new entry points for data submission urls
* Fix index error in create_grant_dates_dict when test data doesn't contain
  required information which isn't being tested for
* Wrap cove_tags to override template values in lib-cove-web
* Add a way to work out which additional tests have passed
* Implement new design. Including experimental features TBD in v2 of
  this project.
* Remove dependency on bootstrap
* Remove Jquery
* polyfill some of the lib-cove-web dependency introduced by
  lib-cove-web
* Start of a component structure to templates
* Overrides for almost all lib-cove-web templates - for full authorship
 see: https://github.com/OpenDataServices/lib-cove-web/tree/main/cove/templates
@michaelwood michaelwood marked this pull request as ready for review January 7, 2025 16:30
@michaelwood michaelwood requested a review from R2ZER0 January 7, 2025 16:30
When swapping between submission and dqt mode make sure to set
submission_tool to false.

Fixes: #131
Split these into their own dynamically loaded tabs. This is part of an
effort to make the summary area more concise.
- Fix incorrect base template
- Fix no heading text for check_field_present additional_check
- Refactor a shared class into additional_checks to be used by
  threesixtygiving checks and check_field_present
This speeds up testing and is generally a useful feature
Fixes issue where the correct text/mode wasn't working.
This seems a more logical position for it as validity is the highest in
the hierarchy.
Keep this as a secret feature as really requires some additional design
work.
Also make validity results output consistent with others.
(KD-004)
Rework the accuracy table to new design. KD-005/DQT-011
Implement new design for usefulness opportunities (KD-007). Also fix
consistency on capitalisation and copy on usefulness table.
- Re-add fixes for styling / 360ds
- Remove duplicated modal calls
- Fix modal target class
- Tidy up button for "show all" to make more consistent
- Tidy up the template syntax
- KD-003
Makes the building of the context for additional_checks template more
dynamic. Separate the checks into the categories in the template. KD-002
Avoid converting actual return values into True.
If the spreadsheet location couldn't be determined at least warn of this
and show add the test output to the results.
Simplify these tests and create the matching pair (multiple names vs
multiple org ids) in separate tests.

Fix an incorrect field name on beneficaryLocation
- Adds the new additional tests output to the expected test data
- Small number of tidy ups and flake8 fixes
- Add Fix Me for spreadsheet locations - how to handle this is TBC when
  the test itself is expecting a combination of field locations.
Make sure to show something useful if See where location isn't
available.
When we don't have a location to point to due to flattening the file
without those data columns we have to point the use to the nearest
logical place.
Fix issue where long file names cause strange wrapping of upload
information.
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.

1 participant