diff options
Diffstat (limited to 'spec/features/projects/pipeline_schedules_spec.rb')
-rw-r--r-- | spec/features/projects/pipeline_schedules_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/pipeline_schedules_spec.rb b/spec/features/projects/pipeline_schedules_spec.rb index 0711a30e974..dcc46f5d223 100644 --- a/spec/features/projects/pipeline_schedules_spec.rb +++ b/spec/features/projects/pipeline_schedules_spec.rb @@ -95,7 +95,7 @@ RSpec.describe 'Pipeline Schedules', :js do it 'displays the required information description' do page.within('.pipeline-schedule-table-row') do expect(page).to have_content('pipeline schedule') - expect(find(".next-run-cell time")['title']) + expect(find("[data-testid='next-run-cell'] time")['title']) .to include(pipeline_schedule.real_next_run.strftime('%b %-d, %Y')) expect(page).to have_link('master') expect(page).to have_link("##{pipeline.id}") @@ -259,7 +259,7 @@ RSpec.describe 'Pipeline Schedules', :js do click_button 'Save pipeline schedule' page.within('.pipeline-schedule-table-row:nth-child(1)') do - expect(page).to have_css(".next-run-cell time") + expect(page).to have_css("[data-testid='next-run-cell'] time") end end end |