mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Two e2e tests failed across Chromium/Firefox/WebKit after this release's changes: - 23-rest-api-more.e2e.js:209 (swimlanes: create, get, edit, delete): the #3624 change referenced models/lib/swimlaneSort via a function-scoped require('/models/lib/swimlaneSort'); the new module was not reliably bundled/ resolved that way, so POST /api/boards/:id/swimlanes threw, was caught, and returned an error object with no _id — the test then read title off a null swimlane. Import nextSwimlaneSort at the module top level, matching every other import in server/models/swimlanes.js, so it is statically bundled. - 02-cards-open-view.e2e.js:93 (editing the card title does not break the card): #4236 intentionally made plain Enter insert a newline in the card title (consistent with the description), with Ctrl/Cmd+Enter saving. The CardPage page object still saved with plain Enter, so the title never persisted and the read timed out. Save with Control+Enter (sends ctrlKey on every platform, which the save handler accepts). Server-side Mocha, import regression, and Node E2E jobs already passed; this makes the Playwright jobs green too.