diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-09 06:09:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-09 06:09:18 +0300 |
commit | 276941b2c436678b956025ae2958e11ccbeac55d (patch) | |
tree | 5e88dd0b0e167972b4433b31c4381d7be66187e0 /spec/features | |
parent | 25096948f0f1837d0217cbd45394aa875756f054 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/environments/environments_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/features/projects/environments/environments_spec.rb b/spec/features/projects/environments/environments_spec.rb index 3b83c25b629..ca9aebf4336 100644 --- a/spec/features/projects/environments/environments_spec.rb +++ b/spec/features/projects/environments/environments_spec.rb @@ -3,6 +3,8 @@ require 'spec_helper' RSpec.describe 'Environments page', :js do + include Spec::Support::Helpers::ModalHelpers + let(:project) { create(:project) } let(:user) { create(:user) } let(:role) { :developer } @@ -346,7 +348,9 @@ RSpec.describe 'Environments page', :js do context 'when user played a delayed job immediately' do before do find(actions_button_selector).click - accept_confirm { find(action_link_selector).click } + accept_gl_confirm do + find(action_link_selector).click + end wait_for_requests end |