Commit Graph

278 Commits

Author SHA1 Message Date
Jonathan Bobel
bd96cc1d20 Update activityChart.test.js
Hmm this failed locally but not when committed. Reverting.
2025-03-06 15:19:27 -05:00
Jonathan Bobel
1696614995 Update activityChart.test.js 2025-03-06 15:00:21 -05:00
Jonathan Bobel
3dee60fcc0 Merge branch 'main' of https://github.com/GSA/notifications-admin into 2214-client-side-validation 2025-03-03 16:11:05 -05:00
Jonathan Bobel
94f881477e Focusing validation on individual form with one input 2025-03-03 13:33:45 -05:00
Jonathan Bobel
f4ca597964 Updates to validation.js and it's test - all are passing 2025-02-28 11:31:47 -05:00
ccostino
cd78710753 Merge pull request #2359 from GSA/1543-review-and-update-total-messages-chart-on-dashboard-and-usagehtml-with-new-data-from-backend
Total message ratio update
2025-02-27 11:00:49 -05:00
alexjanousekGSA
a524ed0dc5 Fixed a test 2025-02-26 11:16:52 -05:00
Beverly Nguyen
79192e29b6 fix jest testing 2025-02-25 13:12:55 -08:00
Beverly Nguyen
933348baa5 Fix jest 2025-01-23 13:24:11 -08:00
Beverly Nguyen
8f30f9320a Merge branch 'main' into 2199-add-pending-message-data-to-daily-and-user_daily-stats 2025-01-23 11:26:53 -08:00
Beverly Nguyen
38675e88dd jest 2025-01-21 16:17:44 -08:00
Beverly Nguyen
3f1058f9b6 jest testing 2025-01-17 17:03:22 -08:00
Beverly Nguyen
5e61fb831d jest test 2025-01-14 13:10:48 -08:00
Jonathan Bobel
a65f9f9bbf Updates to the js and tests 2024-10-09 12:46:19 -04:00
Jonathan Bobel
175a47310e Adding the correct ID to the popup to read correctly to screen readers 2024-10-09 11:20:43 -04:00
Beverly Nguyen
68fbdb2bb8 added fetch to jest 2024-08-14 15:59:44 -07:00
Jonathan Bobel
a31e199147 Updates from the QA review 2024-08-14 16:11:00 -04:00
Beverly Nguyen
a6e7e15643 Merge branch 'main' into 1810-clean-up-data-viz-ui-component 2024-08-09 14:29:51 -07:00
Beverly Nguyen
9e6f87ace1 removed socket io 2024-08-09 14:29:14 -07:00
Jonathan Bobel
45bc6a9173 test updates 2024-08-08 16:53:56 -04:00
Jonathan Bobel
3e472e0a97 Test update 2024-08-08 16:35:09 -04:00
Beverly Nguyen
b426a17cf8 fix activity jtest test 2024-08-07 17:15:15 -07:00
Beverly Nguyen
1a75fc5142 fixed coverage report 2024-08-07 16:44:02 -07:00
Beverly Nguyen
2bb398a962 fixing console errors 2024-08-07 15:54:54 -07:00
Beverly Nguyen
92026a83aa fixing console errors 2024-08-07 15:54:21 -07:00
Beverly Nguyen
a6ac7086da fixing console errors 2024-08-07 15:48:35 -07:00
Beverly Nguyen
f65655e56c fixing console errors 2024-08-07 15:42:46 -07:00
Beverly Nguyen
4bfbd9f71f fixing console errors 2024-08-07 15:27:43 -07:00
Beverly Nguyen
65d339fb8a fix jest testing errors 2024-08-07 15:16:09 -07:00
Jonathan Bobel
20ab840f27 removing console.logs 2024-07-18 15:42:32 -04:00
Jonathan Bobel
2029c64ea6 case issue was failing the build 2024-07-18 15:39:30 -04:00
Jonathan Bobel
afd82f3742 Separated the js to make it easier to test 2024-07-18 15:27:17 -04:00
Jonathan Bobel
2e81f6f45a Checking if the threshold is why this branch is failing 2024-07-18 13:14:36 -04:00
Jonathan Bobel
47bb1e4c8c Test updates - still need more coverage 2024-07-18 12:36:49 -04:00
Jonathan Bobel
ba2b5fea37 Merge branch '1544-data-viz-total-message-allowance' into 1484-dashboard-visualizations
# Conflicts:
#	app/assets/sass/uswds/_data-visualization.scss
#	app/assets/sass/uswds/styles.scss
#	app/templates/views/dashboard/dashboard.html
#	app/templates/views/dashboard/template-statistics.html
#	gulpfile.js
#	package-lock.json
2024-07-17 11:23:53 -04:00
Jonathan Bobel
7f288598ba Deleting chart.js
Updates to the dashboard html
Test updates
2024-07-10 10:13:24 -04:00
Jonathan Bobel
2e20b20912 Updates to the test 2024-07-05 15:23:34 -04:00
Jonathan Bobel
731a79fff8 Passed the testing threshold 2024-06-27 14:12:53 -04:00
Jonathan Bobel
149c23b721 Updates to the tests, committing as they currently run but I need to work on the coverage 2024-06-27 11:01:31 -04:00
Jonathan Bobel
c02c9152d8 Writing tests for chartDashboard.js 2024-06-05 11:25:15 -04:00
Jonathan Bobel
0ae369d54b Updated the date to April 16th instead of April 9 2024-03-12 13:27:37 -04:00
Jonathan Bobel
507973f9ae Edited the test, updated content 2024-03-01 09:34:25 -05:00
Jonathan Bobel
d5f40dffe1 Commit before merge 2024-02-27 11:53:51 -05:00
stvnrlly
73b367f4cf delete cookie stuff to even out js converage 2023-12-18 16:30:59 -05:00
stvnrlly
f600dd95d6 remove email branding 2023-12-18 16:10:12 -05: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
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
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