rubyforgood / casa

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

Bug: Flaky Test Expected to Find Case Contact Count in Organization Table but found 0 instead #5125

Closed FireLemons closed 6 months ago

FireLemons commented 1 year ago

Flaky tests are defined as tests that return both passes and failures despite no changes to the code or the test itself Fix the test so it runs consistently.

CI Workflow

rspec

Sample Error Output:

   1) all_casa_admin/dashboard/show when authenticated user organization table displays the correct number of case contacts
     Failure/Error: expect(org2_row.find("td:nth(4)")).to have_content("6")
       expected to find text "6" in "0"
     # ./spec/system/all_casa_admins/dashboard/show_spec.rb:64:in `block (4 levels) in <top (required)>'

  1) all_casa_admin/dashboard/show when authenticated user organization table displays the correct number of case contacts
     Failure/Error: expect(org2_row.find("td:nth(4)")).to have_content("6")
       expected to find text "6" in "0"
     # ./spec/system/all_casa_admins/dashboard/show_spec.rb:64:in `block (4 levels) in <top (required)>'

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.

claeusdev commented 1 year ago

Hey @FireLemons I'd love to have a go at this.

github-actions[bot] commented 1 year ago

This issue has been inactive for 249 hours (10.38 days) and will be unassigned after 111 more hours (4.63 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 369 hours (15.38 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.

github-actions[bot] commented 11 months ago

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