Edit branch overview
When you want to create or modify any test assets in HCL OneTest™ Server, you must use an Edit branch.
You must be a Team Space Owner, Project Owner, or Member with a Tester role to create or edit test assets. You can create the Edit branch during the creation or modification of any test assets. You can create or select the Edit branch from HCL OneTest™ Server as shown in the following table:
HCL OneTest™ Server UI | Actions | |||
---|---|---|---|---|
Test assets creation |
Test assets modification |
Edit branch creation |
Edit branch selection |
|
Yes |
Yes |
Yes |
Yes |
|
No |
Yes |
No |
Yes |
|
Yes |
Yes |
Yes |
Yes |
|
No |
Yes |
Yes |
Yes |
While you provide a name for the Edit branch, you must adhere to the rules of Git branch naming conventions. For more information, refer to the Git documentation. When you create the Edit branch, any member of the project can use your Edit branch while the branch is available. You can also view all the Edit branches from the Branch drop-down list when other members of the project create Edit branches.
To differentiate the remote branch and Edit branch from the Branch drop-down list, an edit icon and the initials of the member who created the Edit branch are shown for the Edit branch. After you create the Edit branch, you can also view the Edit branch by accessing the remote Git repository from a browser.
After you create or edit the test assets, you can either publish the test assets to a remote Git repository or discard the changes made to the test assets. All created or modified test assets reside in the Edit branch until you publish or discard the changes made to the test assets.
The Edit branch automatically disappears from the Branch drop-down list and remote Git repository when you perform any of the following actions:
-
Publish changes to the remote Git repository
-
Discard the changes made in all test assets
Note: After the Edit branch disappears, the Branch field is set to the previously selected branch name.