casa icon indicating copy to clipboard operation
casa copied to clipboard

Bug: Flaky Test Did not Receive Confirmation Text After Changing Admin to Supervisor

Open FireLemons opened this issue 1 year ago • 7 comments

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 in docker

Sample Error Output:

  1) casa_admins/edit can convert the admin to a supervisor
     Failure/Error: expect(page).to have_text("Admin was changed to Supervisor.")
       expected to find text "Admin was changed to Supervisor." in "Inbox\nSupervisors\nVolunteers\nOther Duties\nCases\nAdmins\nGroup Actions\nMenu\nUser 1960\nEdit Casa Admin\nEmail\nDisplay name\nPhone number\nEmail Reimbursement Requests\nCASA organization CASA Org 1618\nAdded to system August 15, 2023\nInvitation email sent never\nLast logged in never\nInvitation accepted never\nPassword reset last sent never\nWill receive reimbursement request emails No\nAdmin is\nACTIVE\nDeactivate Resend Invitation Change to Supervisor\nSubmit\n© CASA / Volunteer Tracking\nBuilt with by Ruby For Good\nReport a site issue\nSMS Terms & Conditions"

     [Screenshot Image]: /usr/src/app/tmp/capybara/failures_r_spec_example_groups_casa_admins_edit_can_convert_the_admin_to_a_supervisor_465.png


     # ./spec/system/casa_admins/edit_spec.rb:114:in `block (2 levels) in <top (required)>'
     # /usr/local/bundle/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 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.

FireLemons avatar Aug 16 '23 00:08 FireLemons

Hey there, can I work on this one?

tonyaraujop avatar Sep 15 '23 14:09 tonyaraujop

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] avatar Oct 06 '23 00:10 github-actions[bot]

:medal_sports:

FireLemons avatar Oct 07 '23 21:10 FireLemons

Not fixed

FireLemons avatar Oct 18 '23 18:10 FireLemons

This issue has been inactive for 245 hours (10.21 days) and will be unassigned after 115 more hours (4.79 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] avatar Oct 29 '23 00:10 github-actions[bot]

This issue has been inactive for 365 hours (15.21 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] avatar Nov 03 '23 00:11 github-actions[bot]

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

github-actions[bot] avatar Jan 04 '24 01:01 github-actions[bot]

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

compwron avatar May 05 '24 20:05 compwron