Skip to content

Three list cases in the editor specs fail every time and are skipped #679

Open

Description

@HMarzban

Summary

Three list cases in the editor Cypress specs fail every time. #477 skipped them so the editor job could ship. The cause is not known.

They are real failures, not flakes. A one-time un-skip check on 2026-10-25 failed all three again. The failures happen on Linux and on macOS.

A local report from 2026-09-29 says these specs passed then: combined-lists 7/7 and list-edge-cases 6/6. If that is right, this is a regression from between 2026-09-29 and 2026-10-25. In #477, the test bodies changed only Meta to MOD.

Editor-touching commits in that window include 7c3d7d26c (TipTap 3.32 and Cypress 16) and 659dab27d (#572). None is tested as the cause.

Cases

  • Ordered list with a nested task list

    • File: apps/webapp/cypress/e2e/editor/lists/combined-lists.cy.js:203
    • Test: should support ordered list with nested task list
    • Failing behaviour: the spec makes an ordered list, nests a task list with Tab and Mod+Shift+9, then leaves it with Enter and Shift+Tab. After that, only 1 ol > li remains, and the spec expects at least 2 (line 241).
    • Lead: Indent owns Shift+Tab. It tries liftListItem('listItem') before taskItem (extensions/extension-indent/src/indent.ts:43-45). Inside a nested task item, that may lift the outer ordered item.
    • To un-skip: find why the second ordered item is lost. Fix the app, or fix the spec if its key steps are wrong. Then remove .skip.
  • Three levels of different list types

    • File: apps/webapp/cypress/e2e/editor/lists/combined-lists.cy.js:261
    • Test: should support three levels of different list types
    • Failing behaviour: the spec builds task list, then ordered list, then bullet list, and steps back up with Shift+Tab. Back at level 1, no ul[data-type="taskList"] > li exists (line 306).
    • Lead: the same Indent Shift+Tab order as the case above. Not tested.
    • To un-skip: find where the task list goes after the two Shift+Tab steps. Fix the app or the spec. Then remove .skip.
  • Subset of ordered items to task items

    • File: apps/webapp/cypress/e2e/editor/lists/list-edge-cases.cy.js:114
    • Test: converts only a selected subset of ordered items into task list items
    • Failing behaviour: the spec selects items 2 and 3 of a 4-item ordered list and presses Mod+Shift+9. Item 1, "Step 1 keep ordered", is then no longer inside ol > li (line 149).
    • To un-skip: make the toggle change only the selected items. Items 1 and 4 must stay ordered. Then remove .skip.

Done when

  • All three cases pass with .skip removed, locally and in the editor-e2e job on main.
  • Each fix is proven: break it, see the spec fail, then restore it.

Related: #477

Activity

  1. added this to the v2.4.0 milestone on Nov 3, 2026
  2. added
    bug
    Editor
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Editorbug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions