CAKES-coding / swe574-group2

This repo is created to demonstrate the skills develop a software as a team.
5 stars 1 forks source link

Non-member test #178

Closed active-sludge closed 2 years ago

active-sludge commented 2 years ago

Invite someone who is not from this team to test the app. Record the findings and bugs.

active-sludge commented 2 years ago

Credentials: username: can@dayan.com password: L36EXUQN

Test Case Scenario 1: Article Tag with Wikidata Entry

# Step Expected Behaviour Actual Behaviour
1 Enter the url of http://34.159.77.79:8000/. Login page is shown. Login page is shown.
2 Enter username and password. Click login. Home page is shown. Home page is shown.
3 Write "lupus" on search box. Click search. Articles related to "lupus" keyword are listed on the page. Articles related to "lupus" keyword are listed on the page.
4 Click on "Using a Multi-Institutional Pediatric Learning Health System to Identify Systemic Lupus Erythematosus and Lupus Nephritis: Development and Validation of Computable Phenotypes." article in the list. Article details page is shown. Article details page is shown.
5 Left click and select a fragment on abstract (SLE diagnostic) with mouse cursor. Then do right click. Tagging options are shown. Tagging options are shown.
6 Select "tag with wikidata entry" option. Selected fragment is highlighted, wikidata entry search box and selected fragment indices are shown. Selected fragment is highlighted, wikidata entry search box and selected fragment indices are shown.
7 Write "sle diagnos" on wikidata entry search box. Wikidata entry related to "sle diagnosis" is shown. Wikidata entry related to "sle diagnosis" is shown.
8 Select "Q34135709: SLE diagnosis and treatment: when early is early" wikidata entry. Click "Tag with Wikidata Entry" button. Tag details such as Fragment Text, Entry ID, Label, Description are shown. Tag details such as Fragment Text, Entry ID, Label, Description are shown.
9 Click "Confirm Tag" button. Article is tagged and tag details are shown on the same page. Article is tagged and tag details are shown on the same page.

Test Case Scenario 2: Tag Vote and Activity Feeds

# Step Expected Behaviour Actual Behaviour
1 Enter the url of http://34.159.77.79:8000/. Login page is shown. Login page is shown.
2 Enter username and password. Click login. Home page is shown. Home page is shown.
3 Click "An outbreak of SARS-CoV-2 on a transplant unit in the early vaccination era." article on "Feed For You" section. Article details page is shown. Article details page is shown.
4 There is a tag (ID=Q98938547") for this article. Click upvote button for that tag. Vote count increases by one. Vote count increases by one.
5 Click home on header. Home page is shown. Home page is shown.
6 Check "Feed For You" section in home page. "Can Dayan viewed An outbreak of SARS-CoV-2 on a transplant unit in the early vaccination era." and "Can Dayan upvoted Atypcial" activities are shown. "Can Dayan viewed An outbreak of SARS-CoV-2 on a transplant unit in the early vaccination era." and "Can Dayan upvoted Atypcial" activities are shown.

Test Case Scenario 3: User Suggestion, Follow and Activity Feeds

# Step Expected Behaviour Actual Behaviour
1 Enter the url of http://34.159.77.79:8000/. Login page is shown. Login page is shown.
2 Enter username and password. Click login. Home page is shown. Home page is shown.
3 Check "Suggested User" part of "Suggestions For You" section. "Emre Çalık" is shown as one of suggested users. "Emre Çalık" is shown as one of suggested users.
4 Click "Emre Çalık". User details page is shown. User details page is shown.
5 Click "Recent Activities" tab on user details page. Emre Çalık's activities are shown. Emre Çalık's activities are shown.
6 Click "Tagged Articles" tab on user details page. Emre Çalık's tagged articles are shown. Emre Çalık's tagged articles are shown.
7 Click "Follow" button. Button is re-rendered as "Unfollow". Button is re-rendered as "Unfollow".
8 Click "Home" on header. Home page is shown. Home page is shown.
9 Check "Feed For You" section. "Can Dayan followed Emre Çalık" activity is shown. "Can Dayan followed Emre Çalık" activity is shown.
10 Check "Suggested User" section. Emre Çalık is no longer shown as a suggested user. Emre Çalık is no longer shown as a suggested user.
emrecalik commented 2 years ago

Scenarios were tested with Ulaş Dedeoğlu at 05/01/2022. All tests were passed successfully. However, Ulaş had several comments: