New QA scenario to test branches
Steps:
-
Create a branch for a project -
Clone the project -
Commit a new file and push the masterbranch (usingQA::Git::Repository) -
Create a new file in a new second-branchand push thesecond-branchbranch -
Merge second-branchintomasterand push themasterbranch -
Create a new file in new third-branchand push thethird-branchbranch -
Visit the project's branches page -
Assert that the master,second-branchandthird-branchare present (optionally assert that their commit is the same as the ones pushed in the previous steps) -
Assert that the second-branchbranch has a bluemergedbadge, e.g.
-
Delete the third-branchbranch -
Assert that the third-branchisn't listed anymore -
Click the Delete merged branchesbutton -
Assert that the second-branchisn't listed anymore
