Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.34 KB

unsubscribe_from_user.md

File metadata and controls

51 lines (36 loc) · 1.34 KB

Unsubscribe from user test case

It should do unsubscribe from user:

Before

  1. Open https://demo.realworld.io/
  2. Repeat steps 2-9 from login user
  3. Url should be /#/ — main page

Delete all my articles

  1. Click on button that contain username
  2. If articles is list not empty then
    • click button Delete
    • go to step 4

Checking for a subscription

  1. In feed toggle menu should be active Your Feed
  2. Your Feed contains text "No articles are here... yet"?
    • No, go to step 14.
    • Yes, continue.

Subscribe to user by following him

  1. Click Global Feed in feed toggle menu
  2. List should have 10 article cards
  3. Select first article
  4. Click button Follow
  5. Confirm that the button text changes to Unfollow

Check user in your subscription list

  1. Click Home
  2. In feed toggle menu should be active Your Feed
  3. Check {authorFollowed} should be visible

Unsubscribe from user by unfollowing him

  1. Select first article
  2. Click button Unfollow
  3. Confirm that the button text changes to Follow
  4. Click Home
  5. In feed toggle menu should be active Your Feed
  6. Check that your subscription list does not contain {authorUnfollowed}

Where:

  • {authorFollow} — subscribed author
  • {authorUnfollow} - unsubscribed author