Feature: display all executed Git commands

  Scenario: select another branch
    Given a feature branch "parent"
    And a feature branch "child" as a child of "parent"
    And the current branch is "child"
    When I run "git-town set-parent --verbose" and enter into the dialog:
      | DIALOG                 | KEYS       |
      | parent branch of child | down enter |
    Then it runs the commands
      | BRANCH | TYPE    | COMMAND                                         |
      |        | backend | git version                                     |
      |        | backend | git config -lz --global                         |
      |        | backend | git config -lz --local                          |
      |        | backend | git rev-parse --show-toplevel                   |
      |        | backend | git stash list                                  |
      |        | backend | git branch -vva                                 |
      |        | backend | git config --unset git-town-branch.child.parent |
      |        | backend | git config -lz --global                         |
      |        | backend | git config -lz --local                          |
      |        | backend | git config git-town-branch.child.parent main    |
      |        | backend | git config -lz --global                         |
      |        | backend | git config -lz --local                          |
    And it prints:
      """
      Ran 12 shell commands.
      """
    And this branch lineage exists now
      | BRANCH | PARENT |
      | child  | main   |
      | parent | main   |
