Commit 2fb004ea authored by Filipa Lacerda's avatar Filipa Lacerda

Fix click not being able to find the current element to use trigger('click') instead

parent 4503240a
......@@ -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
......
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