Skip to content

Latest commit

 

History

History
475 lines (352 loc) · 13.4 KB

PAGE_TESTING.md

File metadata and controls

475 lines (352 loc) · 13.4 KB

Web Pages Design

Page 1: Home Page

  • Page Description (include a mockup or hand drawn image of the page)

    • Header with logo
    • Navigation menu
    • Single column
    • Flashcard deck preview
    • Description of service
    • Prominent button to deck viewing page
    • Login and register links or user name and logout link if logged in
    • Footer with contact
  • Parameters needed for the page

    • MVP idea and scope
    • Logo
    • Description excerpt
  • Data needed to render the page

    • Home page HTML
    • Deck IDs, titles, descriptions, categories, owner, and public status
    • User login status
  • Link destinations for the page

    • Available
      • Home /
      • About page /about/
      • Decks page /decks/
    • Available If Logged In
      • Log out /auth/logout/
    • Available If Not Logged In
      • Log in /auth/login/
      • Register /auth/register/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via / and /index.html
    • Correct page title
    • Correct page contents
    • Appropriate flashcard deck loaded when corresponding deck image clicked
    • All links lead to correct pages
    • Drop down menus display when menu item clicked


Page 2: About Page

  • Page Description (include a mockup or hand drawn image of the page)

    • Header with logo
    • Navigation menu
    • Single column
    • Description of service
    • Tips on best usage
    • Footer with contact
  • Parameters needed for the page

    • Tips on best usage
    • Logo
    • Description excerpt
  • Data needed to render the page

    • About page HTML
    • User login status
  • Link destinations for the page

    • Available
      • Home /
      • Decks page /decks/
    • Available If Logged In
      • Log out /auth/logout/
    • Available If Not Logged In
      • Log in /auth/login/
      • Register /auth/register/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via /about/ and /about
    • Correct page title
    • Correct page contents
    • Appropriate flashcard deck loaded when corresponding deck image clicked
    • All links lead to correct pages
    • Drop down menus display when menu item clicked


Page 3: Decks Page

  • Page Description (include a mockup or hand drawn image of the page)

    • Displays public decks and if logged in, user-owned private decks
    • Header with logo
    • Navigation menu to other pages
    • If logged in, button/link to create a new deck
    • If logged in, button/link to edit only decks owned by user
    • Includes means to filter decks
    • Footer with contact
  • Parameters needed for the page

    • All decks' details (deck_id, title, description, category, owner, public status)
    • Logo
    • Other pages with corresponding links
  • Data needed to render the page

    • Admin created decks
  • Link destinations for the page

    • Available
      • Home /
      • About page /about/
      • Individual deck pages /decks/<deck_id>/
    • Available If Logged In
      • Log out /auth/logout/
    • Available If Logged In and Owner of Deck
      • Create deck /decks/create/
      • Edit deck /decks/<deck_id>/edit/
      • Log out /auth/logout/
    • Available If Not Logged In
      • Log in /auth/login/
      • Register /auth/register/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via /decks/ and /decks
    • Correct page title
    • All available decks displayed
    • All links lead to correct pages
    • Drop down menus display when menu item clicked

Page 4: Individual Deck Page - PAGE TO STUDY DECKS

  • Page Description (include a mockup or hand drawn image of the page)

    • Displays flashcards for currently selected deck (must be public or owned by user)
    • THIS is the interactive USEABLE PAGE - the purpose of our software
    • Header with logo
    • Navigation menu
    • User can toggle between front and back of flashcards
    • User can create/edit cards and change deck information of user-owned decks
    • This is the most challenging page
  • Parameters needed for the page

    • Logo
    • Login status
    • Deck details for selected deck (deck_id, title, description, category, owner, public status)
  • Data needed to render the page

    • User ID if logged in
    • Deck details for selected deck (deck_id, title, description, category, owner, public status)
    • Details for cards in deck (card_id, front, back, notes)
  • Link destinations for the page

    • Available
      • Home /
      • Decks page /decks/
      • About page /about/
    • Available If Logged In
      • Log out /auth/logout/
    • Available If Logged In and Owner of Current Deck
      • Add card /decks/<deck_id>/add/
      • Edit card /decks/<deck_id>/<card_id>/edit/
      • Edit deck /decks/<deck_id>/edit/
      • Log out /auth/logout/
    • Available If Not Logged In
      • Log in /auth/login/
      • Register /auth/register/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via /decks/<deck_id>/ and /decks/<deck_id>
    • Correct page title
    • All links lead to correct pages
    • Drop down menus display when menu item clicked
    • Appropriate flashcard deck loaded
    • Clicking flashcard displays back of card
    • Front of flashcard corresponds to correct back of card (i.e., word matches definition)


Page 5: Login Page

  • Page Description (include a mockup or hand drawn image of the page)

    • Page for registered user to log in
    • Header with small logo
    • Simple middle box with login form
      • Username field
      • Password field
      • Log in button
    • Small footer with point of contact
  • Parameters needed for the page

    • Logo
    • Knowledge of HTML Forms
  • Data needed to render the page

    • DB with login information and they're assosiated decks
  • Link destinations for the page

    • Available
      • Home /
      • About page /about/
      • Decks page /decks/
    • Available If Logged In
      • Log out /auth/logout/
    • Available If Not Logged In
      • Log in /auth/login
      • Register /auth/register/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via /auth/login/ and /auth/login
    • Correct page title
    • Correct page contents
    • All links lead to correct pages
    • Drop down menus display when menu item clicked
    • Correct username and password results in authentication and redirects to decks page
    • Error displayed for invalid username/password


Page 6: Register Page

  • Page Description (include a mockup or hand drawn image of the page)

    • Page to register new user
    • Header with small logo
    • Simple middle box with registration form
      • Name field
      • Email field
      • Username field
      • Password field
      • Register button
    • Small Footer with point of contact
  • Parameters needed for the page

    • Logo
    • Knowledge of HTML Forms
  • Data needed to render the page

    • DB with login information and they're assosiated decks
  • Link destinations for the page

    • Available
      • Home /
      • About page /about/
      • Decks page /decks/
    • Available If Logged In
      • Log out /auth/logout/
    • Available If Not Logged In
      • Log in /auth/login/
      • Register /auth/register/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via /auth/register/ and /auth/register
    • Correct page title
    • Correct page contents
    • All links lead to correct pages
    • Drop down menus display when menu item clicked
    • Valid user input results in redirect to login page
    • Error displayed for invalid input

Page 7: Create Deck Page

  • Page Description (include a mockup or hand drawn image of the page)

    • Page to create new deck (login required)
    • Header with log
    • Navigation menu
    • Deck creation form in center
      • Title field
      • Category field
      • Description field
      • Public checkbox/toggle
      • Save button
  • Parameters needed for the page

    • Logo
    • Login status
  • Data needed to render the page

    • User ID
  • Link destinations for the page

    • Available
      • Home /
      • About page /about/
      • Decks page /decks/
      • Log out /auth/logout/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via /decks/create/ and /decks/create
    • Correct page title
    • All links lead to correct pages
    • Drop down menus display when clicked
    • Valid input results in deck inserted correctly into DB
    • Valid entry results in redirect to /decks/<deck_id>/
    • Error message displayed for invalid input

Page 8: Edit Deck Page

  • Page Description (include a mockup or hand drawn image of the page)

    • Page to edit existing deck owned by user (login required)
    • Header with log
    • Navigation menu
    • Deck editing form in center
      • Title field
      • Category field
      • Description field
      • Public checkbox/toggle
      • Save button
    • Existing deck details preloaded in form
  • Parameters needed for the page

    • Logo
    • Login status
    • Deck ID
  • Data needed to render the page

    • Login status
    • Deck details for selected deck (deck_id, title, description, category, owner, public status)
  • Link destinations for the page

    • Available
      • Home /
      • About page /about/
      • Decks page /decks/
      • Deck /decks/<deck_id>
      • Log out /auth/logout/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via /decks/<deck_id>/edit/ and /decks/<deck_id>/edit
    • Correct page title
    • All links lead to correct pages
    • Drop down menus display when clicked
    • Current deck information displayed in form
    • Valid input results in deck correctly updated in DB
    • Valid entry results in redirect to /decks/<deck_id>/
    • Error message displayed for invalid input

Page 9: Add Card Page

  • Page Description (include a mockup or hand drawn image of the page)

    • Page to add card(s) to deck owned by user (login required)
    • Flash card creation form in the center
      • Card front field
      • Card back field
      • Notes field
      • Save button
    • Option to upload CSV of multiple cards
  • Parameters needed for the page

    • Logo
    • Login status
    • Deck ID
  • Data needed to render the page

    • User ID
    • Deck ID
  • Link destinations for the page

    • Available
      • Home /
      • About page /about/
      • Decks page /decks/
      • Deck /decks/<deck_id>
      • Log out /auth/logout/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via /decks/<deck_id>/add/ and /decks/<deck_id>/add
    • Correct page title
    • All links lead to correct pages
    • Drop down menus display when clicked
    • Valid input results in card inserted correctly for current deck into DB
    • Valid entry results in redirect to /decks/<deck_id>/
    • Error message displayed for invalid input


Page 10: Edit Card Page

  • Page Description (include a mockup or hand drawn image of the page)

    • Page to edit existing card in deck owned by user
    • Flash card editing form in the center
      • Card front field
      • Card back field
      • Notes field
      • Save button
    • Existing card details preloaded into form
  • Parameters needed for the page

    • Logo
    • Existing deck
    • Login status
  • Data needed to render the page

    • User ID
    • Deck ID
    • Card details (front, back, notes)
  • Link destinations for the page

    • Available
      • Home /
      • About page /about/
      • Decks page /decks/
      • Deck /decks/<deck_id>
      • Log out /auth/logout/
  • List of tests for verifying the rendering of the page

    • Page can be accessed via /decks/<deck_id>/<card_id>/edit/ and /decks/<deck_id>/<card_id>/edit
    • Correct page title
    • All links lead to correct pages
    • Drop down menus display when clicked
    • Current card information displayed in form
    • Valid input results in card correctly updated in DB
    • Valid entry results in redirect to /decks/<deck_id>/
    • Error message displayed for invalid input