Commit Graph

4660 Commits

Author SHA1 Message Date
Jonathan Bobel
6cee00929e Fixed tests 2023-11-16 12:26:35 -05:00
Carlo Costino
a37b2f8281 Merge pull request #915 from GSA/notify-796
Fixed UI permissions view
2023-11-14 17:09:38 -05:00
Kenneth Kehl
b1bd51730d notify-admin-916 revert restrictions on create service 2023-11-14 07:51:56 -08:00
Andrew Shumway
7e12e6d488 Fixed UI permissions view 2023-11-09 12:00:31 -07:00
Kenneth Kehl
008b990e14 code review feedback 2023-11-08 07:51:57 -08:00
Kenneth Kehl
91aca2ec4e fix test 2023-11-07 08:55:14 -08:00
Kenneth Kehl
b50bdf2f21 merge from main 2023-11-07 07:44:37 -08:00
Carlo Costino
4330fbe493 Skip failing test for now in test_send.py
This changeset marks the test_warns_if_file_sent_already_errors test in tests/app/main/views/test_send.py to skip for now.  This test started failing locally for some of the team members with no clear indication as to why.  We tried the following:

- Checking for uncommitted local changes
- Downgrading a recent dependency update
- Combing through recent changes for potential breaking changes
- Debugging the test itself as it ran

A new issue will be created to investigate this further, but we did not want it to block our current work.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-06 17:42:00 -05:00
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
Kenneth Kehl
222c83ebbc notify-admin-571 add platform_admin condition for create service and create user 2023-10-23 14:41:31 -07: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