diff options
Diffstat (limited to 'spec/features/milestone_spec.rb')
-rw-r--r-- | spec/features/milestone_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/milestone_spec.rb b/spec/features/milestone_spec.rb index fefa2916c30..dce76e4df6d 100644 --- a/spec/features/milestone_spec.rb +++ b/spec/features/milestone_spec.rb @@ -76,7 +76,7 @@ RSpec.describe 'Milestone' do wait_for_requests - page.within('.time-tracking-no-tracking-pane') do + page.within('[data-testid="noTrackingPane"]') do expect(page).to have_content 'No estimate or time spent' end end @@ -94,7 +94,7 @@ RSpec.describe 'Milestone' do wait_for_requests - page.within('.time-tracking-spend-only-pane') do + page.within('[data-testid="spentOnlyPane"]') do expect(page).to have_content 'Spent: 3h' end end |