diff options
author | Tanya Pazitny <tpazitny@gitlab.com> | 2019-07-26 15:42:18 -0700 |
---|---|---|
committer | Tanya Pazitny <tpazitny@gitlab.com> | 2019-07-26 15:42:57 -0700 |
commit | e50c7d6ef00bda354990df731d14da0d3955d170 (patch) | |
tree | e11ae1e89cfa0fac359676327f66fba1810d64b6 | |
parent | 4f6278d337f122f040b8b8d9cc9895addafaa594 (diff) | |
download | gitlab-ce-tp-qtt182-10.tar.gz |
Change qa data selector references to rspec-project-linktp-qtt182-10
-rw-r--r-- | app/views/layouts/nav/sidebar/_project.html.haml | 2 | ||||
-rw-r--r-- | spec/features/contextual_sidebar_spec.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/layouts/nav/sidebar/_project.html.haml b/app/views/layouts/nav/sidebar/_project.html.haml index 567dc365e4f..02ecf816e90 100644 --- a/app/views/layouts/nav/sidebar/_project.html.haml +++ b/app/views/layouts/nav/sidebar/_project.html.haml @@ -9,7 +9,7 @@ = @project.name %ul.sidebar-top-level-items = nav_link(path: sidebar_projects_paths, html_options: { class: 'home' }) do - = link_to project_path(@project), class: 'shortcuts-project', data: { qa_selector: 'project_link' } do + = link_to project_path(@project), class: 'shortcuts-project rspec-project-link', data: { qa_selector: 'project_link' } do .nav-icon-container = sprite_icon('home') %span.nav-item-name diff --git a/spec/features/contextual_sidebar_spec.rb b/spec/features/contextual_sidebar_spec.rb index f608931ad62..e250e8cc90a 100644 --- a/spec/features/contextual_sidebar_spec.rb +++ b/spec/features/contextual_sidebar_spec.rb @@ -20,7 +20,7 @@ describe 'Contextual sidebar', :js do expect(page).to have_selector('.is-showing-fly-out') - find('a[data-qa-selector="project_link"]').hover + find('.rspec-project-link').hover expect(page).not_to have_selector('.is-showing-fly-out') @@ -30,7 +30,7 @@ describe 'Contextual sidebar', :js do expect(page).to have_selector('.is-showing-fly-out') - find('a[data-qa-selector="project_link"]').hover + find('.rspec-project-link').hover expect(page).to have_selector('.is-showing-fly-out') end |