• NUI Testing Script

last modified August 7, 2007 by nickyg622

italics - for things flunc currently doesn't cover

Homepage - non logged in user

Topnav is Openplans Topnav
      Defined as:
            When not logged in:
                 Topnav should contain OpenPlans (title) "people" "projects"
                 "start a project" and nothing else
                       all links, that work


                 Topnav tab
                       OpenPlans logo
                             home
                             projects
                             people
                             start a project
                             help (link to help) [removed until NUI round two, see #989]
                       search box should search
                       login
                       join (link to join)

           When logged in:
                 should be the same EXCEPT:
                       replace "join" with "${USER}"
                            ${USER}
                                  profile
                                  home
                                  account
                                  list of all projects that you're a member of
                                       (public or private)
                                        in alphabetical order, please
                                        links to each project
                       replace "login" with "logout" (link to logout)

Static text
      Make sure all links are correct and point to NUI urls
      Don't say "(soon!) manage task lists"!!

Newest projects
      List last 5 publically viewable projects that have been created
            Project title
                 Links to project
            Date created
                 Prettified

Updated projects[1]
      List last 5 publically viewable projects that have been updated
            Project title
                 Links to project
            Date updated
                 Prettified
            Number of memberships
                 Number of members that show up on project roster page to a
nonmember of the project

      [1] Determine whatever updates currently mean and make sure they're
being reflected on this page. As "what updated means" is changed to reflect
the spec ensure this test is still valid

Getting started
      In a getting started box
      Become a member (link to join)
      Login (link to login)
      Find projects (link to projects)
      Find people (link to people)

News
      In a green information box
      Display title from three most news recent items
            Each one links to the news page with anchor to that particular
news item
      Display revision note underneath
      "more news" link to news page at bottom

Footer
      about
      contact
      news
      legal
      privacy
      # users - total, not viewable
      # projects - total, not viewable
( to write test for this, we may have to write a flunc extension to capture the old value and compare with new)
      since date
      (c) The Open Planning Project
            Links to topp.openplans.org

Homepage - logged in user

      Getting started box should only have "Find projects" and "find
people"

News page

      Navbar = Openplans Topnav
      Title: "OpenPlans News"
      Subpoena free for ??? days
            Hopefully days = # of days since footer date
                 Will be removed completely in case of subpoena to comply
with PATRIOT-I
      Each news item
           display title as link to that news item
           Author and prettydate
           display revision note underneath
            "read more" link to news item
* Add news item with revision note and verify appears correctly (on home page as well)
(Not currently possible with flunc due to technical reasons)
      On RHS, display "about" text
            Make sure all links are working and point to NUI pages

News item page

      Normal wiki page w/ edit permissions only to site managers
      [hide tabs in case of no edit permissions]
      Always link back to news page
* this doesn't currently exist

Join form - MUST BE LOGGED OUT (please test for this)

      Topnav = openplans topnav
      All fields should have validation for the following cases
            Validation after form is posted and also validation while user
is typing
      Username
            Required
            Must be new username
                 This must check for unconfirmed users too
            Must not contain invalid characters
      Fullname
            Optional
      Email
            Required
            Must be new email
                 This must check for unconfirmed users too
            Must look like an email address

      Password

            Required
            Must be different from username
            Must contain at least five characters
      Confirm password
            Required
            Must match password

Projects page

      Topnav = openplans topnav
      Title is "Projects on OpenPlans"
      Currently serving X projects
            X = total number of projects on OpenPlans, not viewable
projects
      Search box
            People (link to people/searchresults)
            Projects (bold, unlinked)
            Everything (link to sitesearch)
            Input field for searching
            Search button that submits form
            A-Z + # search for projects beginning with that letter
            ALL search returns all projects
      List last 10 publically viewable projects that have been updated
            Project title
                 Links to project
            Date updated
                 Prettified
            Number of memberships
                 Number of members that show up on project roster page to a
nonmember of the project
            Date created
      Getting started box to the right of search box
            "start a new project" banana (link to project-create)
      Featured projects sidebar
            Contains editorial content by DCD
                 Currently this is edited in SVN in nui.static
                       One day this will harness our CMS.

People page

      Topnav = openplans topnav
      Title is "People on OpenPlans"
      Currently bringing together X members
            X = total number of members on OpenPlans
      Search box
            People (bold, unlinked)
            Projects (link to projects/searchresults)
            Everything (link to sitesearch)
            Input field for searching
            Search button that submits form
            A-Z + # search for members beginning with that letter
            ALL search returns all members
      Getting started box to the right of search box
            Become a member
                 Good blurb
      Forthcoming: featured member profiles

People searchresults

      Topnav = openplans topnav
      Search box
            People (bold, unlinked)
            Projects (link to projects/searchresults)
            Everything (link to sitesearch)
            Input field for searching
            Search button that submits form
                  This does a search.  I don't know what a search means.
            A-Z + # search for members beginning with that letter
                  When the search results page loads, the letter you're
      searching by should be bold and unlinked
            ALL search returns all members
                  Bold and unlink ALL on search results
      Members X through Y of Z members sorted by
            Showing up to ten results per page
            Relevancy (this will go away)
            Username
            Full name
            Location (eventually)
      Pagination
            List pages (all links to get to the appropriate page)
                 Always list first
                 Always list last
                 Always list current page N
                 List N-2, N-1, N+1, N+2
                 If there are any gaps between first & N-2 or between N+2
and last, print ellipsis
                 Previous page link unless on first page
                 Next page link unless on last page
            Clicking to a different page should preserve sort order and
search results
      Search results
            In hCards
                 What's an hCard?
            LHS: scaled profile portrait
            Username (link to profile)
            Fullname if not empty
            Location if not empty
      Below search results
            Members X to Y of Z
           Repeat pagination

Project searchresults

      Topnav = openplans topnav
      Search box
            People (link to people/searchresults)
            Projects (bold, unlinked)
            Everything (link to sitesearch)
            Input field for searching
            Search button that submits form
                  This does a search.  I don't know what a search means.
            A-Z + # search for projects beginning with that letter
                  When the search results page loads, the letter you're
      searching by should be bold and unlinked
            ALL search returns all projects
                  Bold and unlink ALL on search results
      Projects X through Y of Z projects sorted by
            Showing up to ten results per page
            Relevancy (this will go away)
            Date updated
           Date created
           Project name
           Member name
            Location (eventually)
      Pagination
            List pages (all links to get to the appropriate page)
                 Always list first
                 Always list last
                 Always list current page N
                 List N-2, N-1, N+1, N+2
                 If there are any gaps between first & N-2 or between N+2
and last, print ellipsis
                 Previous page link unless on first page
                 Next page link unless on last page
            Clicking to a different page should preserve sort order and
search results
      Search results
            Project name (link to project home)
            Created by creator (link to creator's user profile)
            Date created
                 Prettified
      Below search results
            Members X to Y of Z
           Repeat pagination

Everything searchresults

      Content = projects, members, pages, news items.
           Should be mailing lists too?
      Topnav = openplans topnav
      Search box
            People (link to people/searchresults)
            Projects (link to projects/searchresults)
            Everything (bold, unlinked)
            Input field for searching
            Search button that submits form
                  This does a search.  I don't know what a search means.
            A-Z + # search for content beginning with that letter
                  When the search results page loads, the letter you're
      searching by should be bold and unlinked
            ALL search returns all content
                  Bold and unlink ALL on search results
      Contents X through Y of Z projects sorted by
            Showing up to ten results per page
            Relevancy (this will go away)
            Alphabetical
           Date updated
           Content type
           Location (eventually)
      Pagination
            List pages (all links to get to the appropriate page)
                 Always list first
                 Always list last
                 Always list current page N
                 List N-2, N-1, N+1, N+2
                 If there are any gaps between first & N-2 or between N+2
and last, print ellipsis
                 Previous page link unless on first page
                 Next page link unless on last page
            Clicking to a different page should preserve sort order and
search results
      Search results
            Project:
                 Project title (link to project home)
                 Last updated on date
                       Prettified
                 by member (link to member profile)
            Page:
                 Title (link to page)
                 In project (link to project)
                 Last updated on date
                       Prettified
                 By member (link to member profile)
            People:
                 Username (link to profile)
                 Member (of OpenPlans) since
                       Prettified
      Below search results
            Members X to Y of Z
           Repeat pagination