Creating branches

By default, all newly created tests are saved to a master branch, unless specified otherwise.

Creating a new branch

New branches can be created on the Branches page or by using the branch dropdown.

The Branches page

To create a branch from the Branches page, take the following steps:

  1. Click on "Tests" in the left-hand navigation
  2. Select the "Branches" tab at the top to load the Branches page.
  3. Click on the "+ New branch" button
  4. Enter the name of the new branch and save.

Creating a new branch on the Branches page

The branch dropdown

The branch dropdown is located on the Tests section, the Test Details page, and in the mabl Trainer. To create a new branch from the branch dropdown, you can take the following steps:

  1. Open the Trainer, or navigate to either the Tests section or the Test Details page.
  2. Click on the branch dropdown.
  3. Select "New branch"
  4. Enter the name of the new branch and save.

The branch dropdown on the Test Details page

Saving a test to a branch

Tests and flows can be saved to a branch from within the mabl Trainer.

  1. Click on the branch dropdown.
  2. Select the branch you'd like to save the test in, or create a new branch.
  3. Edit your test.
  4. Click save. All changes will be saved to the branch.

Ensure your test is saved in the correct branch before saving.

Saving test changes to a branch does not affect any other versions of that test, and you can save a test to as many branches as you want.


Branching consideration

Only changes to the test steps are saved to a branch. Changing the test name, description and other information outside of the trained steps will apply to all branches for that test.

This information is also known as "test metadata" and can be found by clicking on the Edit icon on the Test Details page.