Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #47742 Flaky JS taskboard test suite
    Infos
    #47742
    Thomas Gerbet (tgerbet)
    2026-07-22 11:43
    2026-07-21 17:37
    49491
    Details
    Flaky JS taskboard test suite

    From time to time the test suite fails with something looking like this:

    @tuleap/plugin-taskboard:test: ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯
    @tuleap/plugin-taskboard:test:
    @tuleap/plugin-taskboard:test: Vitest caught 1 unhandled error during the test run.
    @tuleap/plugin-taskboard:test: This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.
    @tuleap/plugin-taskboard:test:
    @tuleap/plugin-taskboard:test: ⎯⎯⎯⎯⎯ Uncaught Exception ⎯⎯⎯⎯⎯
    @tuleap/plugin-taskboard:test: ReferenceError: window is not defined
    @tuleap/plugin-taskboard:test:  ❯ scrollToItemItem src/helpers/scroll-to-item.ts:41:13
    @tuleap/plugin-taskboard:test:      39|     if (current_top < NAVBAR_HEIGHT_AND_HEADER_HEIGHT_IN_PX) {
    @tuleap/plugin-taskboard:test:      40|         const new_top =
    @tuleap/plugin-taskboard:test:      41|             window.pageYOffset +
    @tuleap/plugin-taskboard:test:        |             ^
    @tuleap/plugin-taskboard:test:      42|             current_top -
    @tuleap/plugin-taskboard:test:      43|             NAVBAR_HEIGHT_AND_HEADER_HEIGHT_IN_PX -
    @tuleap/plugin-taskboard:test:  ❯ scrollToItemIfNeeded src/helpers/scroll-to-item.ts:32:9
    @tuleap/plugin-taskboard:test:  ❯ Timeout._onTimeout src/components/TaskBoard/Body/Swimlane/Card/BaseCard.vue:178:13
    @tuleap/plugin-taskboard:test:  ❯ listOnTimeout node:internal/timers:605:17
    @tuleap/plugin-taskboard:test:  ❯ processTimers node:internal/timers:541:7
    @tuleap/plugin-taskboard:test:
    @tuleap/plugin-taskboard:test: This error originated in "src/components/TaskBoard/Body/Swimlane/Card/BaseCard.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
    
    Dev tools
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2026-07-22
    Attachments
    Empty
    References
    Referenced by request #47742

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2026-07-21 17:45

    • Summary
      -Flaky JS taskboard test suites 
      +Flaky JS taskboard test suite 
    • Status changed from Under implementation to Under review