BigW Consortium Gitlab

Commit 7638e798 by Filipa Lacerda

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

parent b2d2a1b7
......@@ -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