Uploaded image for project: 'Social Justice Repair Kit'
  1. Social Justice Repair Kit
  2. SJRK-372

Tests for the Page grade hang in event tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: Storytelling Tool UI
    • Labels:
      None

      Description

      The tests for the Page grade hang on the following test:

      "Test page grade: Test events and timing — at sequence position 8 of 24"

      as well as

      "Test page grade: Test events and timing — at sequence position 13 of 24"

      The particular event being waited on in both cases is "uio.prefsEditorLoader.messageLoader.events.onResourcesLoaded" after a language change. In this part of the sequence, there are two event listeners back to back, so it could be related to that, or it could simply be that the event immediately prior to it (menu.events.onControlsBound, to wait for that UI to finish rendering) is firing sometimes before and sometimes after UIO's onResourcesLoaded.

      This issue doesn't always occur, and seems to be more frequent depending on the exact environment and browser. In Edge 44, it happens over 90% of the time, while in Firefox 78 it's more like 30%, and in Chrome 83 it seems to happen less than 10% of the time. This also only seems to occur when running the browser tests from the server hosting rather than hosting locally.

        Attachments

        1. 2020-07-02 page tests hanging edge 44.png
          28 kB
          Gregor Moss
        2. 2020-07-02 page tests hanging ipad.png
          941 kB
          Gregor Moss

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              gmoss Gregor Moss
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: