diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-06-26 10:23:03 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-06-26 12:16:00 +0100 |
commit | 2fb004ea861394550566afef06072d8c62813670 (patch) | |
tree | 6b4d7e1d60f0ce900ffd67dc683ce8835dcdeb30 | |
parent | 4503240abdd9a38e801aef49edad9ff9c7f9457d (diff) | |
download | gitlab-ce-2fb004ea861394550566afef06072d8c62813670.tar.gz |
Fix click not being able to find the current element to use trigger('click') instead34302-update-test
-rw-r--r-- | spec/features/projects/environments/environments_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/environments/environments_spec.rb b/spec/features/projects/environments/environments_spec.rb index 83883dba0ba..cf4d996a32d 100644 --- a/spec/features/projects/environments/environments_spec.rb +++ b/spec/features/projects/environments/environments_spec.rb @@ -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 |