diff options
Diffstat (limited to 'spec/features/projects/environments/environment_spec.rb')
-rw-r--r-- | spec/features/projects/environments/environment_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/projects/environments/environment_spec.rb b/spec/features/projects/environments/environment_spec.rb index be4b21dfff4..dc6e496d081 100644 --- a/spec/features/projects/environments/environment_spec.rb +++ b/spec/features/projects/environments/environment_spec.rb @@ -97,6 +97,10 @@ RSpec.describe 'Environment' do it 'does show deployments' do expect(page).to have_link("#{build.name} (##{build.id})") end + + it 'shows a tooltip on the job name' do + expect(page).to have_css("[title=\"#{build.name} (##{build.id})\"].has-tooltip") + end end context 'when there is a failed deployment' do |