Commit 4005df9a authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'egb-add-requires-admin-to-index-tests' into 'master'

Add requires_admin tag to index tests

See merge request gitlab-org/gitlab!70316
parents c2b2a471 7192c856
...@@ -5,7 +5,7 @@ require 'securerandom' ...@@ -5,7 +5,7 @@ require 'securerandom'
module QA module QA
RSpec.describe 'Enablement:Search' do RSpec.describe 'Enablement:Search' do
describe 'When using elasticsearch API to search for a public issue', :orchestrated, :elasticsearch do describe 'When using elasticsearch API to search for a public issue', :orchestrated, :elasticsearch, :requires_admin do
let(:api_client) { Runtime::API::Client.new(:gitlab) } let(:api_client) { Runtime::API::Client.new(:gitlab) }
let(:issue) do let(:issue) do
......
...@@ -5,7 +5,7 @@ require 'securerandom' ...@@ -5,7 +5,7 @@ require 'securerandom'
module QA module QA
RSpec.describe 'Enablement:Search' do RSpec.describe 'Enablement:Search' do
describe 'When using elasticsearch API to search for a public blob', :orchestrated, :elasticsearch do describe 'When using elasticsearch API to search for a public blob', :orchestrated, :elasticsearch, :requires_admin do
let(:api_client) { Runtime::API::Client.new(:gitlab) } let(:api_client) { Runtime::API::Client.new(:gitlab) }
let(:project) do let(:project) do
......
...@@ -5,7 +5,7 @@ require 'securerandom' ...@@ -5,7 +5,7 @@ require 'securerandom'
module QA module QA
RSpec.describe 'Enablement:Search' do RSpec.describe 'Enablement:Search' do
describe 'When using elasticsearch API to search for a public merge request', :orchestrated, :elasticsearch do describe 'When using elasticsearch API to search for a public merge request', :orchestrated, :elasticsearch, :requires_admin do
let(:api_client) { Runtime::API::Client.new(:gitlab) } let(:api_client) { Runtime::API::Client.new(:gitlab) }
let(:merge_request) do let(:merge_request) do
......
...@@ -5,7 +5,7 @@ require 'securerandom' ...@@ -5,7 +5,7 @@ require 'securerandom'
module QA module QA
RSpec.describe 'Enablement:Search' do RSpec.describe 'Enablement:Search' do
describe 'When using elasticsearch API to search for a public note', :orchestrated, :elasticsearch do describe 'When using elasticsearch API to search for a public note', :orchestrated, :elasticsearch, :requires_admin do
let(:api_client) { Runtime::API::Client.new(:gitlab) } let(:api_client) { Runtime::API::Client.new(:gitlab) }
let(:issue) do let(:issue) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment