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

Undefined error briefly appearing running behat tests

XMLWordPrintable

    • MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • wip-mdl-56840
    • 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

      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

            rajeshtaneja Rajesh Taneja
            stronk7 Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Lyons Andrew Lyons
            Jun Pataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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