Skip to content

Latest commit

 

History

History
99 lines (82 loc) · 23.3 KB

TESTING.md

File metadata and controls

99 lines (82 loc) · 23.3 KB

Prerequisites

We suppose the project is completely new, a fresh new clone of the repository. Use the following command to use the example database

cp db_example.json db.json

Credentials are formed as follows: username / password. So if asked to enter the credentials demo / wrong, the username should be demo and password should be wrong.

Account creation, login, logout

Step Actions Expected Result Comment Timestamp Tester
1 You access for the first time the app's home page Because you are not logged in, you should be redirect to the login page OK 2021-12-11 16:28 Dr_Mint
2 You want to create an account. Click on Create an account You are redirected to the register page OK 2021-12-11 16:40 Dr_Mint
3 You enters the credentials for your new account (we'll use tycoon / tycoon). Then, press the Create account button You are now logged in, you have been redirected to the home page, it says Welcome tycoon in the top right corner OK 2021-12-11 17:03 Dr_Mint
4 You click on the logout button in the top right corner. You have been logged off and redirected to the login page. OK 2021-12-11 17:06 Dr_Mint
5 To make sure you are really logged off, try reaching the home page once again You should be redirect to the login page OK 2021-12-11 17:07 Dr_Mint

Account creation goes wrong

A demo account already exists. We would like to test how the system reacts when trying to create another account with the same username. Furthurmore, we will try to connect using the wrong password.

Step Actions Expected Result Comment Timestamp Tester
1 You access the Create an account page. You enter the credentials tycoon / tycoon and press the Create account button The form visually shakes and the following message is displayed underneath the Create account button: This username is already taken, please choose another one. OK 2021-12-11 17:17 Dr_Mint
2 On the same, you try to enter characters other than lowercase alphanumerical characters (we'll use My U$ername) The input should make the characters lowercase, replace spaces with dashes, and forbig entering specials characters: my-uername FAIL Not yet implemented 2021-12-11 17:50 Dr_Mint
3 You click on the Sign in label. You enter the credentials demo / wrong and press the Sign in button The form visually shakes and the following message is displayed underneath the Sign in button: The account name or password that you have entered is incorrect. OK 2021-12-11 17:21 Dr_Mint

Create, join project

We suppose you are already connected as the user demo. We will create a new project.

Step Actions Expected Result Comment Timestamp Tester
1 You access your account page where are stored the projects you are a part of. The page should display the differents projects you are a part of (here my-project). Right bellow should be the the public projects that you can join (here new-project). OK 2021-12-13 20:11 Akironova
2 You click on the Create a project button. A popup window should appear asking you to enter a project's name. OK 2021-12-13 19:54 Akironova
3 You enter the name my first project for the project and click the Create project button. You should access the project page where you can see and manage the differents sprints linked to the project. Because no sprint has been created yet, you also see the Backlog Product. OK 2021-12-14 19:26 Akironova
4 You click on the Scrum Bandicoot logo at the top-left corner of the page. You should be back on your home page. The newly created project my-first-project should be under My projects. OK 2021-12-15-12:17 Dr_Mint
5 You click on the my-first-project card. You should be back on the my-first-project page, just like in step 3. OK 2021-12-15-12:18 Dr_Mint
6 You click on the Leave project button right next to the title of the project. You should be redirected to your home page. The project my-first-project should no longer be in your My projects list, but in the Public projects list instead. OK 2021-12-13 22:14 Akironova
7 You click the Join button right under the project new-project. new-project should now appear in the list of My projects and not be on the public one anymore. OK 2021-12-13 22:40 Akironova

Backlog and creating a sprint

You are on the home page, you would like to add new tasks in the backlog product and create a new sprint. Continue from the previous test, or create a new empty project new-project. Click on the new-project card in order to reach its project page.

Step Actions Expected Result Comment Timestamp Tester
1 You click on the new-project card. Click on Backlog Product. You should be redirected to a Kanban board with just one column named Backlog Sprint. OK 2021-12-15-12-28 Dr_Mint
2 You click on Create a task A popup window should open asking you to enter the Title of the new task. OK 2021-12-15-12-29 Dr_Mint
3 You enter the title First task and press Create task The popup closes and First task is now listed under Backlog Sprint. OK 2021-12-15-12-30 Dr_Mint
4 You create another task called Second task in the same manner Now two tasks are listed under Backlog Sprint. OK 2021-12-15-12-31 Dr_Mint
5 You click on Return to project. You should be back on the project page OK 2021-12-15-12-32 Dr_Mint
6 You click on Manage sprints. You should have been redirected to the manage sprint page OK 2021-12-15-12-33 Dr_Mint
7 You click on Add sprint. A popup window should open. The first two fields should be set to today's date, the last field is a selection box with the name of the two tasks we created earlier. OK 2021-12-15-12-34 Dr_Mint
8 You enters tomorrow's date for the first field, a date exactly 7 days from today, and select the First task. Click Confirm. The popup should close. A sprint card has been created and should appear under My Sprints. The sprint should be titled Sprint 1, start in 23 hours, and end 6 days later. OK 2021-12-15-12-37 Dr_Mint
9 You click on Return to project. You should be back on the project page. The newly created Sprint 1 should appear under My Sprints. OK 2021-12-15-12-38 Dr_Mint
10 You click on Backlog product. You should only see the Second task, as the first one got included in the new sprint. OK 2021-12-15-12-40 Dr_Mint
11 You click on Return to project. You click on Sprint 1. You should be in the Kanban board of Sprint 1. First task should appear in the Backlog Sprint. OK 2021-12-15-12-41 Dr_Mint

Edit and cancel a sprint

Continue from the previous test. You are on the home page

Step Actions Expected Result Comment Timestamp Tester
1 You click on the new-project card. You click on Manage sprints. You click on the Edit under Sprint 1. The beginning and ending date should appear in a popup window. The first should be tomorrow's date and the second should be the date in 7 days. OK 2021-12-15-12-50 Dr_Mint
2 You shift the beginning date to one day in the future from the currently entered date. Same thing with the second date. Click Confirm. The popup should diseappear, Sprint 1 should now starts in 2 days, and still ends 6 days later. OK 2021-12-15-12-52 Dr_Mint
3 You click on the Cancel button, right under Sprint 1. The sprint should diseapper. There is now no sprints under My Sprints. OK 2021-12-15-12-54 Dr_Mint
4 You click on Return to project. You click on Backlog product. The First task that was included in Sprint 1 has returned to the Backlog Product. OK 2021-12-15-12-55 Dr_Mint

Board actions

Continue from the previous test, or create a new empty project new-project.

Step Actions Expected Result Comment Timestamp Tester
1 You click on the button Create task on any column. You should have a pop-up window where you can give a title to this task. OK 2021-12-13 16:34 Akironova
2 On said pop-up window, you type the title first task and click the button Create task. It should create the task with the same title on the column where you clicked in the first place. OK 2021-12-13 16:37 Akironova
3 On the pop-up window, you click outside (meaning anywhere except the pop-up window) It should make the pop-up disappear without having any effect on the board. OK 2021-12-13 16:41 Akironova
4 You hover your mouse cursor over a task. Options should appear at the top of the square constituting the task. These options should be View, Edit, Delete and the arrows as long as you are not on the borders of the board. OK 2021-12-13 16:55 Akironova
5 You click on the arrows. It moves the task in the corresponding column (left or right). OK 2021-12-13 16:59 Akironova
6 You click on the View button. A pop-up window should appear indicating the Title, Description and Users assigned to this task. OK 2021-12-13 17:02 Akironova
7 In this View form, you click outside the pop-up window. You should return to the board without affecting anything. OK 2021-12-13 17:24 Akironova
8 You click the Delete button. It should delete the chosen task and make it disappear from the board. OK 2021-12-13 17:32 Akironova
9 You click the Edit button. A pop-up window should appear where you can modify the title of the chosen task, modify its description and select users among those having joined the project. OK 2021-12-13 17:45 Akironova
10 In this Edit form, you click outside the pop-up window. You should return to the board without affecting anything. OK 2021-12-13 17:47 Akironova
11 In said Edit form, you click the Confirm button after having selected users and changed the title and its description. You return to the board and the edited task should have its title and description modified accordingly and display the users assigned to it. OK 2021-12-13 17:51 Akironova
12 You hover now your mouse cursor over the head of a column Options should appear at the top of the square constituting the head of the column. These options should be Edit, Delete and the arrows as long as you are not on the borders of the board (meaning the Backlog Sprint and Done columns). OK 2021-12-15 10:20 Akironova
13 You click on the arrows. It moves the column and all of its tasks in the corresponding direction (left or right). OK 2021-12-15 10:25 Akironova
14 You click the Delete button. It should delete the chosen column and make it disappear from the board. Its tasks should be then placed in the Backlog Sprint column. OK 2021-12-15 10:32 Akironova
15 You click the Edit button. A pop-up window should appear where you can modify the title of the chosen column. OK 2021-12-15 10:45 Akironova
16 In this Edit form, you click outside the pop-up window. You should return to the board without affecting anything. OK 2021-12-15 10:47 Akironova
17 In said Edit form, you click the Confirm button after having changed the title. You return to the board and the edited column should have its title modified accordingly. OK 2021-12-15 10:51 Akironova
18 You click on the button Create column. You should have a pop-up window where you can give a title to this column. OK 2021-12-15 11:02 Akironova
19 In this form, you click outside the pop-up window. You should return to the board without affecting anything. OK 2021-12-15 11:05 Akironova
20 In the precedent form, you click the create button after having given a name. You should return to the board and have a new column situed as the last modifiable column (so right before the Done column). OK 2021-12-15 11:10 Akironova
21 You click the Return to project button. You should be redirected to the page where are displayed the differents sprints of the project. OK 2021-12-15 11:15 Akironova