-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Sushant Mimani edited this page Aug 14, 2017
·
1 revision
- An expert user can edit or delete the answers given by any other user. Charlie and Dan are expert users. Use the following navigation to test:
- Click on any question that has an answer listed
- Verify that the answer has not been posted by the expert user. This can be done by navigating to the 'My Content' page using the drop down menu on the top-right.
- Click on the ... next to the answer and select 'Edit' or 'Delete' as required
- Proceed as desired
- The user can search for any topic using the search bar in the header. The search bar uses a Google search API and searches and retrieves relevant results from Quora.com. The user can click on the links to open them in a new tab or navigate back to the previous page using the provided options
- A logged in User can click on a question and go to the question details page. The question details page lists all answers associated with a given question
- When the user is logged in, he can see all questions from all users based on his preferences. To set preferences follow the steps below:
- Go to the profile page using the drop down menu on the top right
- Select the categories to be set as preference
- Now the 'Read' page will show only those questions which match the categories selected by the user.
- Click on the 'Ask a question' button available on the header
- The user is redirected to the new question page
- Fill in the relevant details
- The user can chose to post anonymously. In this case his/her username will not show up with the quesion
- Click on the "Answer" option on the header
- A list of questions available for answering is displayed. Once a question is answered, the question is no longer available in the "Answer" page for the given user. The answer can then be viewed by navigating to the question details page or by using the "My Content" view
- Questions can also be answered while in the question details page.
- Users can upvote or downvote answer by other users. To upvote or downvote, follow the following steps
- On the "Read page", two buttons are available next to answer. Click the green button to upvote and the red to downvote
- A user cannot vote on their own answers
- A user can up or down vote someone else's answer only once
Admin can perform CRUD operation on users, questions, and answers. The first 3 are performed from the admin dashboard. To access the admin dashboard, click on the drop down menu on the top right and select admin dashboard
- The default view is the list view, where all users are listed
- Click on the pencil icon, to enter edit mode. Make changes and save.
- Click on remove button to delete user
- Click on the plus sign at the bottom of the table to create a new user
- The default view is the list view, where all categories are listed
- Click on the pencil icon, to enter edit mode. Make changes and save.
- Click on remove button to delete user
- Click on the plus sign at the bottom of the table to create a new category
- The default view is the list view, where all questions are listed
- Click on the question number to be redirected to the question details page with edit privilieges