Wiki Test Cases Sprint May-09-2008

Written by: Uroš Lates

Create new wiki page in Project.net

Test Case Name: Create new wiki page in Project.net.

Precondition:

  1. Project.net should have been installed successfully.
  2. User registered in the system.

Test Steps:

#DescriptionExpected Outcome
1 Login to the project.net with created user, Should login.
2 Click on the Projects (tab), Should display the list of projects.
3 Create a new project, and navigate to that created project, New project should be created.
4 Click on the Wiki link in the left navigation pane, Should display a page with welcome message, ‘Create?’ link, and the name of the project that we are going to create wiki page for.
5 Then click on ‘Create?’ link, Should display Edit page for that specific project with text area, for entering wiki page content.
6 Create wiki page by populating text area with content in wiki mark up, and while doing so click link ‘Preview Page’ each time you would like to see how the current content would be rendered if saved. Should display how the page would be rendered if you save changes you’ve made to its content.
7 After entering content that will represent wiki page for that specific project, click on ‘Save Page’ link, to save that page. Should save wiki page in database, and redisplay that wiki page to the user, with ‘Edit this page?’ link at the bottom of the page, available for making additional changes to that wiki page.

Overall Outcome:

  1. When user that is invited to the project for which we just created wiki page, navigates to the Wiki navigation bar link for that project – he/she should be able to see the new wiki page that was just created for that specific project, and be able to edit it’s content.

Edit existing wiki page in Project.net

Test Case Name: Edit existing wiki page in Project.net

Precondition:

  1. Project.net should have been installed successfully.
  2. User registered in the system.
  3. Project created in the system with wiki page created for that project as described in previous test case (Create new wiki page in Project.net.).
  4. User should be invited to that specific project which wiki page we are going to change, in order to see it.(inviting users to project can be done in Projects workspace->Setup->People and Roles)
  5. User should know basic wiki(or HTML) mark up. (partially described in wiki help page available by clicking on Help action bar icon)

Test Steps:

#DescriptionExpected Outcome
1 Login to the project.net with created user, Should open without any error.
2 Click on the Projects (tab), Should display the list of projects.
3 Select the project that has wiki page created, Should display the wiki page for that project, with link ‘Edit this page?’ at the bottom of the page.
4 Click on the ‘Edit this page?’ link, Should display Edit page, with text area for entering wiki page content.
5 Alter current wiki page content by entering some new content with links towards some other existing or not existing wiki pages or some web pages, and click on ‘Preview Page’, Should display how the page would look like if saved.
6 (optional) Click on ‘Cancel Editing’, if you want to cancel making changes, and go back to viewing the page. Should bring you back to viewing the wiki page we wanted to edit at beginning.
7 Click on ‘Save Page’ link for saving the changes made to the wiki page. Should save changes made to wiki page in database, and redisplay that wiki page to the user, with ‘Edit this page?’ link at the bottom of the page, available for making additional changes to that wiki page.

Overall Outcome:

  1. When the user that is invited to the project which wiki page we’ve just edited, navigates to the Wiki navigation bar link for that project – he/she should be able to see changes made to that project’s wiki page or continue editing the wiki page for that specific project.

Delete wiki page in Project.net.

Test Case Name: Delete wiki page in Project.net.

Precondition:

  1. Project.net should have been installed successfully.
  2. User registered in the system.
  3. Wiki page for some project should be created using first test case.

Test Steps:

#DescriptionExpected Outcome
1 Login to the project.net with created user, Should open without any error.
2 Select project with created wiki page from project workspace, Should display workspace for that specific project.
3 Click on the Wiki link in the navigation pane, Should display the wiki page for that specific project.
4 Navigate to specific wiki page you would like to delete (by following the links within wiki pages), Should display wiki page you would like to delete.
5 Click on the ‘Delete page’ link from the wiki Menu: at the left top of the wiki page. Should delete wiki page from database, along with all of its subpages (pages which are children of this page), and display parent page of the deleted page, or welcome page for creating new wiki page, in case we’ve deleted the project wiki page itself.

Overall Outcome:

  1. Upon trying to preview the page we just deleted using this test case, the Create page is displayed, giving us the opportunity to create new wiki page with page name we just deleted.

Preview wiki page while editing in Project.net

Test Case Name: Preview wiki page while editing in Project.net.

Precondition:

  1. Project.net should have been installed successfully.
  2. User registered in the system.

Test Steps:

#DescriptionExpected Outcome
1 Login to the project.net with created user, Should login.
2 Click on the Projects (tab), Should display the list of projects.
3 Create a new project, and navigate to that created project, New project should be created.
4 Click on the Wiki link in the left navigation pane, Should display a page with welcome message, ‘Create?’ link, and the name of the project that we are going to create wiki page for.
5 Then click on ‘Create?’ link, Should display Edit page for that specific project with text area, for entering wiki page content.
6 Enter wiki page content inside of textarea in wiki mark up, and click link ‘Preview Page’ to see how the current content would be rendered if saved. Should display how the page would be rendered if you save changes you’ve made to its content.
7 After entering content that will represent wiki page for that specific project, click on ‘Save Page’ link, to save that page. Should save wiki page in database, and redisplay that wiki page to the user, with ‘Edit this page?’ link at the bottom of the page, available for making additional changes to that wiki page.

Overall Outcome:

  1. While creating/editing some wiki page, he/she should be able to preview how the new wiki page content would look before actually saving it.