diff options
Diffstat (limited to 'spec/features/file_uploads')
11 files changed, 12 insertions, 12 deletions
diff --git a/spec/features/file_uploads/attachment_spec.rb b/spec/features/file_uploads/attachment_spec.rb index 41da0e9fbe0..cff0c0b52b4 100644 --- a/spec/features/file_uploads/attachment_spec.rb +++ b/spec/features/file_uploads/attachment_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload an attachment', :api, :js do +RSpec.describe 'Upload an attachment', :api, :js, feature_category: :projects do include_context 'file upload requests helpers' let_it_be(:project) { create(:project) } diff --git a/spec/features/file_uploads/ci_artifact_spec.rb b/spec/features/file_uploads/ci_artifact_spec.rb index 4f3b6c90ad4..420329cc952 100644 --- a/spec/features/file_uploads/ci_artifact_spec.rb +++ b/spec/features/file_uploads/ci_artifact_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload ci artifact', :api, :js do +RSpec.describe 'Upload ci artifact', :api, :js, feature_category: :build_artifacts do include_context 'file upload requests helpers' let_it_be(:user) { create(:user, :admin) } diff --git a/spec/features/file_uploads/git_lfs_spec.rb b/spec/features/file_uploads/git_lfs_spec.rb index 8d15c5c33f7..6af4bef2ec4 100644 --- a/spec/features/file_uploads/git_lfs_spec.rb +++ b/spec/features/file_uploads/git_lfs_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload a git lfs object', :js do +RSpec.describe 'Upload a git lfs object', :js, feature_category: :source_code_management do include_context 'file upload requests helpers' let_it_be(:project) { create(:project) } diff --git a/spec/features/file_uploads/graphql_add_design_spec.rb b/spec/features/file_uploads/graphql_add_design_spec.rb index 17fbf5f6838..0b61c952b55 100644 --- a/spec/features/file_uploads/graphql_add_design_spec.rb +++ b/spec/features/file_uploads/graphql_add_design_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload a design through graphQL', :js do +RSpec.describe 'Upload a design through graphQL', :js, feature_category: :design_management do include_context 'file upload requests helpers' let_it_be(:query) do diff --git a/spec/features/file_uploads/group_import_spec.rb b/spec/features/file_uploads/group_import_spec.rb index a8592f99bd6..f5082e31c06 100644 --- a/spec/features/file_uploads/group_import_spec.rb +++ b/spec/features/file_uploads/group_import_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload a group export archive', :api, :js do +RSpec.describe 'Upload a group export archive', :api, :js, feature_category: :subgroups do include_context 'file upload requests helpers' let_it_be(:user) { create(:user, :admin) } diff --git a/spec/features/file_uploads/maven_package_spec.rb b/spec/features/file_uploads/maven_package_spec.rb index 70302142fa2..8a8bac53613 100644 --- a/spec/features/file_uploads/maven_package_spec.rb +++ b/spec/features/file_uploads/maven_package_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload a maven package', :api, :js do +RSpec.describe 'Upload a maven package', :api, :js, feature_category: :package_registry do include_context 'file upload requests helpers' let_it_be(:project) { create(:project) } diff --git a/spec/features/file_uploads/multipart_invalid_uploads_spec.rb b/spec/features/file_uploads/multipart_invalid_uploads_spec.rb index cff8b4e61a5..c4c5eb6b74b 100644 --- a/spec/features/file_uploads/multipart_invalid_uploads_spec.rb +++ b/spec/features/file_uploads/multipart_invalid_uploads_spec.rb @@ -2,11 +2,11 @@ require 'spec_helper' -RSpec.describe 'Invalid uploads that must be rejected', :api, :js do +RSpec.describe 'Invalid uploads that must be rejected', :api, :js, feature_category: :package_registry do include_context 'file upload requests helpers' let_it_be(:project) { create(:project) } - let_it_be(:user) { create(:user, :admin) } + let_it_be(:user) { project.owner } let_it_be(:personal_access_token) { create(:personal_access_token, user: user) } context 'invalid upload key', :capybara_ignore_server_errors do diff --git a/spec/features/file_uploads/nuget_package_spec.rb b/spec/features/file_uploads/nuget_package_spec.rb index cbffd34d4ab..0dc48114e9a 100644 --- a/spec/features/file_uploads/nuget_package_spec.rb +++ b/spec/features/file_uploads/nuget_package_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload a nuget package', :api, :js do +RSpec.describe 'Upload a nuget package', :api, :js, feature_category: :package_registry do include_context 'file upload requests helpers' let_it_be(:project) { create(:project) } diff --git a/spec/features/file_uploads/project_import_spec.rb b/spec/features/file_uploads/project_import_spec.rb index 82b6f490d2a..c261834206d 100644 --- a/spec/features/file_uploads/project_import_spec.rb +++ b/spec/features/file_uploads/project_import_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload a project export archive', :api, :js do +RSpec.describe 'Upload a project export archive', :api, :js, feature_category: :projects do include_context 'file upload requests helpers' let_it_be(:user) { create(:user, :admin) } diff --git a/spec/features/file_uploads/rubygem_package_spec.rb b/spec/features/file_uploads/rubygem_package_spec.rb index f91fb407b28..9c4512e4eab 100644 --- a/spec/features/file_uploads/rubygem_package_spec.rb +++ b/spec/features/file_uploads/rubygem_package_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload a RubyGems package', :api, :js do +RSpec.describe 'Upload a RubyGems package', :api, :js, feature_category: :package_registry do include_context 'file upload requests helpers' let_it_be(:project) { create(:project) } diff --git a/spec/features/file_uploads/user_avatar_spec.rb b/spec/features/file_uploads/user_avatar_spec.rb index 34cfb4a4128..06501e09866 100644 --- a/spec/features/file_uploads/user_avatar_spec.rb +++ b/spec/features/file_uploads/user_avatar_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'Upload a user avatar', :js do +RSpec.describe 'Upload a user avatar', :js, feature_category: :users do let_it_be(:user, reload: true) { create(:user) } let(:file) { fixture_file_upload('spec/fixtures/banana_sample.gif') } |