Commit Graph

4651 Commits

Author SHA1 Message Date
Kenneth Kehl
6e19fab1d5 more tests 2023-11-03 10:38:38 -07:00
Carlo Costino
26031cb1b2 Merge pull request #892 from GSA/800-combine-and-style-quota-displays
800 - combine and style quota displays
2023-11-02 17:16:39 -04:00
Andrew Shumway
591961413a Added mock api call to appropriate tests 2023-11-02 16:28:09 -04:00
Andrew Shumway
af119aad1c Fixed parameter in client request 2023-11-02 16:28:07 -04:00
Andrew Shumway
62a09c5223 Added mock to client request for get request of count 2023-11-02 16:27:01 -04:00
Jonathan Bobel
febbcd154c Merge and push back up 2023-11-02 14:40:08 -04:00
Carlo Costino
745aaee1d7 Merge pull request #887 from GSA/notify-admin-866b
Improve tests with #noqa comments
2023-11-02 12:34:01 -04:00
Carlo Costino
35e200b328 Merge pull request #884 from GSA/801-send-message-button
801 send message button
2023-11-02 12:30:14 -04:00
Carlo Costino
14b81ce908 Merge pull request #882 from GSA/847-change-blanket-error-message
847 - content update for blanket error page
2023-11-02 12:29:25 -04:00
Jonathan Bobel
a3022dcfe6 Fixing tests 2023-11-01 13:06:29 -04:00
Jonathan Bobel
600114fa4f Fixing tests 2023-11-01 10:38:50 -04:00
Kenneth Kehl
b487a915f6 fix remaining tests 2023-10-30 08:42:11 -07:00
Kenneth Kehl
8c9acad081 more tests 2023-10-26 12:05:26 -07:00
Kenneth Kehl
bd2ea81081 more fixes 2023-10-26 11:38:03 -07:00
Kenneth Kehl
90025ded54 notify-admin-866 improve tests with noqa comments 2023-10-26 08:33:59 -07:00
Jonathan Bobel
c290e60a6c Fixing tests 2023-10-24 12:24:14 -04:00
Jonathan Bobel
5304c0f7a9 801 - Moving Send message link from inside the side nav to a button 2023-10-23 14:36:10 -04:00
Jonathan Bobel
07f9255e36 Merge branch 'main' of https://github.com/GSA/notifications-admin into 803-keep-current-service-visible 2023-10-12 13:52:15 -04:00
Carlo Costino
7163f813ce Fix malformed tuples
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:26:01 -04:00
Carlo Costino
35ecd7006a Finally finished linting all the tests!
...Now to fix the ones I broke... :lolsob:

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:26:01 -04:00
Carlo Costino
f5a5fbc926 Updated more tests with linting fixes
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:26:01 -04:00
Carlo Costino
9a4afe44bb More test config updates
Note that this commit has some failing tests with it that also needed to be fixed; it is unclear why they are failing at the moment, though.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:26:00 -04:00
Carlo Costino
d2411e6cbe Updated a few more tests
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:49 -04:00
Carlo Costino
9031d0cb97 A few more tests taken care of.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:49 -04:00
Carlo Costino
acb70b43cd Reformatted and cleaned up more tests.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04: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
Carlo Costino
23f894581c More test cleanup
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Carlo Costino
06fab2dd03 Ignoring two specific warnings about wrong values type
The test makes use of list item unpacking and expects the parameter data structure to allow for that.  It does not make sense to modify the code in this case just to make test format linting pass.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Carlo Costino
95ba7c3099 More formatting fixes for tests
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Carlo Costino
47695b97d3 Address flake8-pytest-style issues with conftest.py
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:24:48 -04:00
Jonathan Bobel
988c1e93a1 Merge branch 'main' of https://github.com/GSA/notifications-admin into 803-keep-current-service-visible 2023-10-12 10:21:18 -04:00
Jonathan Bobel
3e7a4f78f3 Committing before merge 2023-10-12 10:21:11 -04:00
Carlo Costino
a46a21a519 Revert recent changes for window location updates
There are a few other things at play that will require more investigation at a future date:

- Why window.location.assign() or history.pushState() do not work
- If any other config or polyfills are needed with JSDOM

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:00:30 -04:00
Andrew Shumway
76f9c5e6ab Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-678 2023-10-10 11:00:37 -06:00
Jonathan Bobel
57ec11d7c5 816 - Change "Prepare to send" button text 2023-10-06 13:13:18 -04:00
Carlo Costino
124d342b39 Merge pull request #846 from GSA/822-restrict-international-message-service
822 - restrict international message services
2023-10-06 12:18:17 -04:00
Jonathan Bobel
afe6e9c11a 822 - restrict international message services 2023-10-04 14:40:21 -04:00
Andrew Shumway
643e1ef1b6 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-678 2023-10-03 14:37:04 -06:00
Carlo Costino
838f643b18 Merge pull request #845 from GSA/821-remove-table-header
821 - removing a few headers and adjusting the tests
2023-10-03 16:08:51 -04:00
Jonathan Bobel
fefa8288c4 821 - removing a few headers and adjusting the tests to accept an empty string 2023-10-03 15:28:27 -04:00
Jonathan Bobel
154b8fd8f3 Merge branch 'main' of https://github.com/GSA/notifications-admin into 835-new-template-wording 2023-10-03 14:30:34 -04:00
Jonathan Bobel
d6205bc1ff 835 - Change "new template" wording 2023-10-03 11:14:21 -04:00
Andrew Shumway
93ac55ce35 Separate logout by user or inactivity 2023-10-02 15:20:23 -06:00
Andrew Shumway
00db493305 Clean up code/tests 2023-10-02 14:48:35 -06:00
Jonathan Bobel
c7e05246b1 808 - formatted annual usage section 2023-10-02 15:12:36 -04:00
Andrew Shumway
020dc871f7 Added test for code coverage 2023-10-02 09:18:30 -06:00
Carlo Costino
57f2ee798b Made several adjustments for session timer tests
- Turned the timeoutPopup module into a proper module that is exported
- Pulled out the setInterval inner function to be its own method
- Adjusted the session timer tests to have additional setup and teardown pieces
- Added a few tests

There may be some additional adjustments needed, e.g., we may not have to expose all of the methods, but then we have to figure out how to make them accessible in the tests another way.

h/t @A-Shumway42 for pairing with me to review all of these changes and approach!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-09-28 15:31:08 -04:00
Andrew Shumway
8ab49f72ae Remove unused function in test 2023-09-27 11:47:52 -06:00
Andrew Shumway
9846379c0f Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-678 2023-09-27 11:15:46 -06:00
Kenneth Kehl
1d66533111 merge from main and resolve conflicts 2023-09-22 12:37:32 -07:00