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

Random behat inplace editable failure

    XMLWordPrintable

Details

    • MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-60633-master
    • Hide

      Whilst this will be tested by CiBoT, this should also be manually tested since this is a random failure. It's really not hard.

      1. Open lib/external/externallib.php and find the update_inplace_editable function
      2. Add a 3 second sleep to the top of the function
      3. Run the "Inline edit section name in weeks format" scenario found in course/format/weeks/tests/behat/edit_delete_sections.feature
      Show
      Whilst this will be tested by CiBoT, this should also be manually tested since this is a random failure. It's really not hard. Open lib/external/externallib.php and find the update_inplace_editable function Add a 3 second sleep to the top of the function Run the " Inline edit section name in weeks format " scenario found in course/format/weeks/tests/behat/edit_delete_sections.feature

    Description

      Where an inplace editable takes some time to complete, this can cause a test fail (e.g. if the test verifies the change).

      Attachments

        Activity

          People

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Monllaó David Monllaó
            Adrian Greeve Adrian Greeve
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Nov/17