diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 15:26:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 15:26:25 +0300 |
commit | a09983ae35713f5a2bbb100981116d31ce99826e (patch) | |
tree | 2ee2af7bd104d57086db360a7e6d8c9d5d43667a /spec/features/signed_commits_spec.rb | |
parent | 18c5ab32b738c0b6ecb4d0df3994000482f34bd8 (diff) |
Add latest changes from gitlab-org/gitlab@13-2-stable-ee
Diffstat (limited to 'spec/features/signed_commits_spec.rb')
-rw-r--r-- | spec/features/signed_commits_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/features/signed_commits_spec.rb b/spec/features/signed_commits_spec.rb index 04ca8a09ca8..d679e4dbb99 100644 --- a/spec/features/signed_commits_spec.rb +++ b/spec/features/signed_commits_spec.rb @@ -72,6 +72,7 @@ RSpec.describe 'GPG signed commits' do it 'unverified signature' do visit project_commit_path(project, GpgHelpers::SIGNED_COMMIT_SHA) + wait_for_all_requests page.find('.gpg-status-box', text: 'Unverified').click @@ -85,6 +86,7 @@ RSpec.describe 'GPG signed commits' do user_2_key visit project_commit_path(project, GpgHelpers::DIFFERING_EMAIL_SHA) + wait_for_all_requests page.find('.gpg-status-box', text: 'Unverified').click @@ -100,6 +102,7 @@ RSpec.describe 'GPG signed commits' do user_2_key visit project_commit_path(project, GpgHelpers::SIGNED_COMMIT_SHA) + wait_for_all_requests page.find('.gpg-status-box', text: 'Unverified').click @@ -115,6 +118,7 @@ RSpec.describe 'GPG signed commits' do user_1_key visit project_commit_path(project, GpgHelpers::SIGNED_AND_AUTHORED_SHA) + wait_for_all_requests page.find('.gpg-status-box', text: 'Verified').click @@ -130,6 +134,7 @@ RSpec.describe 'GPG signed commits' do user_1_key visit project_commit_path(project, GpgHelpers::SIGNED_AND_AUTHORED_SHA) + wait_for_all_requests # wait for the signature to get generated expect(page).to have_selector('.gpg-status-box', text: 'Verified') @@ -137,6 +142,7 @@ RSpec.describe 'GPG signed commits' do user_1.destroy! refresh + wait_for_all_requests page.find('.gpg-status-box', text: 'Verified').click @@ -153,6 +159,7 @@ RSpec.describe 'GPG signed commits' do shared_examples 'a commit with a signature' do before do visit project_tree_path(project, 'signed-commits') + wait_for_all_requests end it 'displays commit signature' do |