diff options
author | Tanya Pazitny <tpazitny@gitlab.com> | 2019-07-26 21:00:54 +0000 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-07-26 21:00:54 +0000 |
commit | ebd992fdafb5e10dcf22b7f6a751ffc882ebaea4 (patch) | |
tree | da0ea5b101464b7d68b4baa565e8f0388bb9f916 | |
parent | ef3e6785a2ac1ac1a950c30184f31e2f96ac45c4 (diff) | |
download | gitlab-ce-ebd992fdafb5e10dcf22b7f6a751ffc882ebaea4.tar.gz |
Changes capybara selector to qa-selector
Otherwise capybara hits ambiguous match.
-rw-r--r-- | spec/features/contextual_sidebar_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/contextual_sidebar_spec.rb b/spec/features/contextual_sidebar_spec.rb index 88da1b7966b..9807818bef7 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('.qa-link-project').hover + find('a[data-qa-selector="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('.qa-link-project').hover + find('a[data-qa-selector="project_link"]').hover expect(page).to have_selector('.is-showing-fly-out') end |