Commit Graph
9 Commits
Author SHA1 Message Date
Lauri Ojansivu b104edeef1 Add source-loaded development server and sequential EVERYTHING testing
Add Dev server nobuild to both build menus with shared URL and port options. Load checkout JavaScript and templates in memory using the installed Meteor toolchain; start its bundled MongoDB on the next port and wait for owned database shutdown.

Run server, Node, import, E2E and all supported Chromium, Firefox and WebKit regressions sequentially, stopping on failure. Preserve CommonJS semantics, native fetch, dynamic import namespaces and client source access boundaries. Document verified results and the remaining Windows and intermittent Firefox limits.

Thanks to xet7 !
2026-09-20 05:37:00 +03:00
Lauri Ojansivu 9e0f75f5a7 Refresh browser test dependencies and repair the attachment viewer regression selector 2026-09-13 14:18:36 +03:00
Lauri Ojansivu 7f9ed69159 Repair test sessions after HttpOnly token migration
Persist seeded browser-test credentials through the native HttpOnly cookie, classify the FerretDB preflight helper correctly, and keep Windows release commands self-contained when no git remote exists.\n\nThanks to xet7 !
2026-08-30 07:20:26 +03:00
Lauri Ojansivu 1ccb71baeb Bound legacy E2E login and suite waits.
Wait for a connected Meteor DDP session before resume-token login, bound the callback and identity settlement, and report browser connection state when either fails. Add a final suite deadline and regression coverage so a fresh second session can no longer leave all tests paused indefinitely.

Thanks to xet7 !
2026-08-23 19:26:52 +03:00
Lauri Ojansivu a2ba64c0fe Fix regressions found by the full test run.
Thanks to xet7 !
2026-08-17 15:36:50 +03:00
Lauri Ojansivu 6d6c26dd9b Updated tests.
Thanks to xet7 !
2026-06-18 04:14:59 +03:00
Lauri Ojansivu 7db0248920 - Fix moving/copying a card silently failing with a 403 validation error
the move, copy, copy-many and convert-checklist-item card dialogs could leave a
  card in its original list instead of moving it.
  Details:
  - Root cause: the dialog's "Done" handler read the target board/swimlane/list by
    scraping the DOM `<select>` elements. The reactive `boards()` helper can
    transiently return `[]` while a `board` subscription re-resolves, leaving the
    board `<select>` momentarily option-less, so `selectedIndex` was `-1` and the
    scraped `boardId` was `undefined`. `card.move(undefined, …)` then failed
    server-side with `ValidationError: Not permitted. Untrusted code may only
    updateAsync documents by ID [403]`, and the card silently stayed put. This was
    a gap in the earlier dialog fix, which bound only the swimlane and list options
    to the live selection but left the board `<select>` on the (empty)
    last-confirmed option.
  - Fix: the Done handler now reads `boardId`/`swimlaneId`/`listId` from the
    dialog's live reactive selection (`selectedBoardId`/`selectedSwimlaneId`/
    `selectedListId`), which stays correct across re-renders, and the board
    `<option selected>` attribute is bound to the live selection in all four
    dialogs for UI consistency.
  - Test hardening: three Playwright/Node E2E tests that flaked under the
    all-parallel run (move-list-right, add-to-top/add-to-bottom, and the Node E2E
    second-session list-order check) now wait for the board subscription to
    populate before acting, instead of reading once after a fixed delay.

Thanks to xet7 and Claude !
2026-06-16 23:41:43 +03:00
Lauri Ojansivu 1b1b04d083 Fix tests.
Thanks to xet7 !
2026-05-21 09:24:05 +03:00
Harry Adel ddd873c7a0 Fix client runtime regressions after Meteor 3 migration 2026-03-24 01:51:20 +02:00