Commit Graph

341 Commits

Author SHA1 Message Date
Alex Janousek
6f5750f095 Removed all govuk css (#2814)
* Removed all govuk css

* Updated reference files

* Removing govuk js

* Fixed casing for modules, removed unused page

* Got more reference images

* Updated template page

* Removed govuk padding util

* Updated hint to uswds hint

* More govuk cleanup

* Commiting backstopjs ref files

* Fixed all unit tests that broke due to brittleness around govuk styling

* Added new ref images

* Final removal of govuk

* Officially removed all govuk references

* Updated reference file

* Updated link to button

* UI modernization

* Cleanup

* removed govuk escaping tests since they are no longer needed

* Fix CodeQL security issue in escapeElementName function

- Escape backslashes first before other special characters
- Prevents potential double-escaping vulnerability
- Addresses CodeQL alert about improper string escaping

* Found more govuk removal. Fixed unit tests

* Add missing pipeline check to pre-commit

* updated test

* Updated e2e test

* More update to e2e test

* Fixed another e2e test

* Simple PR comments addressed

* More updates

* Updated backstop ref files

* Refactored folder selection for non-admins

* Updated redundant line

* Updated tests to include correct mocks

* Added more ref files

* Addressing carlos comments

* Addressing Carlo comments, cleanup of window initing

* More cleanup and addressing carlo comments

* Fixing a11 scan

* Fixed a few issues with javascript

* Fixed for pr

* Fixing e2e tests

* Tweaking e2e test

* Added more ref files and cleaned up urls.js

* Fixed bug with creating new template

* Removed brittle test - addressed code ql comment

* e2e race condition fix

* More e2e test fixes

* Updated e2e tests to not wait for text sent

* Updated test to not wait for button click response

* Made tear down more resilent if staging is down

* reverted e2e test to what was working before main merge

* Updated backstopRef images

* Updated gulp to include job-polling differently
2025-10-06 09:38:54 -04:00
Kenneth Kehl
a12bfe88ae fix tests 2025-09-23 07:15:18 -07:00
Beverly Nguyen
ce4829b717 new enum view_activity, _manage_users, send_emails 2025-07-21 14:24:11 -07:00
Beverly Nguyen
a0d67d2a9c update test to reflect enum in servicepermission 2025-07-17 01:00:00 -07:00
Kenneth Kehl
30093673d0 inline notifications-python-client 2025-06-10 11:40:14 -07:00
Kenneth Kehl
7b6a6ffe53 commit out offending tests 2025-06-09 12:28:08 -07:00
Kenneth Kehl
3672b16315 try to solve async issues 2025-06-09 11:59:32 -07:00
Kenneth Kehl
e5dc5f12aa mix and match asyncs to try to get things passing 2025-06-09 11:02:01 -07:00
Kenneth Kehl
36c7781e37 remove async 2025-06-09 10:47:37 -07:00
Kenneth Kehl
71b865cc12 uncomment tests 2025-06-09 09:34:13 -07:00
Kenneth Kehl
7942e02747 comment out async tests 2025-06-05 09:01:26 -07:00
Kenneth Kehl
9430bbd97e fix format 2025-06-04 11:49:55 -07:00
Kenneth Kehl
8b3cb14666 more asyncio 2025-06-04 11:42:49 -07:00
Kenneth Kehl
56980e04ce try pytest-asyncio again 2025-06-04 11:22:28 -07:00
Kenneth Kehl
b990363436 comment out offending test 2025-06-04 11:02:08 -07:00
Jonathan Bobel
b4afcb07aa Fixing tests 2025-04-21 11:42:24 -04:00
Kenneth Kehl
7cd8be22f6 fix 2025-03-31 08:45:33 -07:00
Kenneth Kehl
0108bcf91f upgrade mistune to 3.1.3 2025-03-26 09:16:07 -07:00
Jonathan Bobel
b5203f473a Adding the personalization message back in 2025-03-19 11:30:01 -04:00
Jonathan Bobel
7afdf7336a Update test_templates.py 2025-03-19 10:26:49 -04:00
Jonathan Bobel
e0738dd9bf Merge branch 'main' of https://github.com/GSA/notifications-admin into 2133-small-a11y-updates 2024-12-17 11:34:30 -05:00
Jonathan Bobel
1486680293 Updating new home page styles to use more from the USWDS, and make sure it's responsive and accessible 2024-12-13 12:37:11 -05:00
Jonathan Bobel
e1e0a4dca0 Fixing test 2024-12-11 11:24:26 -05:00
Beverly Nguyen
02bffa8c12 fixed testing 2024-12-03 17:15:52 -08:00
Jonathan Bobel
994a314f31 Trying to decouple this h1 from the templates folder structure 2024-12-02 12:09:43 -05:00
Kenneth Kehl
c67407f090 fix some tests 2024-08-23 12:59:00 -07:00
Jonathan Bobel
8ca32f476c 810 - Content updates to link area in Send Message flow 2024-03-26 11:23:39 -04:00
Carlo Costino
d5daab67cf Fixes tests to match recent notifications-utils updates
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-24 15:35:09 -05:00
Kenneth Kehl
bc32c62dc6 flake8 2023-12-15 07:20:34 -08:00
Carlo Costino
56b3cd9fd5 Fixed failing test given new character handling in utils update
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-12-13 12:04:56 -05:00
Carlo Costino
93d5e0a124 Merge pull request #965 from GSA/893-copy-existing-template
893 copy existing template
2023-12-04 16:33:51 -05:00
Jonathan Bobel
bf10a2bc53 Fixing the tests to pass 2023-12-04 12:42:15 -05:00
Kenneth Kehl
da3fa99c52 merge from main 2023-11-29 07:26:43 -08:00
Kenneth Kehl
1cacd3b850 update warning message, fix tests 2023-11-28 07:42:33 -08:00
Kenneth Kehl
d10d3f7c00 maybe fix tests? Or else calculations are all wrong 2023-11-22 12:37:57 -08:00
Kenneth Kehl
36987e7202 notify-api-861 show eastern time 2023-11-16 12:24:27 -08:00
Kenneth Kehl
bd2ea81081 more fixes 2023-10-26 11:38:03 -07:00
Carlo Costino
72c8a46b8c Reformatted a handful more tests
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Jonathan Bobel
57ec11d7c5 816 - Change "Prepare to send" button text 2023-10-06 13:13:18 -04:00
Jonathan Bobel
d6205bc1ff 835 - Change "new template" wording 2023-10-03 11:14:21 -04:00
Kenneth Kehl
8c9721d8e2 notify-api-412 use black to enforce python coding style 2023-08-25 09:12:23 -07:00
Jonathan Bobel
6b22c347da Got the tests to pass, so doing a commit 2023-08-15 13:22:39 -04:00
Jonathan Bobel
ff33c7c7f9 Fixing tests 2023-08-14 15:29:10 -04:00
Jonathan Bobel
242c7acd34 Changing U.S. Notify to Notify.gov (#656) 2023-07-28 11:12:46 -04:00
Andrew Shumway
34fef6954c Added UTC to formatter return strings and appropriate tests (#617)
Co-authored-by: Andrew Shumway <ashumway@flexion.us>
2023-07-27 11:22:05 -04:00
Steven Reilly
13d0e46b52 blunt rename of org (#620) 2023-07-12 12:09:44 -04:00
Kenneth Kehl
20a0bd5c99 merge from main 2023-07-05 15:07:38 -07:00
Carlo Costino
9f88af0ac2 Fix create and update template method calls
The removal of the process_type argument was causing a couple of the method calls to break since they were still sending in the argument.  This commit fixes that and updates the corresponding tests as well.

h/t @terrazoon for uncovering the touchpoints originally!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-07-03 15:06:06 -04:00
Kenneth Kehl
7168309fbb fix all tests 2023-06-26 14:07:28 -07:00
Kenneth Kehl
aa0f15c1b2 notify-552 remove option to use priority queue from UI 2023-06-20 08:37:56 -07:00