-
Notifications
You must be signed in to change notification settings - Fork 37
Manual integration tests
thejonas edited this page Nov 6, 2014
·
31 revisions
(A start. More detail is needed)
Legend:
- ☑ Has automated integration test
- ☐ Needs automated integration test
- ☢ Won't get automated integration test
- (no icon) We need to add an icon
- ☑ Fails because of bad email format
- ☑ Fails because of weak password
- ☑ Fails because of mismatched passwords
- ☑ Succeeds with new email
- ☑ Succeeds with previously registered email
- ☑ Click on link in email
- ☑ Paste in token in form
- ☑ Invalid token
- ☑ Previously confirmed token
- ☑ Non-existing account
- ☑ Bad password
- ☑ Unconfirmed account
- ☑ Unconfirmed account with bad password
- ☑ Request password reset
To test successful import, check:
- ☑ Document Set/Tree appears in list
- ☑ Tree can be viewed
- ☑ Search works
- ☑ Documents can be viewed
- Enter bad password leads to error.
- Import public document set with important words and ignored words
- Import private document set with split pages and non-english language
- ☑ Import file
- ☑ Import file with no text column fails
- ☑ Import file with Windows-1252 Character set
- ☑ Cancel upload and restart
- ☑ Import file with less than 3 documents is not allowed
- Import file with Contents column
- Import file with Snippets column
- Import file with Id column
- Import file with https twitter url column
- Import file with http twitter url column
- Import file and set language, important words and ignored words
- ☑ Add more documents after initial batch
- ☑ Import pdfs and set language, important words, and ignored words
- ☑ Import txt, docx, html, pptx files
- Cancel upload by clicking cancel button
- Cancel upload by clicking on document sets
- Import example document set with multiple trees and tags
- Document set is not listed when removed from example
- Cloned document set is still viewable after original is deleted.
- Import shared document set with multiple trees and tags
- Document set is not listed when user is removed as viewer
- Cloned document set is still viewable after original is deleted
- Share document with user who is not yet registered. When user registers, they can clone doc set.
- Export csv all tags in one column
- Export csv each tag in separate column
- Export xlsx all tags in one column
- Export xlsx each tag in separate column
- Export uploaded document set
- Export document set with sub-folders
- Export unsupported document sets
- Create a new tree
- Start multiple concurrent tree creation jobs (in one document set)
- Create new tree with different language, important words, and ignored words
- Create new tree based on tag
- Disallow creating new tree based on tag with fewer than 3 documents
- Cancel new tree
- Delete document sets
- Delete document sets with multiple trees
- Delete document set with failed jobs (probably should not have a test that depends on ability to create a failed job)
- Cancel import
- Cancel import moves other jobs up in queue Probably race condition in test
- Click on (+) in node to expand
- Click on (-) in node to collapse
- View zooms in on selected node
- Hover over node pops up window with number of documents and terms
- Use arrow keys to navigate in tree
- Select node and Edit folder name
- Cancel Edit Folder name
- List can be scrolled up and down
- ☑ Clicking on document leads to document view
- Keyboard shortcuts (j,k, and u)
- When going from document view back to list, last viewed document is highlighted briefly
- Add Tags to nodes
- Remove tags
- Select tag
- Change name and color in Edit tag dialog
- Cancel Edit tag dialog
- Delete tag from Edit tag dialog
- Organize tags list tags with number of documents
- Change tag names and color
- Delete a tag
- Add a tag
- Export tag list
- Select a tag with no documents
- Select Untagged
- Leave document set and reload, verifying that tags are permanent
- Search returns list of documents
- Search result is cached
- Convert search to tag
- Search specific field (title)
- Fuzzy search
- Regex search
- Logged out user is redirected to login page for all requests
- Logged in user gets 403 Error when trying to access other users data
- Logged in user gets 403 Error when trying to access non-existent, but correctly formatted URL
- Import public document set
- Import private document set
- Import a document set treating each page as a document
- Delete imported document set
- Queue multiple imports
- Delete NOT_STARTED imports
- Delete IN_PROGRESS imports
- Upload csv file
- Upload csv file with url and id columns
- Upload csv file with contents column
- Upload csv file with snippets columns
- Upload csv file with tags
- Export csv file with tags in one column
- Export csv file with tags in multiple columns
- Share a document set with an existing user
- Share a document set with non-existing user
- Register as a user with whom a document set has previously been shared.
- Stop sharing a document set with a user
- Stop sharing a document set with a user during cloning.
- Upload csv in IE9 and Safari
- Restart csv upload
- Open Nodes
- Select Nodes
- View public documents
- View private documents
- Add tags to nodes
- Remove tags from nodes
- Add tags to documents
- Remove tags from documents
- Select tags
- Rename tags
- Change tag color
- Delete tags
- Rename Nodes
- Select untagged
- Tag untagged
- Keyboard commands (j,k, arrow keys, ctrl-A)
- Multiple concurrent users
- Importing document sets
- Deleting document sets
- Viewing document sets
- View different document sets in multiple windows
- View the same document set in different windows
- Add tags
- Remove tags
- View the same list of document sets in different windows
- Import document sets
- Delete document sets
- View other documentsets and documents via direct http calls
- Register accounts with improper emails and weak password
- DoS attack
- SQL insertion in fields
- Direct database access
- Cross scripting
- Use http
- All urls lead to login page if not logged in (except /register)
- Redirects to https://www.overviewproject.org
- overview-project.org
- overview-project.com
- overviewproject.com
- www variants
- Login
- Try different queries: Giraffe, Gorilla, Cousin (~800 docs), Sister (~2,000 docs).
- There should be progress indication
- Document sets should not be viewable before processing is complete
- Select a document set to view
- Expand Nodes
- Zoom in and out
- Select a document, it should appear in the document view
- Add tags
- Select some nodes
- Add tags
- Select a subset of tagged documents and remove tags
- Reload document set and verify that documents are still tagged
- Delete the document set
- Logout
- Try to access URLs without logging in.
- Result should be redirect to login page
- Login and try to access document sets and documents of other users