Fix click not being able to find the current element to use trigger('click') instead
This commit is contained in:
parent
4503240abd
commit
2fb004ea86
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ feature 'Environments page', :feature, :js do
|
|||
find('.js-dropdown-play-icon-container').click
|
||||
expect(page).to have_content(action.name.humanize)
|
||||
|
||||
expect { find('.js-manual-action-link').click }
|
||||
expect { find('.js-manual-action-link').trigger('click') }
|
||||
.not_to change { Ci::Pipeline.count }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue