Projects
TC01: Add a simple project with no relations and no releases
Step | Action | Result |
---|---|---|
1 | Sign In with a known user | User successfully signed in and Home page is displayed |
2 | Click Projects tab | Projects page is displayed |
3 | Click Add Project button | New Project page is displayed with mandatory fields marked with red star: - Summary tab: Name, Visibility, Project Type, Group - Administration tab: Project State |
4 | Fill mandatory Name with a project name, change other fields if needed Eg: - Name: PROJECT_REQUIRED_FIELDS | Values are entered in the fields |
5 | Click Create Project button | - Navigate to the new project’s viewing screen with the message “Success: Your project is created” is displayed - New project Summary page is displayed |
6 | Click Projects tab | - The new project “PROJECT_REQUIRED_FIELDS” should be added to the projects list - Data of the project correctly, matches with input data |
TC02: Add a full project with relations, releases and send to clearing process
Step | Action | Result |
---|---|---|
1 | Sign In with a known user Click Projects tab Click Add Project button Input Name as “A_FULL_PROJECTS” Fill in all editable fields in Summary and Administration links | Values are entered in the fields |
2 | Click Linked Releases And Projects link | Linked Releases And Projects page is displayed |
3 | Click Add Projects button | Search Project dialog is displayed |
4 | Click Search button then select a project to be linked (Eg: created in TC01 “PROJECT_REQUIRED_FIELDS”) Click Link Projects button | Dialog is closed and selected project is displayed under Linked Projects section |
5 | Click Add Releases button | Search Release dialog is displayed |
6 | Click Search button Select releases to be linked Click Link Releases button | Dialog is closed and selected release is displayed under Linked Releases section |
7 | Click Linked Packages link | Linked Packages page is displayed |
8 | Click Add Packages button | Search Package dialog is displayed |
9 | Click Search button in the dialog Select an orphan package to be added then click Link Packages button | Dialog is closed and selected release is displayed under Linked Packages section |
10 | Click Create Project button | - Navigate to the new project’s viewing screen with the message “Success: Your project is created” is displayed - New project Summary page is displayed |
11 | Click Projects tab At Advanced Search area, input “A_FULL_PROJECTS” in the “Project Name” textbox Click Search button | The new project should be added to the projects list with data correctly, matches with input data |
12 | In new project, check Clearing Status by hovering mouse over the numbers | The message should be {number} Releases out of {total number} have approved clearing reports (including sub-projects). |
13 | Click Create Clearing Request icon under Actions column | The dialog Create Clearing Request is displayed |
14 | Choose clearing team email id, Clearing Type and Preferred Clearing Date | The data in the fields is displayed as the selected data |
15 | Click Create Request button | The message: Clearing Request {clearing request id} created successfully! Clearing team will confirm on the agreed clearing date. is displayed in the dialog |
16 | Click Close button in the dialog | The dialog is closed |
17 | Re-click the Create Clearing Request icon under Actions column | The View Clearing Request dialog is displayed with: - Requesting User: {requested user} - Created on: {created request date} - Preferred Clearing Date: {displayed as input data} - Clearing Team: {email of chosen clearing team} - Priority: LOW - Request Status: NEW |
18 | Click Close button in the dialog | The dialog is closed |
TC03: Add a project with releases, no relations, remove a release
Step | Action | Result |
---|---|---|
1 | Sign In with a known user Click Projects tab Click Add Project button Fill mandatory Name with a project name, change other fields if needed Click Linked Releases And Projects link Click Add Projects button | Search Project dialog is displayed |
2 | Click Search and select the project to be linked (Eg: created in TC01 “PROJECT_REQUIRED_FIELDS”) Click Link Projects button | Dialog is closed and selected project is displayed under Linked Projects section |
3 | Click Delete icon to delete the linked project | Message is displayed: “Do you really want to remove the link to project {linked project name}?” |
4 | Click Delete Link button | The project is removed from the list of Linked Projects |
5 | Click Add Releases button | Search Release dialog is displayed |
6 | Click Search by name and select a release to be added then click Link Releases button | Dialog is closed and selected release is displayed under Linked Releases section |
7 | Click Delete icon to delete the linked release | Message is displayed: “Do you really want to remove the link to release {linked release name}?” |
8 | Click Delete Link button | The release is removed from the list of Linked Releases |
9 | Click Linked Packages link Click Add Packages button | Search Release dialog is displayed |
10 | Click Search button in the dialog Select an orphan package to be added then click Link Packages button | Dialog is closed and selected release is displayed under Linked Packages section |
11 | Click Delete icon to delete the linked package | Message is displayed: “Do you really want to remove the link to package {linked package name}?” |
12 | Click Delete Link button | The release is removed from the list of Linked Packages |
13 | Click Create Project button | Navigate to the new project’s viewing screen with the message “Success: Your project is created” is displayed |
14 | Click Projects tab | The new project should be added to the projects list |
15 | In newly created project, check Clearing Status by hovering mouse over the numbers of the project | The message should be 0 Releases out of 0 have approved clearing reports (including sub-projects) |
TC04: Delete a project that is first linked to another project and then not linked
Step | Action | Result |
---|---|---|
1 | Create a new project with name is Child Project | Child Project project is created successfully |
2 | Create another project with name is Parent Project and add previously created Child Project as linked project of Parent Project | Parent Project project is created successfully with linked project is Child Project project |
3 | Click Projects tab At Advanced Search area, input Child Project in the Project Name textbox Click Search button | Child Project project display in the result table |
4 | Click Delete icon to delete Child Project project | Screen display dialog with message: “Do you really want to delete the project Child Project?” |
5 | Click Delete Project button | Display message in the dialog: “The project cannot be deleted, since it is used by another project!” |
6 | Click Cancel button | Dialog is closed and Child Project project wasn’t deleted in the table |
7 | Go to Parent Project project in the project table and delete it Click Delete button | Parent Project project is deleted successfully |
8 | Go to Child Project project in the project table and re-delete it | Child Project project is deleted successfully |
TC05: Modify an existing project with relations, releases and send to clearing process
Step | Action | Result |
---|---|---|
1 | Create a new project. Eg: PROJECT_REQUIRED_FIELDS | The project is created successfully |
2 | Click Project tab At Advanced Search area, search for a simple project Eg: project created in TC01: input “PROJECT_REQUIRED_FIELDS” in the “Project Name” textbox Click Search button Click Edit icon of “PROJECT_REQUIRED_FIELDS” project | Summary page is displayed Screen display message: “Success: You are editing the original document.” |
3 | Update project name to PROJECT_REQUIRED_FIELDS_updated | Values are entered in the field |
4 | Click Linked Releases And Projects link | Linked Releases And Projects page is displayed |
5 | Click Add Projects button | Search Project dialog is displayed |
6 | Click Search and select the project to be linked (Eg: created in TC02 “A_FULL_PROJECTS”) Click Link Projects button | Dialog is closed and selected project is displayed under Linked Projects section |
7 | Click Add Releases button | Search Release dialog is displayed |
8 | Click Search button Select an release to be added then click “Link Releases” button | Dialog is closed and selected release is displayed under Linked Releases section |
9 | Click Linked Packages link | Linked Packages page is displayed |
10 | Click Add Packages button | Search Release dialog is displayed |
11 | Click Search button in the dialog Select an orphan package to be added then Click Link Packages button | Dialog is closed and selected release is displayed under Linked Packages section |
12 | Click Update Project button | - Navigate to the project’s viewing screen with the message “Success: Project {project name} updated successfully!” is displayed - The project is updated according to the input data |
13 | Click Projects tab At Advanced Search area, input “PROJECT_REQUIRED_FIELDS_updated” in the Project Name textbox Click Search button | The project name PROJECT_REQUIRED_FIELDS_updated is displayed in the project list table |
14 | Click Create Clearing Request icon under Actions column | The dialog Create Clearing Request is displayed |
15 | Choose clearing team emaild id, Clearing Type and Preferred Clearing Date | The data in the fields is displayed as the selected data |
16 | Click Create Request button | The message: Clearing Request {clearing request id} created successfully! Clearing team will confirm on the agreed clearing date. is displayed in the dialog |
17 | Click Close button in the dialog | The dialog is closed |
18 | Re-click the Create Clearing Request icon under Actions column | The View Clearing Request dialog is displayed with: - Requesting User: {requested user} - Created on: {created request date} - Preferred Clearing Date: {displayed as input data} - Clearing Team: {email of chosen clearing team} - Priority: LOW - Request Status: NEW |
19 | Click Close button in the dialog | The dialog is closed |
TC06: Add and modify a project with all project fields filled in
Step | Action | Result |
---|---|---|
1 | Click Projects tab Click Add Project button Input Name as A_FULL_BASIC_PROJECT Fill in all editable fields in Summary and Administration links | Projects page is displayed |
2 | Click Create Project button | Navigate to the new project’s viewing screen with the message “Success: Your project is created” is displayed |
3 | Click Edit Project button | Summary page is displayed with message: “Success: You are editing the original document.” |
5 | Modify some fields Eg: - Name: A_FULL_BASIC_PROJECT_changed - Clearing state (in Administration tab): In Progress Click Update Project button | - Screen is display view page and the message “Success: Project A_FULL_BASIC_PROJECT_changed updated successfully!.” is displayed - Values are updated successfully |
TC07: Duplicate an existing project
Step | Action | Result |
---|---|---|
1 | Search for an existing project with all fields filled in (Eg: created in TC02 A_FULL_PROJECTS project) and click Duplicate button under Actions column | Project Information page is displayed |
2 | Check all fields from copied project | - In the Administration tab, the default for the Clearing State field is Open - Other fields are duplicated, including Linked Projects, Linked Releases and Linked Packages |
3 | Change version. Eg: 1.0.5-duplicate Click Create Project button | Navigate to the new project’s viewing screen with the message “Success: Your project is created” is displayed |
4 | Check all fields | All fields were copied successfully, except the new name and Project Clearing State of the project |
Last modified November 14, 2024: feat(TestCase): Update test cases for project, package, moderation (bd9c1ec)