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

Random behat inplace editable failure

    XMLWordPrintable

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-60633-master

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17