Commit e6bd88e2 authored by Michael Kozono's avatar Michael Kozono

Merge branch 'fixed-failing-design-management-spec' into 'master'

Fixed failing user views design spec

Closes #11056

See merge request gitlab-org/gitlab-ee!10682
parents 20c2a70d 98a5412f
...@@ -13,7 +13,7 @@ describe 'User paginates issue designs', :js do ...@@ -13,7 +13,7 @@ describe 'User paginates issue designs', :js do
wait_for_requests wait_for_requests
first('.js-design-list-item').click find('.js-design-list-item', match: :first).click
end end
it 'paginates to next design' do it 'paginates to next design' do
......
...@@ -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