-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Zachary Wassall edited this page Aug 18, 2017
·
2 revisions
- Log in as alice.
- Verify that alice follows nobody on her "Profile" page, and that her "Review Feed" is empty.
- Go to the home page ("ticalc App Store") and view the "AJVectors" app.
- Click on ed's name in the review near the bottom to view his profile page.
- A "Follow" button should be visible in the top-right. Clicking it should toggle it to say "Unfollow".
- Navigate back to alice's "Profile" page and verify that ed now shows up in her following list (along with an "x" to remove him).
- Navigate to the "Review feed" and verify that ed's reviews appear.
- Return to alice's "Profile" page and click the "x" next to ed's name to unfollow him and return alice to the initial state. Her "Review Feed" should be empty again.
- Log in as alice.
- Navigate to the "Search" page ans search for and view the detail page for some app.
- Towards the bottom of the page, select "Write a review".
- Select a star rating (the "Create" button is disabled until this is done). Provide a title and description and create the review (a review can be created without these, but will not show up in review lists as it has no text).
- The browser should return to the app detail page with the new review in the review list at the bottom of the page. Additionally, the total score and rating count under the download button in the top-right should be updated.
- Log in as any user (or no user).
- Make a search. (Note: The public site's search functionality does not implement paging and additional info must be fetched for each result individually, so large result sets may take a long time to load. I often use the query "query" in testing.)
- For each search result, the following information should be presented: category (formatted as a label), app title (link to detail page, which is truncated as necessary not to overlap with the stars), total score (read-only stars), and description (truncated to 6 lines).
- Log in as any user (or no user).
- Search for "axe parser" and click the title for the second entry, "Axe Parser 1.2.2".
- Verify that all the vital information appears (going from top-to-bottom): title, authors, date published, download button, rating info, description, screenshots, and reviews.
- Verify that two authors appeared. Both can be clicked on to view their profile. bob has created an account on the website, while "kevin horowitz" has not and has been given a placeholder account. Going back with the browser back button or the button in the top-left should return to the app detail page.
- Clicking the download link should initiate a download of "axe.zip".
- The screenshots should be presented in touch-friendly a carousel.
- If logged in, the option to "Write a review" should be present.
- Multiple reviews should be listed, potentially without titles or review text as these are optional. Each review should display the title, date, rating, author, and review text. The author link should be clickable like the app author links.
- Navigating back to the search page with the browser back button or the button in the top-left should return to the "axe parser" search results.
- Log in as bob.
- Navigate to "Developer > My Apps" to view a list of bob's authored apps. Three should be visible. (Note that users cannot view a full list of another user's authored apps.)
- Navigate to "Developer > Reviews" to view a list of reviews on bob's authored apps. There should be multiple, on multiple apps, by multiple users. (Other users cannot see this, either.)
- Navigate to bob's "Profile" page. Verify that the information is editable and persists when edited. Note that the ticalc ID is what links developer users to their apps. If you change it, the "Developer > My Apps" and "Developer > Reviews" lists will probably become empty. If you clear it, bob will no longer have the developer role (the "Developer" tab will still appear until a page reload, but attempting to navigate to a developer-only page should kick the user back to the home page). When done, make sure to restore bob's ticalc ID to 11144.
- On bob's "Profile" page, verify that the list of reviewers he's following appears.
- Click on ed's name in the following list to see his profile. It should be a non-editable version, including the name, email, date created, unfollow button, and following list.
- Register as a new user.
- Log out and log in as the admin user.
- Navigate to the "Admin > Users" page. Verify that the list of users appears with "x" marks to delete all users except themself.
- Click on the new users' name. Verify that the admin update this user's details and, unlike a normal user, can toggle admin status and has a delete button on this page.
- Click the delete button on the created user's profile page or click the "x" next to their name in the users list to delete the user. Verify that they can no longer log in.