diff options
Diffstat (limited to 'spec/features/projects/pipelines/legacy_pipelines_spec.rb')
-rw-r--r-- | spec/features/projects/pipelines/legacy_pipelines_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/projects/pipelines/legacy_pipelines_spec.rb b/spec/features/projects/pipelines/legacy_pipelines_spec.rb index 3f89e344c51..15d889933bf 100644 --- a/spec/features/projects/pipelines/legacy_pipelines_spec.rb +++ b/spec/features/projects/pipelines/legacy_pipelines_spec.rb @@ -357,6 +357,10 @@ RSpec.describe 'Pipelines', :js do end it 'enqueues the delayed job', :js do + find('[data-testid="mini-pipeline-graph-dropdown"]').click + + within('[data-testid="mini-pipeline-graph-dropdown"]') { find('.ci-status-icon-pending') } + expect(delayed_job.reload).to be_pending end end |