Voting Test Plan

This test plan exercises the code used to vote. It can be run either from the main page's sidebar or from the archives page.

Everything shown

  1. In the Write > Write Poll create and publish a poll.
  2. Visit the site, at either the home page, or go to the poll in the archives page.

Verify:

Selecting all the options

  1. One by one, select each of the option, in random order.

Verify:

Voting for nothing

  1. Get the poll in a state where no option is selected. (Refresh if necessary)
  2. Press the 'Vote' button.

Verify:

Voting for one

  1. Select an option to vote for.
  2. Press the 'Vote' button.

Verify:

Clicking Results

  1. Click the 'Results' link.

Verify:

Clicking polls

  1. Click the 'Polls' link.

Verify:

Comments is correct

  1. Click the 'Results' link.
  2. Enter 2 comments.
  3. Return to the voting booth for the poll, either on the sidebar or in the archives.

Verify:

Votes is correct

  1. Vote for several of the options, multiple times, if you like.
  2. Return to the voting booth for the poll, either on the sidebar or in the archives.

Verify:

Back to Main Test Plan