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:
Diffstat (limited to 'spec/features/commits_spec.rb')
-rw-r--r--spec/features/commits_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/commits_spec.rb b/spec/features/commits_spec.rb
index b72e08b854e..5f880af37dc 100644
--- a/spec/features/commits_spec.rb
+++ b/spec/features/commits_spec.rb
@@ -81,7 +81,7 @@ RSpec.describe 'Commits', feature_category: :source_code_management do
it 'shows correct build status from default branch' do
page.within("//li[@id='commit-#{pipeline.short_sha}']") do
- expect(page).to have_css('.ci-status-link')
+ expect(page).to have_css("[data-testid='ci-status-badge-legacy']")
expect(page).to have_css('.ci-status-icon-success')
end
end
@@ -115,7 +115,7 @@ RSpec.describe 'Commits', feature_category: :source_code_management do
it 'cancels commit', :js, :sidekiq_might_not_need_inline do
visit pipeline_path(pipeline)
click_on 'Cancel pipeline'
- expect(page).to have_content 'canceled'
+ expect(page).to have_content 'Canceled'
end
end
@@ -123,7 +123,7 @@ RSpec.describe 'Commits', feature_category: :source_code_management do
it 'cancels build', :js, :sidekiq_might_not_need_inline do
visit pipeline_path(pipeline)
find('[data-testid="cancel-pipeline"]').click
- expect(page).to have_content 'canceled'
+ expect(page).to have_content 'Canceled'
end
end
end