Commit e4c3b035 authored by Phil Hughes's avatar Phil Hughes

Merge branch '34302-update-test' into 'master'

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

Closes #34302

See merge request !12447
parents 1059c202 2fb004ea
...@@ -151,7 +151,7 @@ feature 'Environments page', :feature, :js do ...@@ -151,7 +151,7 @@ feature 'Environments page', :feature, :js do
find('.js-dropdown-play-icon-container').click find('.js-dropdown-play-icon-container').click
expect(page).to have_content(action.name.humanize) 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 } .not_to change { Ci::Pipeline.count }
end 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