diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-02 00:10:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-02 00:10:03 +0300 |
commit | c629c71fe6b682978c026ae67d82f2b5562c5c44 (patch) | |
tree | 4aba7610250b73b3b91f036042fbbe847910f55b /spec/support/shared_contexts | |
parent | a8be0f7506339309e264218deffa008bfdf2d9cc (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/shared_contexts')
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/shared_contexts/features/integrations/group_integrations_shared_context.rb b/spec/support/shared_contexts/features/integrations/group_integrations_shared_context.rb index 5996fcc6593..befc231f04f 100644 --- a/spec/support/shared_contexts/features/integrations/group_integrations_shared_context.rb +++ b/spec/support/shared_contexts/features/integrations/group_integrations_shared_context.rb @@ -22,7 +22,7 @@ RSpec.shared_context 'group integration activation' do visit_group_integrations within('#content-body') do - click_link(name) + click_link(name, match: :first) end end end diff --git a/spec/support/shared_contexts/features/integrations/instance_integrations_shared_context.rb b/spec/support/shared_contexts/features/integrations/instance_integrations_shared_context.rb index 3b02db994a3..c740917cec4 100644 --- a/spec/support/shared_contexts/features/integrations/instance_integrations_shared_context.rb +++ b/spec/support/shared_contexts/features/integrations/instance_integrations_shared_context.rb @@ -18,7 +18,7 @@ RSpec.shared_context 'instance integration activation' do visit_instance_integrations within('#content-body') do - click_link(name) + click_link(name, match: :first) end end end diff --git a/spec/support/shared_contexts/features/integrations/project_integrations_shared_context.rb b/spec/support/shared_contexts/features/integrations/project_integrations_shared_context.rb index e123469fc8f..c3da9435e05 100644 --- a/spec/support/shared_contexts/features/integrations/project_integrations_shared_context.rb +++ b/spec/support/shared_contexts/features/integrations/project_integrations_shared_context.rb @@ -19,7 +19,7 @@ RSpec.shared_context 'project integration activation' do visit_project_integrations within('#content-body') do - click_link(name) + click_link(name, match: :first) end end |