Test

From JOTA-JOTI Wiki
Jump to: navigation, search

Create new account

  • Individual person
    • is kind of account choosen? (individual person OR group)
    • is a language selected?
    • is an association selected?
    • is a country selected?
    • empty or invalid user name?
    • user name cannot start with numbers
    • Same passwords?
    • Password shorter than 8 characters?
    • (FIXME: To be verified in code: Definition of invalid passwords?)
    • empty or invalid email address?
    • email address in use?
    • user name in use?
    • user name = password ?
    • user name used at the nickserver?
    • If country is choosen, then the list of associations should be reduced to the associations of that country? (Javascript needed)
  • Group
    • same tests as Individuum again

Login

  • with existing user and wrong password
  • with not existing user and new password
  • with existing user and right password => OK

Change Password

  • right old password and the differnet new passwords
  • same new passwords, shorter than 8 characters
  • wrong old password and the same new passwords
  • right old password and the same new passwords => OK

Password forgotten

  • existing username => Mail with pass-code
    • wrong/changed passcode in url
    • differnet new passwords
    • same new passwords, shorter than 8 characters
    • same new passwords => OK

Stations | Search Stations

  • Search for username => single user details
    • if not found => nothing happened (???)
  • Search for "Station Country" => all stations in thit country. If more than 10, Links to "next" page
  • Search for "Language" => all stations understanding this language. If more than 10, Links to "next" page
  • Search for "Station Country" and "Language" => all stations in thit country AND understanding this language. If more than 10, Links to "next" page

Participate | Manage group

  • Invite additional user
    • empty username => Error
    • username not in database => Error
    • username is a group => Error
    • username belongs to my group => Info
    • username belongs to another group => Info
    • existing username with no connected group
      • send invitation email to the new member
      • member reject invitation => new invitation should be possible
      • member accept invitation => OK, user is member
    • Note: it's possible to invite a user before all registration data are in the database
  • Members of your group
    • Memberlist should be displayed
    • Members with pending invitation are marked

Joti Validation Card (JVC)

  • send a JVC to yourself => error message
  • send a JVC to an unregistered user name => error message
  • send a JVC to an empty user name => nothing will happen (is that ok?)
  • JVCs should be send in the language of the receiver (if available)

General Tests

  • Validate CSS
  • Validate HTML on each page