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

Undefined error briefly appearing running behat tests

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Run following feature in loop and ensure you don't see any unexpected dialogue or anything in apache error log.

      --name 'In an assignment, students start a new attempt based on their previous one' --format pretty
      

      Show
      Run following feature in loop and ensure you don't see any unexpected dialogue or anything in apache error log. --name 'In an assignment, students start a new attempt based on their previous one' --format pretty
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull Master Branch:
      wip-mdl-56840

      Description

      Was running @mod_assign tests, looking for possible regressions with another issue when, by coincidence I saw one of those js-console dialogs being show, with a big "Undefined" and nothing else. No matter of that, the feature ended without failure.

      To reproduce, run:

       --name 'In an assignment, students start a new attempt based on their previous one' --format pretty
      

      And watch closely the execution of the Submit a text online and edit the submission scenario. Near the end you should see that "Undefined" dialog showing briefly.

      I've tried to pause the scenario here at different points but then the dialog was not shown. So, tricky to interrupt and see what's going there.

      And that's all the information I can put on the table, IMO that dialog should not be there and also, ideally, we should be detecting them without needed to watch the execution, heh.

      Note it's not critical, because it does not fail the scenario, but surely worth looking once there is some time for it.

      Ciao

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Nov/16