Commit 226decf3 authored by Phil Hughes's avatar Phil Hughes

Fixed failing user views design spec

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/11056
parent 2561051f
...@@ -15,7 +15,7 @@ describe 'User views issue designs', :js do ...@@ -15,7 +15,7 @@ describe 'User views issue designs', :js do
end end
it 'opens design detail' do it 'opens design detail' do
first('.js-design-list-item').click find('.js-design-list-item', match: :first).click
page.within(find('.js-design-header')) do page.within(find('.js-design-header')) do
expect(page).to have_content('test.jpg') expect(page).to have_content('test.jpg')
......
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