fix the failing spec
This commit is contained in:
parent
d828932eac
commit
7d2302605c
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ feature 'Diff note avatars', js: true do
|
|||
end
|
||||
|
||||
page.within find("[id='#{position.line_code(project.repository)}']") do
|
||||
find('.diff-notes-collapse').click
|
||||
find('.diff-notes-collapse').trigger('click')
|
||||
|
||||
expect(page).to have_selector('img.js-diff-comment-avatar', count: 2)
|
||||
end
|
||||
|
@ -152,7 +152,7 @@ feature 'Diff note avatars', js: true do
|
|||
page.within '.js-discussion-note-form' do
|
||||
find('.js-note-text').native.send_keys('Test')
|
||||
|
||||
find('.js-comment-button').trigger 'click'
|
||||
find('.js-comment-button').trigger('click')
|
||||
|
||||
wait_for_requests
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue