casa icon indicating copy to clipboard operation
casa copied to clipboard

System Test Overhaul spec/system/reimbursements/reimbursements_spec.rb

Open FireLemons opened this issue 9 months ago • 1 comments

Description

ensure each test in spec/system/reimbursements/reimbursements_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 07 '25 02:06 github-actions[bot]

Hi @FireLemons can I work on it?

marcospedro97 avatar Jul 09 '25 20:07 marcospedro97

go for it :)

compwron avatar Jul 09 '25 20:07 compwron

There's nothing to do on this issue because all the tests don't directly check the database so there's no race condition between the page loading and the database check

FireLemons avatar Jul 12 '25 02:07 FireLemons

@marcospedro97 Try this one. There are some ActionMailer checks that don't wait for the page to load.

FireLemons avatar Jul 12 '25 05:07 FireLemons

Ok, thanks

marcospedro97 avatar Jul 12 '25 15:07 marcospedro97