diff options
author | Mark Lapierre <mlapierre@gitlab.com> | 2019-05-07 12:43:10 +1000 |
---|---|---|
committer | Mark Lapierre <mlapierre@gitlab.com> | 2019-05-07 12:43:10 +1000 |
commit | f00286bc0c5aa01431cc2b337e9db374e68a8395 (patch) | |
tree | 5c90d07e39e92f8f2281d014f30884aafc11177a /app/views/projects/branches/_branch.html.haml | |
parent | 99a4e97389eb7e9e5a8122a336d7541b46097339 (diff) | |
download | gitlab-ce-f00286bc0c5aa01431cc2b337e9db374e68a8395.tar.gz |
Add branch_name qa selectorqa-ml-fix-branches-test
Uses the branch_name element to find a branch with a specific
name, instead of using a dynamic CSS class that can't be validated
by the sanity selector test
Diffstat (limited to 'app/views/projects/branches/_branch.html.haml')
-rw-r--r-- | app/views/projects/branches/_branch.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml index 91c51d5e091..0e15f581ddc 100644 --- a/app/views/projects/branches/_branch.html.haml +++ b/app/views/projects/branches/_branch.html.haml @@ -10,7 +10,7 @@ .branch-info .branch-title = sprite_icon('fork', size: 12) - = link_to project_tree_path(@project, branch.name), class: 'item-title str-truncated-100 ref-name prepend-left-8' do + = link_to project_tree_path(@project, branch.name), class: 'item-title str-truncated-100 ref-name prepend-left-8 qa-branch-name' do = branch.name - if branch.name == @repository.root_ref %span.badge.badge-primary.prepend-left-5 default |