System Test Overhaul spec/system/users/edit_spec.rb
Description
ensure each test in spec/system/users/edit_spec.rb is checking for database updates after the page has finished loading after a submit
See: https://github.com/rubyforgood/casa/pull/6305 for an example
Other improvements to tests in the file are welcome
If there are none, leave a comment on this issue and we will close the issue
Login Emails for test environment:
- [email protected] view site as a volunteer
- [email protected] view site as a supervisor
- [email protected] view site as an admin
- [email protected] view site as an all casa admin
- go to
/all_casa_admins/sign_in
- go to
password for all users: 12345678
Questions? Join Slack!
We highly recommend that you join us in slack #casa channel to ask questions quickly. And discord for office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.
This issue has been open without changes for a long time! What's up?
Interested in working on this one if it is okay with you ~noelp
it block: "displays password errors messages when user is unable to set a password with incorrect current password"
Verified via RSpec example run (0 failures, clean output). Manual interaction also confirmed proper error messaging and login integrity on failed password update attempts.
07/09/2025:
RSpec tests passed. (34 examples, 0 failures)
Total runtime:** 10.33 seconds (files loaded in 4.8 seconds)
Randomized with seed: 61747
Cool