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

Placeholder for acceptance tests list #4

Open
Spaceinvaderz opened this issue Feb 19, 2021 · 11 comments
Open

Placeholder for acceptance tests list #4

Spaceinvaderz opened this issue Feb 19, 2021 · 11 comments

Comments

@Spaceinvaderz
Copy link

Spaceinvaderz commented Feb 19, 2021

Please put list of desired test-cases (in simple human readable format) here, so we can use it in the future.

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Browsing

  • as an anonymous visitor, I should be able to visit Main page and read some kind of a welcome text to learn what this site is about
  • as an anonymous visitor, I should be able to visit Main page and find a link to Sign Up page
  • as an anonymous visitor, I should be able to visit Main page and find a link to Sign In page
  • as an anonymous visitor, I should see a popup regarding cookies and be able to dismiss it
  • as an anonymous visitor, I should be able to read public posts if I open them by a direct link
  • as an anonymous visitor, I should not be able to read protected posts if I open them by a direct link
  • as an anonymous visitor, I should not be able to read private posts if I open them by a direct link
  • as an anonymous visitor, I should be able to open next page of posts if there are more than 30 of them

Sign up and sign in

  • as an anonymous visitor, I should be able to visit Sign In page and sign in as an existing user
  • as an anonymous visitor, I should see error messages on Sign In page if I try to sign in with wrong email or password
  • as an anonymous visitor, I should be able to visit Sign Up page and sign up as a new user
  • as an anonymous visitor, I should see error messages on Sign Up page if I try to sign up with invalid username, email, or password
  • as a signed in user, I should be able to sign out and become anonymous

Account deletion

  • as a signed in user, I should be able to delete my account
  • as a signed in user, I should not be able to see posts if their author has deleted their account

Search

  • as an anonymous visitor, I should be able to find content of public posts by using search
  • as an anonymous visitor, I should not be able to find protected posts by using search
  • as an anonymous visitor, I should not be able to find private posts by using search
  • as a signed in user, I should be able to find content of public posts by using search
  • as a signed in user, I should be able to find content of protected posts by using search
  • as a signed in user, I should not be able to find content of any posts by using search, if I am blocked by their author
  • as a signed in user, I should not be able to find content of private posts by using search, if I am not subscribed to their author
  • as a signed in user, I should be able to find content of private posts by using search, if I am subscribed to their author
  • as a signed in user, I should be able to find posts that I liked in My Discussions page

Profile settings

  • as a signed in user, I should be able to upload a userpic
  • as a signed in user, I should be able to update my profile description
  • as a signed in user, I should be able to update my screenname
  • as a signed in user, I should be able to update my email
  • as a signed in user, I should be able to change my password
  • as a signed in user, I should be able to see my active sessions
  • as a signed in user, I should be able to close an active session, which should make that session's authentication token invalid

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Writing posts and comments

  • as a signed in user, I should be able to write a new post to my feed
  • as a signed in user, I should be able to write a post with attachments to my feed
  • as a signed in user, I should be able to add a comment to my post
  • as a signed in user, I should be able to add a comment to somebody else's post if I can read it
  • as a signed in user, I should be able to disable comments to my post
  • as a signed in user, I should not be able to add a comment to somebody else's post if they've disabled comments for that post
  • as a signed in user, I should be able to edit my post
  • as a signed in user, I should be able to edit my comment

Liking posts and comments

  • as a signed in user, I should be able to like someone else's post
  • as a signed in user, I should be able to unlike a post I liked
  • as a signed in user, I should be able to like someone else's comment
  • as a signed in user, I should be able to unlike a comment I liked
  • as a signed in user, I should not be able to like my own post
  • as a signed in user, I should not be able to like my own comment
  • as a signed in user, I should be able to see who liked a post
  • as a signed in user, I should be able to see who liked a comment

Deleting posts and comments

  • as a signed in user, I should be able to delete my own post
  • as a signed in user, I should be able to delete my own comment
  • as a signed in user, I should not be able to delete somebody else's post
  • as a signed in user, I should be able to delete somebody else's comment to my post
  • as a signed in user, I should not be able to delete somebody else's comment to their post

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Site appearance

  • as a signed in user, I should be able to change site appearance settings on Settings page

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Groups

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Subscriptions

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Blocking

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Hiding

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Direct messages

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Saved messages

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Notifications

@n1313
Copy link
Contributor

n1313 commented Feb 23, 2021

Spoilers, lighbox, user popups

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants