mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-03 06:24:30 +00:00
test(e2e): add project-level invite and file-move e2e tests
Add four project-level webapp e2e tests: - invite a member to a project; the invitee only sees the invited project - drag a file into a folder and a folder into another folder - drag a file onto a file to create a version stack - drag a file onto a version stack to add a new version Supporting changes: - expose rootFolderId on the project fixture - add seedFolder/seedFile helpers and a cross-browser dragCard helper (WebKit requires pointer moves in awaited batches for dnd-kit activation) - add project-members-trigger testid to the file-browser toolbar - document the new test cases in the e2e README
This commit is contained in:
@@ -71,6 +71,10 @@ apps/web/e2e/
|
||||
| Owner creates a share link from a file context menu and lands on the share page | `tests/project/create-share-link.spec.ts` |
|
||||
| Owner protects a share with a password; guests must enter it to view | `tests/project/share-password.spec.ts` |
|
||||
| Owner creates a collection from the sidebar; the collection shows project files | `tests/project/create-collection.spec.ts` |
|
||||
| Owner invites a member to a project; the member only sees the invited project | `tests/project/invite-member.spec.ts` |
|
||||
| Owner drags a file into a folder and a folder into another folder | `tests/project/move-folder-file.spec.ts` |
|
||||
| Owner drags a file onto a file to create a version stack | `tests/project/version-stack-create.spec.ts` |
|
||||
| Owner drags a file onto a version stack to add a new version | `tests/project/version-stack-add-version.spec.ts` |
|
||||
|
||||
## Conventions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user