test(e2e): add file, share, and collection web app e2e tests

Add six domain-level web app e2e tests covering team member removal,
file upload/delete/restore, share link creation and password protection,
and collection creation. Introduce a parametrized 'file' fixture with
configurable media types (text/binary/image/video/pdf) for future
type-scoped tests, plus helpers for share APIs and team member seeding.

Also document all web app e2e test cases in apps/web/e2e/README.md and
require this documentation in AGENTS.md.
This commit is contained in:
yiling
2026-08-03 16:34:37 +08:00
parent 5647231d7f
commit 3789366d35
12 changed files with 462 additions and 1 deletions
@@ -560,6 +560,7 @@ export function FolderTree({
</div>
{canEdit && (
<button
data-testid="create-collection"
onClick={() => createCollection()}
className="text-muted-foreground hover:text-foreground flex-none"
>