casa icon indicating copy to clipboard operation
casa copied to clipboard

System Test Overhaul spec/system/application/timeout_warning_spec.rb

Open FireLemons opened this issue 9 months ago • 1 comments

Description

ensure each test in spec/system/application/timeout_warning_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 04:04 FireLemons

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

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

Hi @FireLemons, I believe no updates should be needed for this spec, since the timeout warning functionality only renders a JavaScript variable (which what the spec is checking for) and doesn’t trigger any form submission or database updates. There's nothing to verify in the DB.

JenMcD-star avatar Jul 09 '25 20:07 JenMcD-star