Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smoke testplan for ocis #773

Merged
merged 4 commits into from
Nov 9, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 123 additions & 0 deletions Server/Test_Plan_OCIS_Smoke_Test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
### Case 1: admin share folder(with file) to marie:

Admin:
- [ ] upload big file 10gb (Show details, pause upload, resume upload work correct)
- [ ] upload folder with 803 small images.
- [ ] Check pagination, count items per page.
- [ ] upload folder(drag folder) "folder_to_share" with file.pdf
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] share folder "folder_to_share" to marie with edit right
individual-it marked this conversation as resolved.
Show resolved Hide resolved

Marie:
- [ ] accept "folder_to_share"
- [ ] upload new file "file.txt" to "folder_to_share" (admin see new file)
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] open pdf file
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] rename file.pdf (use rigth click) (admin see that file changed name)
individual-it marked this conversation as resolved.
Show resolved Hide resolved

Admin:
- [ ] add new file.jpeg to "folder_to_share"
- [ ] move file.pdf to root "personal" (marie can not see file.pdf) cmd c -> cmd v
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] add new "file.txt" create new version. (use drag and drop)
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] open txt file in markdown-editor. Change and save.
individual-it marked this conversation as resolved.
Show resolved Hide resolved

Marie:
- [ ] can download both versions
- [ ] restore old version
individual-it marked this conversation as resolved.
Show resolved Hide resolved

Admin:
- [ ] change share "folder_to_share" from "edit" to "viewer" (marie cannot rename/move/delete/download file in folder and cannot create new document in the folder)
individual-it marked this conversation as resolved.
Show resolved Hide resolved

Marie:
- [ ] decline folder (removed from shares folder)
- [ ] accept again
individual-it marked this conversation as resolved.
Show resolved Hide resolved

Admin:
- [ ] delete folder "folder_to_share" (removed from shared with me, removed from Marie)

## Case 2: admin share file to marie:

Admin:
- [ ] upload file.jpeg
- [ ] share file.jpeg to marie with rigth viewer (use main menu. find marie by email marie@example.org)
individual-it marked this conversation as resolved.
Show resolved Hide resolved

Marie:
- [ ] accept file (marie can open/download/copy file but cannot delete/move/rename)
- [ ] open file in Mediaviewer
- [ ] download file
individual-it marked this conversation as resolved.
Show resolved Hide resolved

Admin:
- [ ] share share "file.txt" with edit right
individual-it marked this conversation as resolved.
Show resolved Hide resolved

Marie:
- [ ] change content of the file (can see new version)

Admin:
- [ ] unshare "file.jpeg" (marie cannot see "file.jpeg")
individual-it marked this conversation as resolved.
Show resolved Hide resolved

## Case 3: admin create public links to folder

Admin:
- [ ] create folder "for upload"
- [ ] add link with name "to_upload" with role "Uploader" with pass and expiration date
- [ ] open link (can only upload)
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] upload file (admin can see new file)
- [ ] change share "for upload" from "Uploader" to "edit"
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] admin add new file to folder "for upload"
- [ ] refresh link (file exist)
- [ ] admin change pass (refresh link has to type new pass)

## Case 4: admin create link to file

Admin:
- [ ] create file png
- [ ] add link with main menu
- [ ] open link(can open, download, see) in the incognito tab
- [ ] change link, add pass
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] refresh page (input pass)
- [ ] delete link
- [ ] refresh page (resource not found)
- [ ] delete file
- [ ] restore
- [ ] delete
- [ ] Empty trash

## Case 5: space story:
individual-it marked this conversation as resolved.
Show resolved Hide resolved
Katherine:
- [ ] create space
- [ ] add space image
- [ ] add subtitle "for test"
- [ ] edit description
- [ ] try to upload file (more 1 Gb)
- [ ] increase quota to 5Gb and try again
- [ ] delete file
- [ ] add member Marie with edit role
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] add member Einstein with viewer role

Marie:
- [ ] can see space without accepting
- [ ] change image and description
- [ ] can upload file/folder and create file and folder
- [ ] cannot create resource sharing and space sharing
- [ ] can see deleted files and can restore files from trash
- [ ] cannot disable space

Einstein:
- [ ] can see space without accepting
- [ ] cannot change image and description
- [ ] cannot upload file/folder and create file and folder
- [ ] cannot create resource sharing and space sharing
- [ ] can see deleted files and cannot restore files from trash
- [ ] cannot disable space

## Case 6: create new user via accounts:
Admin (test via api):
- [ ] create new account "tom" use graph Api
individual-it marked this conversation as resolved.
Show resolved Hide resolved
- [ ] create new group
- [ ] add user to group
- [ ] share folder with group
- [ ] change language
- [ ] delete users

## Case 7: Search
- [ ] personal space
- [ ] project space
- [ ] share jail