Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-28 21:10:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-28 21:10:48 +0300
commit0076bbc67375ff1507e42ce479406daf92c0a6a2 (patch)
treeaa0a1c6f575ac050504c397c7edf8f9789d46046 /spec/features
parent8966e39395e22465ac3ff58407868b872a3ecffe (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/pipelines/pipelines_spec.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb
index 1190b0f3558..eabbcd5e38e 100644
--- a/spec/features/projects/pipelines/pipelines_spec.rb
+++ b/spec/features/projects/pipelines/pipelines_spec.rb
@@ -342,11 +342,18 @@ RSpec.describe 'Pipelines', :js do
end
context 'when user played a delayed job immediately' do
+ let(:manual_action_selector) { '[data-testid="pipelines-manual-actions-dropdown"]' }
+
before do
- find('[data-testid="pipelines-manual-actions-dropdown"]').click
+ find(manual_action_selector).click
accept_gl_confirm do
click_button 'delayed job 1'
end
+
+ # Wait for UI to transition to ensure a request has been made
+ within(manual_action_selector) { find('.gl-spinner') }
+ within(manual_action_selector) { find('[data-testid="play-icon"]') }
+
wait_for_requests
end