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

Random behat happening with favourite discussions

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-72727-401
    • Hide
      1. Log in as admin
      2. Open browser developer console
      3. Create a course
      4. Navigate to course Announcements forum
      5. Add a new discussion topic
      6. Press the Star this discussion icon to the left of the discussion list
      7. Confirm there are no browser console errors
      8. Confirm the discussion displays starred upon page reload
      9. Press the Unstar this discussion icon to the left of the discussion list
      10. Confirm there are no browser console errors
      11. Confirm the discussion displays starred upon page reload
      12. Repeat steps 6/9 using the discussion action menu option to star/unstar
      Show
      Log in as admin Open browser developer console Create a course Navigate to course Announcements forum Add a new discussion topic Press the Star this discussion icon to the left of the discussion list Confirm there are no browser console errors Confirm the discussion displays starred upon page reload Press the Unstar this discussion icon to the left of the discussion list Confirm there are no browser console errors Confirm the discussion displays starred upon page reload Repeat steps 6/9 using the discussion action menu option to star/unstar
    • 2
    • Team Omega 4.1 Sprint 0.5, Team Omega radar

    Description

      Since 20 Sep 2021, we are getting this scenario failing, relatively often.

      Link: https://ci.moodle.org/job/W311.03.05%20-%20Behat%20-%20Chrome%20+%20Oracle/236/

      001 Scenario: Student can favourite a discussion from the discussion list # /var/www/html/mod/forum/tests/behat/favourite_discussion.feature:39
            And I click on "[title='Unstar this discussion']" "css_element"     # /var/www/html/mod/forum/tests/behat/favourite_discussion.feature:48
              Css_element matching locator "[title='Unstar this discussion']" not found. (Behat\Mink\Exception\ElementNotFoundException)
      

      it happens both in boost and classic and, until now, has been detected at very least in 311 and master (older branches may be also affected).

      It's not consistent at all (true random) so it may be hard to reproduce, if something, the last 2-3 failures have happened with (slower) Oracle.

      Attachments

        1. 311.gif
          311.gif
          1.32 MB
        2. 39.gif
          39.gif
          2.00 MB
        3. 400.gif
          400.gif
          2.85 MB
        4. 401.gif
          401.gif
          2.34 MB
        5. master.gif
          master.gif
          2.30 MB
        6. MDL-72727 1.png
          MDL-72727 1.png
          50 kB
        7. MDL-72727 2.png
          MDL-72727 2.png
          20 kB
        8. MDL-72727 3.png
          MDL-72727 3.png
          87 kB

        Issue Links

          Activity

            People

              pholden Paul Holden
              stronk7 Eloy Lafuente (stronk7)
              Simey Lameze Simey Lameze
              Andrew Lyons Andrew Lyons
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 57 minutes
                  3h 57m

                  Clockify

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