Commit ebd992fd authored by Tanya Pazitny's avatar Tanya Pazitny Committed by Mayra Cabrera

Changes capybara selector to qa-selector

Otherwise capybara hits ambiguous match.
parent ef3e6785
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment