Skip to content

Testing Plan | Final Project Implementation

rpcq edited this page May 7, 2022 · 4 revisions

PLAN (ALL LISTED CRITERIA MET AS OF 5/6/2022 2:15 PM)

Below is a list of ALL the formalities/functionalities that the website must properly execute.

At the end of all sections, a test plan is laid out to stress test functionalities specific to that section.

  • Results are described below each test plan section.

WEBSITE BASICS

TEST ALL LINKS

TEST ALL PATHS

  • HOME > SIGN UP > Sign up with e-mail and pass > HOME
  • HOME > MAKE LIST > ADD KEYCAPS > ADD FIRST PRODUCT > SAVE LIST > GO HOME

RESULTS

  • All links work, all paths work, entire website is available to user

Typing Test

  • User can type in TypeTest input box
  • User can click redo, TypeTest resets and changes text
  • Upon completion, WPM and ACC results are displayed

Virtual Keyboard

  • Keyboard highlights which key user presses

List Selection

  • List dropdown shows all user lists
  • User can select list and have changes reflected in text below dropdown box
  • Sound changes upon list selection

TEST LISTS FOR SOUND COMBINATIONS

  • Empty list, no products to change sound (default is tactile switch, no modifiers)
    • Tactile Switch + Plastic Housing + no plate
    • Tactile Switch + Aluminum Housing + no plate
  • Linear Switch, no modifiers (to test if switch change is detected, establish baseline for tests below)
    • Linear Switch + Aluminum Housing + no plate (defaults to polycarbonate sound)
    • Linear Switch + Aluminum Housing + Brass Plate (to detect if plate change can be heard)

RESULTS

  • All lists created, all lists available in dropdowns in ListMaker and home page
  • When each list is selected on home page, typing sound change is reflected in text on bottom of screen and through sound that is played during TypingTest
    image
  • User can click Add button
  • Clicking add button takes user to appropriate page
  • Clicking add on any product takes user back to https://kb-part-picker.web.app/list-maker/makelist
    • Upon return, site displays user's selection in appropriate field (Keycaps Product > Add => Product is displayed in Keycaps row, etc.)
  • Clicking on X on right side of product price will remove the item from the list (Keycaps Row > X => Product reverts to Add button, etc.)
  • User can type in input field to name the list
  • User interaction with Make List button
    • User has created an account, is logged in
      • Upon click, the list is saved
        • Dropdown on ListMaker and home page both reflect the new list created
    • User has not created an account OR is not logged in
      • Upon click, nothing happens
  • User can pick a list they have created
    • Table rows are filled with information about list (Keycaps Row -> Keycaps saved to specified list, etc.)
    • Make List button becomes Edit List button
      • Upon clicking, user can create a new list based on this list's rows, can proceed with adding or deleting rows as usual
    • Delete List button appears next to Edit List button
      • User can delete list, must no longer appear in any dropdowns

TEST LISTS TO CREATE

User: rcpquebral

  • Name: KEYCAP_ONLY, Keycaps: ALUVIA KEYCAPS
  • Name: HOUSING_KEYCAP, Housing: Bakeneko60, Keycaps: CHERRY BLOSSOM
  • Name: HOUSING_ONLY_KEYCAP_DELETED, Housing: Bakaneko60
    • This test is to ensure that the 'X' button works on each product row
  • Name: ALL_SELECTED, Keycaps: CHERRY CHARCOAL, Housing: Meletrix Zoom65, Switches: Cherry Blossom Linear Switch, PCB: NK65™ PCB, Plate: Brutal60 Plates, Stabilizers: Cherry Clip-in Stabilizers
    • This tests that all rows are functioning

User: skipquip

  • This is to test that no list created on one user can be seen on another user's webpage
  • Name: TEST_LIST, Keycaps: CHERRY MILKSHAKE™
  • Check dropdown, can only see TEST_LIST

RESULTS

  • All lists created, all can be seen in dropdowns on ListMaker and home page
  • rcpquebral Lists:

image

  • skipquip Lists:

image

  • Lists of other users cannot be seen
    • Ex. when logging into skipquip user, only TEST_LIST can be seen in dropdowns
  • All tests can be edited, delete buttons per product row works and changes are reflected when saving to new list
  • User can type in email and password field
  • User can click Sign Up button, account is created, user is automatically logged in
    • If e-mail is not in "[email protected]" format, error is given
    • If password is < 6 characters, error is given
  • User can click "or sign in here"
    • This text is changed to "or sign up here"
    • Button text is changed to "Sign In"
      • No fields are changed, if user clicks "Sign In", if user account exists the user is logged in otherwise error is given
  • For either Sign In or Sign Up, if field is empty, user will be given an error
  • For ALL ERRORS, Sign In/Sign Up must not go through, no fields will be changed, user stays on that page until fields are properly filled
  • Once user successfully logs in, button changes to "LOG OUT" and no fields are present. Clicking log out will bring user back to original Sign up form

TEST USERS TO CREATE

  • Users 'rcpquebral' and 'skipquip' created, multiple other users have been created and can be logged in to image image