Skip to content

[pull] main from tldraw:main#271

Merged
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main
Nov 18, 2025
Merged

[pull] main from tldraw:main#271
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Nov 18, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Add some basic group e2e tests. There's a ton more we could add, but
went for the most basic ones for now as they do tend to be on the slow
side.

### Change type

- [x] `other`

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Adds end-to-end tests and fixtures for groups (CRUD, reorder, file
ops, sharing) with supporting test utilities and minor test-id/DO route
adjustments.
> 
> - **E2E Tests**:
> - Add `tests/groups.spec.ts` covering group create/rename/delete,
expand/collapse persistence, reordering via drag, file
create/move/drag/pin/unpin/duplicate/delete, move-to-home, and
sharing/invitation flows with cross-user propagation.
> - **Fixtures/Helpers**:
> - New `GroupInviteDialog` fixture; register in `tla-test.ts` and
`helpers.ts`.
> - Extend `Sidebar` fixture with group operations, file operations
within groups, drag-and-drop utilities, and invite-link copy methods;
add `createGroupButton` selector.
> - `Database` fixture: add `enableGroupsFrontend()` and simplify
cleanup to hit `prepare-for-test` without legacy header.
>   - Remove init-mode code from `HomePage`.
> - **App UI**:
> - Change sidebar create-group button test id to `tla-create-group` in
`TlaSidebar.tsx`.
> - **Sync Worker (test utilities)**:
> - Simplify `__test__prepareForTest`: always set `groups_backend`,
clear all user groups, and recreate home group; update
`/app/__test__/user/:userId/prepare-for-test` route accordingly.
> - **Cleanup**:
>   - Remove `run-both-modes.sh` and `init-mode-verification.spec.ts`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
18c142a. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@pull pull Bot locked and limited conversation to collaborators Nov 18, 2025
@pull pull Bot added the ⤵️ pull label Nov 18, 2025
@pull pull Bot merged commit 42a4388 into code:main Nov 18, 2025
1 of 7 checks passed
@pull pull Bot had a problem deploying to deploy-production November 18, 2025 09:13 Failure
@pull pull Bot had a problem deploying to deploy-staging November 18, 2025 09:13 Failure
@pull pull Bot had a problem deploying to deploy-staging November 18, 2025 09:13 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant