Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81428

The "Add to contacts" button does not let the user know that the request has been sent

XMLWordPrintable

    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-81428-403
    • MDL-81428-404
    • MDL-81428-main
    • Hide

      Cover by newly created Behat. Manual testing as below

      1. Create a course.
      2. Create 3 users called: s1, t1.
      3. Enrol s1 as student to the created course.
      4. Enrol t1 as teacher to the created course.
      5. Login as t1.
      6. Navigate to the Participant page of the created course.
      7. Click on s1 student.
      8. Verify that you will see a button called: Add to contacts next to the Message button.
      9. Click on that button.
      10. Verify that that button will be changed to Contact request sent.
      11. Verify that that button will be disabled.
      12. Verify that nothing happens when you click on that button.
      13. Reload that page.
      14. Verify that the button still says: Contact request sent
      15. Verify that the button is still disabled.
      16. Login as s1.
      17. Navigate to the Participant page of the created course.
      18. Click on t1.
      19. Verify that you will see a button called: Waiting for your approval
      20. Verify that that button will be disabled.
      21. Verify that nothing happens when you click on that button.
      22. Click on the Message icon (Toggle message drawer)
      23. Verify that you will see (1) next to the Contacts link.
      24. Click on Contacts.
      25. Click on Requests
      26. Verify that you will see: [T1 fullname] would like to contact you.
      27. Click on that request.
      28. Click Accept and add to contacts.
      29. Log out and log in as t1 again.
      30. Navigate to the Participant page of the created course.
      31. Click on s1 student.
      32. Verify that you will see a button called: Remove from contacts next to the Message button.
      33. Click on that button.
      34. Verify that that button will be changed to Add to contacts.
      35. Verify that that button will not be disabled.
      Show
      Cover by newly created Behat. Manual testing as below Create a course. Create 3 users called: s1, t1. Enrol s1 as student to the created course. Enrol t1 as teacher to the created course. Login as t1. Navigate to the Participant page of the created course. Click on s1 student. Verify that you will see a button called: Add to contacts next to the Message button. Click on that button. Verify that that button will be changed to Contact request sent . Verify that that button will be disabled . Verify that nothing happens when you click on that button. Reload that page. Verify that the button still says: Contact request sent Verify that the button is still disabled . Login as s1 . Navigate to the Participant page of the created course. Click on t1 . Verify that you will see a button called:  Waiting for your approval Verify that that button will be disabled . Verify that nothing happens when you click on that button. Click on the Message icon (Toggle message drawer) Verify that you will see (1) next to the Contacts link. Click on Contacts . Click on Requests Verify that you will see: [T1 fullname] would like to contact you . Click on that request. Click Accept and add to contacts. Log out and log in as t1 again. Navigate to the Participant page of the created course. Click on s1 student. Verify that you will see a button called: Remove from contacts next to the Message button. Click on that button. Verify that that button will be changed to Add to contacts . Verify that that button will not be disabled .
    • 2
    • Team Hedgehog 2024 Sprint 2.1, Team Hedgehog 2024 Sprint 2.2

      As admin go to any user's profile and click "Add to contacts". It will show "Remove from contacts".
      Then, refresh the page and the button will show "Add to contacts" again.

            huongn@moodle.com Huong Nguyen
            odei.alba@moodle.com Odei Alba
            Meirza Meirza
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 1 hour, 11 minutes
                3d 1h 11m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.