rubyforgood / casa

Volunteer management system for nonprofit CASA, which serves foster youth in counties across America.
https://casavolunteertracking.org/
MIT License
311 stars 475 forks source link

Replace Jest with Jasmine Javascript Testing Framework to the Project #5085

Closed FireLemons closed 6 months ago

FireLemons commented 1 year ago

Description

Jest cannot to my knowledge access any of the html generated by rails. Jasmine can wrap a rails page and run and display tests on it which allows selenium to read the output. It can also mock javascript time.

Screenshots of Jasmine

image image

How to access the QA site

Login Details:
Link to QA site

Login Emails:

password for all users: 12345678

Questions? Join Slack!

We highly recommend that you join us in slack https://rubyforgood.herokuapp.com/ #casa channel to ask questions quickly and hear about office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.

Nwabor commented 1 year ago

I can work on this..

FireLemons commented 1 year ago

Sorry someone else is already working on this.

littleforest commented 1 year ago

@FireLemons is there really a need for a separate JavaScript testing framework? Is there any reason why we can't just test JS behavior through the system specs?

FireLemons commented 1 year ago

There's no way to mock timeouts / intervals

github-actions[bot] commented 1 year ago

This issue has been inactive for 261 hours (10.88 days) and will be unassigned after 99 more hours (4.13 days). If you have questions, please

If you are still working on this, comment here to tell the bot to give you more time

github-actions[bot] commented 1 year ago

This issue has been inactive for 381 hours (15.88 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.You’ve just been unassigned from this ticket due to inactivity – but feel free to pick it back up (or a new one!) in the future! Thank you again for your contribution to this project.

seanmarcia commented 1 year ago

This feels like a bad idea. I'd really like to understand the problem this is solving before making major framework changes. This has the same feel to me as when Cypress was implemented and then we later needed to pull it out.

github-actions[bot] commented 1 year ago

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

compwron commented 6 months ago

I am closing this as old. We may bring it back in a different form.