Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
FireLemons opened this issue Aug 16, 2023 · 8 comments · Fixed by #5239
Closed

Comments

@FireLemons
Copy link
Collaborator

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 FireLemons added Type: Bug Help Wanted This is a special label that enables github to showcase issues that want help labels Aug 16, 2023
@tonyaraujop
Copy link
Contributor

Hey there, can I work on this one?

@github-actions github-actions bot removed the Help Wanted This is a special label that enables github to showcase issues that want help label Sep 25, 2023
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

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

@FireLemons
Copy link
Collaborator Author

🏅

@github-project-automation github-project-automation bot moved this from Todo to Merged to QA in CASA Volunteer Portal Oct 7, 2023
@FireLemons FireLemons reopened this Oct 18, 2023
@github-project-automation github-project-automation bot moved this from Merged to QA to Todo in CASA Volunteer Portal Oct 18, 2023
@FireLemons
Copy link
Collaborator Author

Not fixed

@github-actions
Copy link

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

Copy link

github-actions bot commented Nov 3, 2023

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.

Copy link

github-actions bot commented Jan 4, 2024

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

@compwron
Copy link
Collaborator

compwron commented May 5, 2024

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

@compwron compwron closed this as completed May 5, 2024
@github-project-automation github-project-automation bot moved this from Todo to Merged to QA in CASA Volunteer Portal May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
3 participants