casa icon indicating copy to clipboard operation
casa copied to clipboard

System Test Overhaul spec/system/casa_org/edit_spec.rb

Open FireLemons opened this issue 8 months ago • 1 comments

Description

ensure each test in spec/system/casa_org/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:

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.

FireLemons avatar Apr 02 '25 14:04 FireLemons

This issue has been open without changes for a long time! What's up?

github-actions[bot] avatar Jun 08 '25 02:06 github-actions[bot]

Verified similar behavior in spec/system/users/edit_spec.rb as part of #6333.

  1. Confirmed that each test asserts DB updates after submission using reload and field-level checks
  2. Email delivery and content validated via ActionMailer::Base.deliveries
  3. Email body inspected to confirm expected messaging
  4. All 34 examples passed with no failures on 2025-07-09

nprude avatar Jul 09 '25 23:07 nprude