rspec integration pg14 1/12
Passed Started
by
@dstull
Doug Stull
1 returns forbidden2 auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok3 behaves like accept metadata request4 accepts the metadata request5 avoids N+1 database queries6 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden7 behaves like reject metadata request8 behaves like returning response status9 returns forbidden10 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok11 behaves like accept metadata request12 accepts the metadata request13 avoids N+1 database queries14 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden15 behaves like reject metadata request16 behaves like returning response status17 returns forbidden18 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok19 behaves like accept metadata request20 accepts the metadata request21 avoids N+1 database queries22 auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden23 behaves like reject metadata request24 behaves like returning response status25 returns forbidden26 auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok27 behaves like accept metadata request28 accepts the metadata request29 avoids N+1 database queries30 auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden31 behaves like reject metadata request32 behaves like returning response status33 returns forbidden34 auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok35 behaves like accept metadata request36 accepts the metadata request37 avoids N+1 database queries38 auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :redirected39 behaves like redirect metadata request40 redirects metadata request41 auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :redirected42 behaves like redirect metadata request43 redirects metadata request44 auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden45 behaves like reject metadata request46 behaves like returning response status47 returns forbidden48 auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found49 behaves like returning response status with error50 returns not_found and error message51 auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok52 behaves like accept metadata request53 accepts the metadata request54 avoids N+1 database queries55 auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok56 behaves like accept metadata request57 accepts the metadata request58 avoids N+1 database queries59 auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok60 behaves like accept metadata request61 accepts the metadata request62 avoids N+1 database queries63 auth: :personal_access_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok64 behaves like accept metadata request65 accepts the metadata request66 avoids N+1 database queries67 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok68 behaves like accept metadata request69 accepts the metadata request70 avoids N+1 database queries71 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok72 behaves like accept metadata request73 accepts the metadata request74 avoids N+1 database queries75 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok76 behaves like accept metadata request77 accepts the metadata request78 avoids N+1 database queries79 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok80 behaves like accept metadata request81 accepts the metadata request82 avoids N+1 database queries83 auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok84 behaves like accept metadata request85 accepts the metadata request86 avoids N+1 database queries87 auth: :personal_access_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok88 behaves like accept metadata request89 accepts the metadata request90 avoids N+1 database queries91 auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok92 behaves like accept metadata request93 accepts the metadata request94 avoids N+1 database queries95 auth: :personal_access_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok96 behaves like accept metadata request97 accepts the metadata request98 avoids N+1 database queries99 auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :redirected100 behaves like redirect metadata request101 redirects metadata request102 auth: :personal_access_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :redirected103 behaves like redirect metadata request104 redirects metadata request105 auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found106 behaves like returning response status with error107 returns not_found and error message108 auth: :personal_access_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found109 behaves like returning response status with error110 returns not_found and error message111 auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok112 behaves like accept metadata request113 accepts the metadata request114 avoids N+1 database queries115 auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok116 behaves like accept metadata request117 accepts the metadata request118 avoids N+1 database queries119 auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok120 behaves like accept metadata request121 accepts the metadata request122 avoids N+1 database queries123 auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok124 behaves like accept metadata request125 accepts the metadata request126 avoids N+1 database queries127 auth: :job_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok128 behaves like accept metadata request129 accepts the metadata request130 avoids N+1 database queries131 auth: :job_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok132 behaves like accept metadata request133 accepts the metadata request134 avoids N+1 database queries135 auth: :job_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: :developer, expected_result: :redirect, expected_status: :redirected136 behaves like redirect metadata request137 redirects metadata request138 auth: :job_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found139 behaves like returning response status with error140 returns not_found and error message141 auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok142 behaves like accept metadata request143 accepts the metadata request144 avoids N+1 database queries145 auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok146 behaves like accept metadata request147 accepts the metadata request148 avoids N+1 database queries149 auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok150 behaves like accept metadata request151 accepts the metadata request152 avoids N+1 database queries153 auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok154 behaves like accept metadata request155 accepts the metadata request156 avoids N+1 database queries157 auth: :job_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok158 behaves like accept metadata request159 accepts the metadata request160 avoids N+1 database queries161 auth: :job_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok162 behaves like accept metadata request163 accepts the metadata request164 avoids N+1 database queries165 auth: :job_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: :developer, expected_result: :redirect, expected_status: :redirected166 behaves like redirect metadata request167 redirects metadata request168 auth: :job_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found169 behaves like returning response status with error170 returns not_found and error message171 auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok172 behaves like accept metadata request173 accepts the metadata request174 avoids N+1 database queries175 auth: :job_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok176 behaves like accept metadata request177 accepts the metadata request178 avoids N+1 database queries179 auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok180 behaves like accept metadata request181 accepts the metadata request182 avoids N+1 database queries183 auth: :job_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok184 behaves like accept metadata request185 accepts the metadata request186 avoids N+1 database queries187 auth: :job_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok188 behaves like accept metadata request189 accepts the metadata request190 avoids N+1 database queries191 auth: :job_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok192 behaves like accept metadata request193 accepts the metadata request194 avoids N+1 database queries195 auth: :job_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :redirect, expected_status: :redirected196 behaves like redirect metadata request197 redirects metadata request198 auth: :job_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found199 behaves like returning response status with error200 returns not_found and error message201 auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok202 behaves like accept metadata request203 accepts the metadata request204 avoids N+1 database queries205 auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok206 behaves like accept metadata request207 accepts the metadata request208 avoids N+1 database queries209 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok210 behaves like accept metadata request211 accepts the metadata request212 avoids N+1 database queries213 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok214 behaves like accept metadata request215 accepts the metadata request216 avoids N+1 database queries217 auth: :deploy_token, package_name_type: :unscoped, request_forward: true, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok218 behaves like accept metadata request219 accepts the metadata request220 avoids N+1 database queries221 auth: :deploy_token, package_name_type: :unscoped, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok222 behaves like accept metadata request223 accepts the metadata request224 avoids N+1 database queries225 auth: :deploy_token, package_name_type: :non_existing, request_forward: true, visibility: :public, user_role: nil, expected_result: :redirect, expected_status: :redirected226 behaves like redirect metadata request227 redirects metadata request228 auth: :deploy_token, package_name_type: :non_existing, request_forward: false, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found229 behaves like returning response status with error230 returns not_found and error message231 auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok232 behaves like accept metadata request233 accepts the metadata request234 avoids N+1 database queries235 auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok236 behaves like accept metadata request237 accepts the metadata request238 avoids N+1 database queries239 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok240 behaves like accept metadata request241 accepts the metadata request242 avoids N+1 database queries243 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok244 behaves like accept metadata request245 accepts the metadata request246 avoids N+1 database queries247 auth: :deploy_token, package_name_type: :unscoped, request_forward: true, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok248 behaves like accept metadata request249 accepts the metadata request250 avoids N+1 database queries251 auth: :deploy_token, package_name_type: :unscoped, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok252 behaves like accept metadata request253 accepts the metadata request254 avoids N+1 database queries255 auth: :deploy_token, package_name_type: :non_existing, request_forward: true, visibility: :private, user_role: nil, expected_result: :redirect, expected_status: :redirected256 behaves like redirect metadata request257 redirects metadata request258 auth: :deploy_token, package_name_type: :non_existing, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found259 behaves like returning response status with error260 returns not_found and error message261 auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok262 behaves like accept metadata request263 accepts the metadata request264 avoids N+1 database queries265 auth: :deploy_token, package_name_type: :scoped_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok266 behaves like accept metadata request267 accepts the metadata request268 avoids N+1 database queries269 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: true, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok270 behaves like accept metadata request271 accepts the metadata request272 avoids N+1 database queries273 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok274 behaves like accept metadata request275 accepts the metadata request276 avoids N+1 database queries277 auth: :deploy_token, package_name_type: :unscoped, request_forward: true, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok278 behaves like accept metadata request279 accepts the metadata request280 avoids N+1 database queries281 auth: :deploy_token, package_name_type: :unscoped, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok282 behaves like accept metadata request283 accepts the metadata request284 avoids N+1 database queries285 auth: :deploy_token, package_name_type: :non_existing, request_forward: true, visibility: :internal, user_role: nil, expected_result: :redirect, expected_status: :redirected286 behaves like redirect metadata request287 redirects metadata request288 auth: :deploy_token, package_name_type: :non_existing, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found289 behaves like returning response status with error290 returns not_found and error message291 with a developer292 project path with a dot293 behaves like accept metadata request294 accepts the metadata request295 avoids N+1 database queries296 with a job token297 behaves like reject metadata request298 behaves like returning response status299 returns unauthorized300 behaves like accept get request on private project with access to package registry for everyone301 behaves like returning response status302 returns ok303 behaves like rejects invalid package names304 is expected to eq {"error"=>"package_name should be a valid file path"}305 when metadata cache exists306 returns response from metadata cache307DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and308from Rails 7.1 will use the default Ruby implementation.309You can set `config.active_support.remove_deprecated_time_with_zone_name = true`310to enable the new behavior now.311 (called from block (4 levels) in <top (required)> at /builds/gitlab-org/gitlab/spec/requests/api/npm_project_packages_spec.rb:52)312 bumps last_downloaded_at of metadata cache313 behaves like does not enqueue a worker to sync a metadata cache314 does not enqueue a worker to sync a metadata cache315 when npm_metadata_cache disabled316 behaves like generates metadata response "on-the-fly"317 generates metadata response "on-the-fly"318 when metadata cache file does not exist319 behaves like generates metadata response "on-the-fly"320 generates metadata response "on-the-fly"321 behaves like enqueue a worker to sync a metadata cache322 enqueues a worker to create a metadata cache323 with npm_metadata_cache disabled324 behaves like does not enqueue a worker to sync a metadata cache325 does not enqueue a worker to sync a metadata cache326 when user is not authorized after exception was raised327 correctly reports an exception328 GET /api/v4/projects/:id/packages/npm/-/package/*package_name/dist-tags329 behaves like handling get dist tags requests330 with a group namespace331 behaves like handling all conditions332 auth: nil, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok333 behaves like accept package tags request334 with valid package name335 returns a valid json response336 returns two package tags337 behaves like returning response status338 returns ok339 behaves like track event340 behaves like a package tracking event341 creates a gitlab tracking event list_tags342 with invalid package name343 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"344 behaves like returning response status with error345 returns bad_request and error message346 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/347 behaves like returning response status with error348 returns not_found and error message349 auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok350 behaves like accept package tags request351 with valid package name352 returns a valid json response353 returns two package tags354 behaves like returning response status355 returns ok356 behaves like track event357 behaves like a package tracking event358 creates a gitlab tracking event list_tags359 with invalid package name360 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"361 behaves like returning response status with error362 returns bad_request and error message363 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/364 behaves like returning response status with error365 returns not_found and error message366 auth: nil, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok367 behaves like accept package tags request368 with valid package name369 returns a valid json response370 returns two package tags371 behaves like returning response status372 returns ok373 behaves like track event374 behaves like a package tracking event375 creates a gitlab tracking event list_tags376 with invalid package name377 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"378 behaves like returning response status with error379 returns bad_request and error message380 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/381 behaves like returning response status with error382 returns not_found and error message383 auth: nil, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found384 behaves like returning response status with error385 returns not_found and error message386 auth: nil, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found387 behaves like returning response status with error388 returns not_found and error message389 auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found390 behaves like returning response status with error391 returns not_found and error message392 auth: nil, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found393 behaves like returning response status with error394 returns not_found and error message395 auth: nil, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found396 behaves like returning response status with error397 returns not_found and error message398 auth: nil, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found399 behaves like returning response status with error400 returns not_found and error message401 auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found402 behaves like returning response status with error403 returns not_found and error message404 auth: nil, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found405 behaves like returning response status with error406 returns not_found and error message407 auth: nil, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found408 behaves like returning response status with error409 returns not_found and error message410 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok411 behaves like accept package tags request412 with valid package name413 returns a valid json response414 returns two package tags415 behaves like returning response status416 returns ok417 behaves like track event418 behaves like a package tracking event419 creates a gitlab tracking event list_tags420 with invalid package name421 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"422 behaves like returning response status with error423 returns bad_request and error message424 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/425 behaves like returning response status with error426 returns not_found and error message427 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok428 behaves like accept package tags request429 with valid package name430 returns a valid json response431 returns two package tags432 behaves like returning response status433 returns ok434 behaves like track event435 behaves like a package tracking event436 creates a gitlab tracking event list_tags437 with invalid package name438 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"439 behaves like returning response status with error440 returns bad_request and error message441 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/442 behaves like returning response status with error443 returns not_found and error message444 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok445 behaves like accept package tags request446 with valid package name447 returns a valid json response448 returns two package tags449 behaves like returning response status450 returns ok451 behaves like track event452 behaves like a package tracking event453 creates a gitlab tracking event list_tags454 with invalid package name455 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"456 behaves like returning response status with error457 returns bad_request and error message458 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/459 behaves like returning response status with error460 returns not_found and error message461 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok462 behaves like accept package tags request463 with valid package name464 returns a valid json response465 returns two package tags466 behaves like returning response status467 returns ok468 behaves like track event469 behaves like a package tracking event470 creates a gitlab tracking event list_tags471 with invalid package name472 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"473 behaves like returning response status with error474 returns bad_request and error message475 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/476 behaves like returning response status with error477 returns not_found and error message478 auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok479 behaves like accept package tags request480 with valid package name481 returns a valid json response482 returns two package tags483 behaves like returning response status484 returns ok485 behaves like track event486 behaves like a package tracking event487 creates a gitlab tracking event list_tags488 with invalid package name489 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"490 behaves like returning response status with error491 returns bad_request and error message492 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/493 behaves like returning response status with error494 returns not_found and error message495 auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok496 behaves like accept package tags request497 with valid package name498 returns a valid json response499 returns two package tags500 behaves like returning response status501 returns ok502 behaves like track event503 behaves like a package tracking event504 creates a gitlab tracking event list_tags505 with invalid package name506 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"507 behaves like returning response status with error508 returns bad_request and error message509 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/510 behaves like returning response status with error511 returns not_found and error message512 auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found513 behaves like returning response status with error514 returns not_found and error message515 auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found516 behaves like returning response status with error517 returns not_found and error message518 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden519 behaves like reject package tags request520 behaves like returning response status521 returns forbidden522 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok523 behaves like accept package tags request524 with valid package name525 returns a valid json response526 returns two package tags527 behaves like returning response status528 returns ok529 behaves like track event530 behaves like a package tracking event531 creates a gitlab tracking event list_tags532 with invalid package name533 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"534 behaves like returning response status with error535 returns bad_request and error message536 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/537 behaves like returning response status with error538 returns not_found and error message539 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden540 behaves like reject package tags request541 behaves like returning response status542 returns forbidden543 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok544 behaves like accept package tags request545 with valid package name546 returns a valid json response547 returns two package tags548 behaves like returning response status549 returns ok550 behaves like track event551 behaves like a package tracking event552 creates a gitlab tracking event list_tags553 with invalid package name554 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"555 behaves like returning response status with error556 returns bad_request and error message557 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/558 behaves like returning response status with error559 returns not_found and error message560 auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden561 behaves like reject package tags request562 behaves like returning response status563 returns forbidden564 auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok565 behaves like accept package tags request566 with valid package name567 returns a valid json response568 returns two package tags569 behaves like returning response status570 returns ok571 behaves like track event572 behaves like a package tracking event573 creates a gitlab tracking event list_tags574 with invalid package name575 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"576 behaves like returning response status with error577 returns bad_request and error message578 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/579 behaves like returning response status with error580 returns not_found and error message581 auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden582 behaves like reject package tags request583 behaves like returning response status584 returns forbidden585 auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found586 behaves like returning response status with error587 returns not_found and error message588 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok589 behaves like accept package tags request590 with valid package name591 returns a valid json response592 returns two package tags593 behaves like returning response status594 returns ok595 behaves like track event596 behaves like a package tracking event597 creates a gitlab tracking event list_tags598 with invalid package name599 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"600 behaves like returning response status with error601 returns bad_request and error message602 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/603 behaves like returning response status with error604 returns not_found and error message605 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok606 behaves like accept package tags request607 with valid package name608 returns a valid json response609 returns two package tags610 behaves like returning response status611 returns ok612 behaves like track event613 behaves like a package tracking event614 creates a gitlab tracking event list_tags615 with invalid package name616 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"617 behaves like returning response status with error618 returns bad_request and error message619 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/620 behaves like returning response status with error621 returns not_found and error message622 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok623 behaves like accept package tags request624 with valid package name625 returns a valid json response626 returns two package tags627 behaves like returning response status628 returns ok629 behaves like track event630 behaves like a package tracking event631 creates a gitlab tracking event list_tags632 with invalid package name633 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"634 behaves like returning response status with error635 returns bad_request and error message636 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/637 behaves like returning response status with error638 returns not_found and error message639 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok640 behaves like accept package tags request641 with valid package name642 returns a valid json response643 returns two package tags644 behaves like returning response status645 returns ok646 behaves like track event647 behaves like a package tracking event648 creates a gitlab tracking event list_tags649 with invalid package name650 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"651 behaves like returning response status with error652 returns bad_request and error message653 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/654 behaves like returning response status with error655 returns not_found and error message656 auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok657 behaves like accept package tags request658 with valid package name659 returns a valid json response660 returns two package tags661 behaves like returning response status662 returns ok663 behaves like track event664 behaves like a package tracking event665 creates a gitlab tracking event list_tags666 with invalid package name667 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"668 behaves like returning response status with error669 returns bad_request and error message670 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/671 behaves like returning response status with error672 returns not_found and error message673 auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok674 behaves like accept package tags request675 with valid package name676 returns a valid json response677 returns two package tags678 behaves like returning response status679 returns ok680 behaves like track event681 behaves like a package tracking event682 creates a gitlab tracking event list_tags683 with invalid package name684 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"685 behaves like returning response status with error686 returns bad_request and error message687 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/688 behaves like returning response status with error689 returns not_found and error message690 auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found691 behaves like returning response status with error692 returns not_found and error message693 auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found694 behaves like returning response status with error695 returns not_found and error message696 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok697 behaves like accept package tags request698 with valid package name699 returns a valid json response700 returns two package tags701 behaves like returning response status702 returns ok703 behaves like track event704 behaves like a package tracking event705 creates a gitlab tracking event list_tags706 with invalid package name707 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"708 behaves like returning response status with error709 returns bad_request and error message710 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/711 behaves like returning response status with error712 returns not_found and error message713 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok714 behaves like accept package tags request715 with valid package name716 returns a valid json response717 returns two package tags718 behaves like returning response status719 returns ok720 behaves like track event721 behaves like a package tracking event722 creates a gitlab tracking event list_tags723 with invalid package name724 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"725 behaves like returning response status with error726 returns bad_request and error message727 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/728 behaves like returning response status with error729 returns not_found and error message730 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok731 behaves like accept package tags request732 with valid package name733 returns a valid json response734 returns two package tags735 behaves like returning response status736 returns ok737 behaves like track event738 behaves like a package tracking event739 creates a gitlab tracking event list_tags740 with invalid package name741 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"742 behaves like returning response status with error743 returns bad_request and error message744 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/745 behaves like returning response status with error746 returns not_found and error message747 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok748 behaves like accept package tags request749 with valid package name750 returns a valid json response751 returns two package tags752 behaves like returning response status753 returns ok754 behaves like track event755 behaves like a package tracking event756 creates a gitlab tracking event list_tags757 with invalid package name758 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"759 behaves like returning response status with error760 returns bad_request and error message761 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/762 behaves like returning response status with error763 returns not_found and error message764 auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok765 behaves like accept package tags request766 with valid package name767 returns a valid json response768 returns two package tags769 behaves like returning response status770 returns ok771 behaves like track event772 behaves like a package tracking event773 creates a gitlab tracking event list_tags774 with invalid package name775 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"776 behaves like returning response status with error777 returns bad_request and error message778 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/779 behaves like returning response status with error780 returns not_found and error message781 auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok782 behaves like accept package tags request783 with valid package name784 returns a valid json response785 returns two package tags786 behaves like returning response status787 returns ok788 behaves like track event789 behaves like a package tracking event790 creates a gitlab tracking event list_tags791 with invalid package name792 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"793 behaves like returning response status with error794 returns bad_request and error message795 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/796 behaves like returning response status with error797 returns not_found and error message798 auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :not_found799 behaves like returning response status with error800 returns not_found and error message801 auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :reporter, expected_result: :reject, expected_status: :not_found802 behaves like returning response status with error803 returns not_found and error message804 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden805 behaves like reject package tags request806 behaves like returning response status807 returns forbidden808 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok809 behaves like accept package tags request810 with valid package name811 returns a valid json response812 returns two package tags813 behaves like returning response status814 returns ok815 behaves like track event816 behaves like a package tracking event817 creates a gitlab tracking event list_tags818 with invalid package name819 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"820 behaves like returning response status with error821 returns bad_request and error message822 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/823 behaves like returning response status with error824 returns not_found and error message825 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden826 behaves like reject package tags request827 behaves like returning response status828 returns forbidden829 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok830 behaves like accept package tags request831 with valid package name832 returns a valid json response833 returns two package tags834 behaves like returning response status835 returns ok836 behaves like track event837 behaves like a package tracking event838 creates a gitlab tracking event list_tags839 with invalid package name840 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"841 behaves like returning response status with error842 returns bad_request and error message843 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/844 behaves like returning response status with error845 returns not_found and error message846 auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden847 behaves like reject package tags request848 behaves like returning response status849 returns forbidden850 auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok851 behaves like accept package tags request852 with valid package name853 returns a valid json response854 returns two package tags855 behaves like returning response status856 returns ok857 behaves like track event858 behaves like a package tracking event859 creates a gitlab tracking event list_tags860 with invalid package name861 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"862 behaves like returning response status with error863 returns bad_request and error message864 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/865 behaves like returning response status with error866 returns not_found and error message867 auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden868 behaves like reject package tags request869 behaves like returning response status870 returns forbidden871 auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :reporter, expected_result: :reject, expected_status: :not_found872 behaves like returning response status with error873 returns not_found and error message874 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok875 behaves like accept package tags request876 with valid package name877 returns a valid json response878 returns two package tags879 behaves like returning response status880 returns ok881 behaves like track event882 behaves like a package tracking event883 creates a gitlab tracking event list_tags884 with invalid package name885 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"886 behaves like returning response status with error887 returns bad_request and error message888 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/889 behaves like returning response status with error890 returns not_found and error message891 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok892 behaves like accept package tags request893 with valid package name894 returns a valid json response895 returns two package tags896 behaves like returning response status897 returns ok898 behaves like track event899 behaves like a package tracking event900 creates a gitlab tracking event list_tags901 with invalid package name902 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"903 behaves like returning response status with error904 returns bad_request and error message905 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/906 behaves like returning response status with error907 returns not_found and error message908 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok909 behaves like accept package tags request910 with valid package name911 returns a valid json response912 returns two package tags913 behaves like returning response status914 returns ok915 behaves like track event916 behaves like a package tracking event917 creates a gitlab tracking event list_tags918 with invalid package name919 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"920 behaves like returning response status with error921 returns bad_request and error message922 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/923 behaves like returning response status with error924 returns not_found and error message925 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok926 behaves like accept package tags request927 with valid package name928 returns a valid json response929 returns two package tags930 behaves like returning response status931 returns ok932 behaves like track event933 behaves like a package tracking event934 creates a gitlab tracking event list_tags935 with invalid package name936 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"937 behaves like returning response status with error938 returns bad_request and error message939 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/940 behaves like returning response status with error941 returns not_found and error message942 auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok943 behaves like accept package tags request944 with valid package name945 returns a valid json response946 returns two package tags947 behaves like returning response status948 returns ok949 behaves like track event950 behaves like a package tracking event951 creates a gitlab tracking event list_tags952 with invalid package name953 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"954 behaves like returning response status with error955 returns bad_request and error message956 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/957 behaves like returning response status with error958 returns not_found and error message959 auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok960 behaves like accept package tags request961 with valid package name962 returns a valid json response963 returns two package tags964 behaves like returning response status965 returns ok966 behaves like track event967 behaves like a package tracking event968 creates a gitlab tracking event list_tags969 with invalid package name970 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"971 behaves like returning response status with error972 returns bad_request and error message973 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/974 behaves like returning response status with error975 returns not_found and error message976 auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :not_found977 behaves like returning response status with error978 returns not_found and error message979 auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :reporter, expected_result: :reject, expected_status: :not_found980 behaves like returning response status with error981 returns not_found and error message982 auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok983 behaves like accept package tags request984 with valid package name985 returns a valid json response986 returns two package tags987 behaves like returning response status988 returns ok989 behaves like track event990 behaves like a package tracking event991 creates a gitlab tracking event list_tags992 with invalid package name993 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"994 behaves like returning response status with error995 returns bad_request and error message996 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/997 behaves like returning response status with error998 returns not_found and error message999 auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok1000 behaves like accept package tags request1001 with valid package name1002 returns a valid json response1003 returns two package tags1004 behaves like returning response status1005 returns ok1006 behaves like track event1007 behaves like a package tracking event1008 creates a gitlab tracking event list_tags1009 with invalid package name1010 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1011 behaves like returning response status with error1012 returns bad_request and error message1013 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1014 behaves like returning response status with error1015 returns not_found and error message1016 auth: :job_token, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok1017 behaves like accept package tags request1018 with valid package name1019 returns a valid json response1020 returns two package tags1021 behaves like returning response status1022 returns ok1023 behaves like track event1024 behaves like a package tracking event1025 creates a gitlab tracking event list_tags1026 with invalid package name1027 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1028 behaves like returning response status with error1029 returns bad_request and error message1030 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1031 behaves like returning response status with error1032 returns not_found and error message1033 auth: :job_token, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found1034 behaves like returning response status with error1035 returns not_found and error message1036 auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok1037 behaves like accept package tags request1038 with valid package name1039 returns a valid json response1040 returns two package tags1041 behaves like returning response status1042 returns ok1043 behaves like track event1044 behaves like a package tracking event1045 creates a gitlab tracking event list_tags1046 with invalid package name1047 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1048 behaves like returning response status with error1049 returns bad_request and error message1050 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1051 behaves like returning response status with error1052 returns not_found and error message1053 auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok1054 behaves like accept package tags request1055 with valid package name1056 returns a valid json response1057 returns two package tags1058 behaves like returning response status1059 returns ok1060 behaves like track event1061 behaves like a package tracking event1062 creates a gitlab tracking event list_tags1063 with invalid package name1064 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1065 behaves like returning response status with error1066 returns bad_request and error message1067 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1068 behaves like returning response status with error1069 returns not_found and error message1070 auth: :job_token, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok1071 behaves like accept package tags request1072 with valid package name1073 returns a valid json response1074 returns two package tags1075 behaves like returning response status1076 returns ok1077 behaves like track event1078 behaves like a package tracking event1079 creates a gitlab tracking event list_tags1080 with invalid package name1081 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1082 behaves like returning response status with error1083 returns bad_request and error message1084 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1085 behaves like returning response status with error1086 returns not_found and error message1087 auth: :job_token, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found1088 behaves like returning response status with error1089 returns not_found and error message1090 auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok1091 behaves like accept package tags request1092 with valid package name1093 returns a valid json response1094 returns two package tags1095 behaves like returning response status1096 returns ok1097 behaves like track event1098 behaves like a package tracking event1099 creates a gitlab tracking event list_tags1100 with invalid package name1101 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1102 behaves like returning response status with error1103 returns bad_request and error message1104 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1105 behaves like returning response status with error1106 returns not_found and error message1107 auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok1108 behaves like accept package tags request1109 with valid package name1110 returns a valid json response1111 returns two package tags1112 behaves like returning response status1113 returns ok1114 behaves like track event1115 behaves like a package tracking event1116 creates a gitlab tracking event list_tags1117 with invalid package name1118 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1119 behaves like returning response status with error1120 returns bad_request and error message1121 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1122 behaves like returning response status with error1123 returns not_found and error message1124 auth: :job_token, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok1125 behaves like accept package tags request1126 with valid package name1127 returns a valid json response1128 returns two package tags1129 behaves like returning response status1130 returns ok1131 behaves like track event1132 behaves like a package tracking event1133 creates a gitlab tracking event list_tags1134 with invalid package name1135 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1136 behaves like returning response status with error1137 returns bad_request and error message1138 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1139 behaves like returning response status with error1140 returns not_found and error message1141 auth: :job_token, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found1142 behaves like returning response status with error1143 returns not_found and error message1144 auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok1145 behaves like accept package tags request1146 with valid package name1147 returns a valid json response1148 returns two package tags1149 behaves like returning response status1150 returns ok1151 behaves like track event1152 behaves like a package tracking event1153 creates a gitlab tracking event list_tags1154 with invalid package name1155 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1156 behaves like returning response status with error1157 returns bad_request and error message1158 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1159 behaves like returning response status with error1160 returns not_found and error message1161 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok1162 behaves like accept package tags request1163 with valid package name1164 returns a valid json response1165 returns two package tags1166 behaves like returning response status1167 returns ok1168 behaves like track event1169 behaves like a package tracking event1170 creates a gitlab tracking event list_tags1171 with invalid package name1172 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1173 behaves like returning response status with error1174 returns bad_request and error message1175 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1176 behaves like returning response status with error1177 returns not_found and error message1178 auth: :deploy_token, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok1179 behaves like accept package tags request1180 with valid package name1181 returns a valid json response1182 returns two package tags1183 behaves like returning response status1184 returns ok1185 behaves like track event1186 behaves like a package tracking event1187 creates a gitlab tracking event list_tags1188 with invalid package name1189 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1190 behaves like returning response status with error1191 returns bad_request and error message1192 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1193 behaves like returning response status with error1194 returns not_found and error message1195 auth: :deploy_token, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found1196 behaves like returning response status with error1197 returns not_found and error message1198 auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok1199 behaves like accept package tags request1200 with valid package name1201 returns a valid json response1202 returns two package tags1203 behaves like returning response status1204 returns ok1205 behaves like track event1206 behaves like a package tracking event1207 creates a gitlab tracking event list_tags1208 with invalid package name1209 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1210 behaves like returning response status with error1211 returns bad_request and error message1212 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1213 behaves like returning response status with error1214 returns not_found and error message1215 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok1216 behaves like accept package tags request1217 with valid package name1218 returns a valid json response1219 returns two package tags1220 behaves like returning response status1221 returns ok1222 behaves like track event1223 behaves like a package tracking event1224 creates a gitlab tracking event list_tags1225 with invalid package name1226 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1227 behaves like returning response status with error1228 returns bad_request and error message1229 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1230 behaves like returning response status with error1231 returns not_found and error message1232 auth: :deploy_token, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok1233 behaves like accept package tags request1234 with valid package name1235 returns a valid json response1236 returns two package tags1237 behaves like returning response status1238 returns ok1239 behaves like track event1240 behaves like a package tracking event1241 creates a gitlab tracking event list_tags1242 with invalid package name1243 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1244 behaves like returning response status with error1245 returns bad_request and error message1246 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1247 behaves like returning response status with error1248 returns not_found and error message1249 auth: :deploy_token, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found1250 behaves like returning response status with error1251 returns not_found and error message1252 auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok1253 behaves like accept package tags request1254 with valid package name1255 returns a valid json response1256 returns two package tags1257 behaves like returning response status1258 returns ok1259 behaves like track event1260 behaves like a package tracking event1261 creates a gitlab tracking event list_tags1262 with invalid package name1263 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1264 behaves like returning response status with error1265 returns bad_request and error message1266 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1267 behaves like returning response status with error1268 returns not_found and error message1269 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok1270 behaves like accept package tags request1271 with valid package name1272 returns a valid json response1273 returns two package tags1274 behaves like returning response status1275 returns ok1276 behaves like track event1277 behaves like a package tracking event1278 creates a gitlab tracking event list_tags1279 with invalid package name1280 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1281 behaves like returning response status with error1282 returns bad_request and error message1283 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1284 behaves like returning response status with error1285 returns not_found and error message1286 auth: :deploy_token, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok1287 behaves like accept package tags request1288 with valid package name1289 returns a valid json response1290 returns two package tags1291 behaves like returning response status1292 returns ok1293 behaves like track event1294 behaves like a package tracking event1295 creates a gitlab tracking event list_tags1296 with invalid package name1297 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1298 behaves like returning response status with error1299 returns bad_request and error message1300 package_name: nil, status: :not_found, error: /\A(Packages|Project) not found\z/1301 behaves like returning response status with error1302 returns not_found and error message1303 auth: :deploy_token, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found1304 behaves like returning response status with error1305 returns not_found and error message1306 behaves like accept get request on private project with access to package registry for everyone1307 behaves like returning response status1308 returns ok1309 PUT /api/v4/projects/:id/packages/npm/-/package/*package_name/dist-tags/:tag1310 behaves like handling create dist tag requests1311 with a group namespace1312 behaves like handling all conditions1313 behaves like handling different package names, visibilities and user roles for tags create or delete1314 auth: nil, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized1315 behaves like reject create package tag request1316 behaves like returning response status1317 returns unauthorized1318 auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized1319 behaves like reject create package tag request1320 behaves like returning response status1321 returns unauthorized1322 auth: nil, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized1323 behaves like reject create package tag request1324 behaves like returning response status1325 returns unauthorized1326 auth: nil, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized1327 behaves like reject create package tag request1328 behaves like returning response status1329 returns unauthorized1330 auth: nil, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized1331 behaves like reject create package tag request1332 behaves like returning response status1333 returns unauthorized1334 auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized1335 behaves like reject create package tag request1336 behaves like returning response status1337 returns unauthorized1338 auth: nil, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized1339 behaves like reject create package tag request1340 behaves like returning response status1341 returns unauthorized1342 auth: nil, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized1343 behaves like reject create package tag request1344 behaves like returning response status1345 returns unauthorized1346 auth: nil, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized1347 behaves like reject create package tag request1348 behaves like returning response status1349 returns unauthorized1350 auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized1351 behaves like reject create package tag request1352 behaves like returning response status1353 returns unauthorized1354 auth: nil, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized1355 behaves like reject create package tag request1356 behaves like returning response status1357 returns unauthorized1358 auth: nil, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized1359 behaves like reject create package tag request1360 behaves like returning response status1361 returns unauthorized1362 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden1363 behaves like reject create package tag request1364 behaves like returning response status1365 returns forbidden1366 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok1367 behaves like accept create package tag request1368 with valid package name1369 creates the package tag1370 returns a valid response1371 behaves like returning response status1372 returns no_content1373 behaves like track event1374 behaves like a package tracking event1375 creates a gitlab tracking event create_tag1376 with already existing tag1377 reuses existing tag1378 returns a valid response1379 behaves like returning response status1380 returns no_content1381 with ActiveRecord::RecordInvalid error1382 behaves like returning response status with error1383 returns bad_request and error message1384 with invalid package name1385 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1386 behaves like returning response status with error1387 returns not_found and error message1388 package_name: "", status: :not_found, error: "404 Not Found"1389 behaves like returning response status with error1390 returns not_found and error message1391 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1392 behaves like returning response status with error1393 returns bad_request and error message1394 with invalid tag name1395 tag_name: "", status: :not_found, error: "404 Not Found"1396 behaves like returning response status with error1397 returns not_found and error message1398 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1399 behaves like returning response status with error1400 returns bad_request and error message1401 with invalid version1402 version: " ", status: :bad_request, error: "\"Version\" not given"1403 behaves like returning response status with error1404 returns bad_request and error message1405 version: "", status: :bad_request, error: "\"Version\" not given"1406 behaves like returning response status with error1407 returns bad_request and error message1408 version: nil, status: :bad_request, error: "\"Version\" not given"1409 behaves like returning response status with error1410 returns bad_request and error message1411 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden1412 behaves like reject create package tag request1413 behaves like returning response status1414 returns forbidden1415 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok1416 behaves like accept create package tag request1417 with valid package name1418 creates the package tag1419 returns a valid response1420 behaves like returning response status1421 returns no_content1422 behaves like track event1423 behaves like a package tracking event1424 creates a gitlab tracking event create_tag1425 with already existing tag1426 reuses existing tag1427 returns a valid response1428 behaves like returning response status1429 returns no_content1430 with ActiveRecord::RecordInvalid error1431 behaves like returning response status with error1432 returns bad_request and error message1433 with invalid package name1434 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1435 behaves like returning response status with error1436 returns not_found and error message1437 package_name: "", status: :not_found, error: "404 Not Found"1438 behaves like returning response status with error1439 returns not_found and error message1440 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1441 behaves like returning response status with error1442 returns bad_request and error message1443 with invalid tag name1444 tag_name: "", status: :not_found, error: "404 Not Found"1445 behaves like returning response status with error1446 returns not_found and error message1447 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1448 behaves like returning response status with error1449 returns bad_request and error message1450 with invalid version1451 version: " ", status: :bad_request, error: "\"Version\" not given"1452 behaves like returning response status with error1453 returns bad_request and error message1454 version: "", status: :bad_request, error: "\"Version\" not given"1455 behaves like returning response status with error1456 returns bad_request and error message1457 version: nil, status: :bad_request, error: "\"Version\" not given"1458 behaves like returning response status with error1459 returns bad_request and error message1460 auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden1461 behaves like reject create package tag request1462 behaves like returning response status1463 returns forbidden1464 auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok1465 behaves like accept create package tag request1466 with valid package name1467 creates the package tag1468 returns a valid response1469 behaves like returning response status1470 returns no_content1471 behaves like track event1472 behaves like a package tracking event1473 creates a gitlab tracking event create_tag1474 with already existing tag1475 reuses existing tag1476 returns a valid response1477 behaves like returning response status1478 returns no_content1479 with ActiveRecord::RecordInvalid error1480 behaves like returning response status with error1481 returns bad_request and error message1482 with invalid package name1483 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1484 behaves like returning response status with error1485 returns not_found and error message1486 package_name: "", status: :not_found, error: "404 Not Found"1487 behaves like returning response status with error1488 returns not_found and error message1489 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1490 behaves like returning response status with error1491 returns bad_request and error message1492 with invalid tag name1493 tag_name: "", status: :not_found, error: "404 Not Found"1494 behaves like returning response status with error1495 returns not_found and error message1496 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1497 behaves like returning response status with error1498 returns bad_request and error message1499 with invalid version1500 version: " ", status: :bad_request, error: "\"Version\" not given"1501 behaves like returning response status with error1502 returns bad_request and error message1503 version: "", status: :bad_request, error: "\"Version\" not given"1504 behaves like returning response status with error1505 returns bad_request and error message1506 version: nil, status: :bad_request, error: "\"Version\" not given"1507 behaves like returning response status with error1508 returns bad_request and error message1509 auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden1510 behaves like reject create package tag request1511 behaves like returning response status1512 returns forbidden1513 auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found1514 behaves like returning response status with error1515 returns not_found and error message1516 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden1517 behaves like reject create package tag request1518 behaves like returning response status1519 returns forbidden1520 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok1521 behaves like accept create package tag request1522 with valid package name1523 creates the package tag1524 returns a valid response1525 behaves like returning response status1526 returns no_content1527 behaves like track event1528 behaves like a package tracking event1529 creates a gitlab tracking event create_tag1530 with already existing tag1531 reuses existing tag1532 returns a valid response1533 behaves like returning response status1534 returns no_content1535 with ActiveRecord::RecordInvalid error1536 behaves like returning response status with error1537 returns bad_request and error message1538 with invalid package name1539 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1540 behaves like returning response status with error1541 returns not_found and error message1542 package_name: "", status: :not_found, error: "404 Not Found"1543 behaves like returning response status with error1544 returns not_found and error message1545 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1546 behaves like returning response status with error1547 returns bad_request and error message1548 with invalid tag name1549 tag_name: "", status: :not_found, error: "404 Not Found"1550 behaves like returning response status with error1551 returns not_found and error message1552 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1553 behaves like returning response status with error1554 returns bad_request and error message1555 with invalid version1556 version: " ", status: :bad_request, error: "\"Version\" not given"1557 behaves like returning response status with error1558 returns bad_request and error message1559 version: "", status: :bad_request, error: "\"Version\" not given"1560 behaves like returning response status with error1561 returns bad_request and error message1562 version: nil, status: :bad_request, error: "\"Version\" not given"1563 behaves like returning response status with error1564 returns bad_request and error message1565 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden1566 behaves like reject create package tag request1567 behaves like returning response status1568 returns forbidden1569 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok1570 behaves like accept create package tag request1571 with valid package name1572 creates the package tag1573 returns a valid response1574 behaves like returning response status1575 returns no_content1576 behaves like track event1577 behaves like a package tracking event1578 creates a gitlab tracking event create_tag1579 with already existing tag1580 reuses existing tag1581 returns a valid response1582 behaves like returning response status1583 returns no_content1584 with ActiveRecord::RecordInvalid error1585 behaves like returning response status with error1586 returns bad_request and error message1587 with invalid package name1588 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1589 behaves like returning response status with error1590 returns not_found and error message1591 package_name: "", status: :not_found, error: "404 Not Found"1592 behaves like returning response status with error1593 returns not_found and error message1594 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1595 behaves like returning response status with error1596 returns bad_request and error message1597 with invalid tag name1598 tag_name: "", status: :not_found, error: "404 Not Found"1599 behaves like returning response status with error1600 returns not_found and error message1601 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1602 behaves like returning response status with error1603 returns bad_request and error message1604 with invalid version1605 version: " ", status: :bad_request, error: "\"Version\" not given"1606 behaves like returning response status with error1607 returns bad_request and error message1608 version: "", status: :bad_request, error: "\"Version\" not given"1609 behaves like returning response status with error1610 returns bad_request and error message1611 version: nil, status: :bad_request, error: "\"Version\" not given"1612 behaves like returning response status with error1613 returns bad_request and error message1614 auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden1615 behaves like reject create package tag request1616 behaves like returning response status1617 returns forbidden1618 auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok1619 behaves like accept create package tag request1620 with valid package name1621 creates the package tag1622 returns a valid response1623 behaves like returning response status1624 returns no_content1625 behaves like track event1626 behaves like a package tracking event1627 creates a gitlab tracking event create_tag1628 with already existing tag1629 reuses existing tag1630 returns a valid response1631 behaves like returning response status1632 returns no_content1633 with ActiveRecord::RecordInvalid error1634 behaves like returning response status with error1635 returns bad_request and error message1636 with invalid package name1637 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1638 behaves like returning response status with error1639 returns not_found and error message1640 package_name: "", status: :not_found, error: "404 Not Found"1641 behaves like returning response status with error1642 returns not_found and error message1643 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1644 behaves like returning response status with error1645 returns bad_request and error message1646 with invalid tag name1647 tag_name: "", status: :not_found, error: "404 Not Found"1648 behaves like returning response status with error1649 returns not_found and error message1650 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1651 behaves like returning response status with error1652 returns bad_request and error message1653 with invalid version1654 version: " ", status: :bad_request, error: "\"Version\" not given"1655 behaves like returning response status with error1656 returns bad_request and error message1657 version: "", status: :bad_request, error: "\"Version\" not given"1658 behaves like returning response status with error1659 returns bad_request and error message1660 version: nil, status: :bad_request, error: "\"Version\" not given"1661 behaves like returning response status with error1662 returns bad_request and error message1663 auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden1664 behaves like reject create package tag request1665 behaves like returning response status1666 returns forbidden1667 auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found1668 behaves like returning response status with error1669 returns not_found and error message1670 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden1671 behaves like reject create package tag request1672 behaves like returning response status1673 returns forbidden1674 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok1675 behaves like accept create package tag request1676 with valid package name1677 creates the package tag1678 returns a valid response1679 behaves like returning response status1680 returns no_content1681 behaves like track event1682 behaves like a package tracking event1683 creates a gitlab tracking event create_tag1684 with already existing tag1685 reuses existing tag1686 returns a valid response1687 behaves like returning response status1688 returns no_content1689 with ActiveRecord::RecordInvalid error1690 behaves like returning response status with error1691 returns bad_request and error message1692 with invalid package name1693 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1694 behaves like returning response status with error1695 returns not_found and error message1696 package_name: "", status: :not_found, error: "404 Not Found"1697 behaves like returning response status with error1698 returns not_found and error message1699 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1700 behaves like returning response status with error1701 returns bad_request and error message1702 with invalid tag name1703 tag_name: "", status: :not_found, error: "404 Not Found"1704 behaves like returning response status with error1705 returns not_found and error message1706 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1707 behaves like returning response status with error1708 returns bad_request and error message1709 with invalid version1710 version: " ", status: :bad_request, error: "\"Version\" not given"1711 behaves like returning response status with error1712 returns bad_request and error message1713 version: "", status: :bad_request, error: "\"Version\" not given"1714 behaves like returning response status with error1715 returns bad_request and error message1716 version: nil, status: :bad_request, error: "\"Version\" not given"1717 behaves like returning response status with error1718 returns bad_request and error message1719 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden1720 behaves like reject create package tag request1721 behaves like returning response status1722 returns forbidden1723 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok1724 behaves like accept create package tag request1725 with valid package name1726 creates the package tag1727 returns a valid response1728 behaves like returning response status1729 returns no_content1730 behaves like track event1731 behaves like a package tracking event1732 creates a gitlab tracking event create_tag1733 with already existing tag1734 reuses existing tag1735 returns a valid response1736 behaves like returning response status1737 returns no_content1738 with ActiveRecord::RecordInvalid error1739 behaves like returning response status with error1740 returns bad_request and error message1741 with invalid package name1742 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1743 behaves like returning response status with error1744 returns not_found and error message1745 package_name: "", status: :not_found, error: "404 Not Found"1746 behaves like returning response status with error1747 returns not_found and error message1748 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1749 behaves like returning response status with error1750 returns bad_request and error message1751 with invalid tag name1752 tag_name: "", status: :not_found, error: "404 Not Found"1753 behaves like returning response status with error1754 returns not_found and error message1755 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1756 behaves like returning response status with error1757 returns bad_request and error message1758 with invalid version1759 version: " ", status: :bad_request, error: "\"Version\" not given"1760 behaves like returning response status with error1761 returns bad_request and error message1762 version: "", status: :bad_request, error: "\"Version\" not given"1763 behaves like returning response status with error1764 returns bad_request and error message1765 version: nil, status: :bad_request, error: "\"Version\" not given"1766 behaves like returning response status with error1767 returns bad_request and error message1768 auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden1769 behaves like reject create package tag request1770 behaves like returning response status1771 returns forbidden1772 auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok1773 behaves like accept create package tag request1774 with valid package name1775 creates the package tag1776 returns a valid response1777 behaves like returning response status1778 returns no_content1779 behaves like track event1780 behaves like a package tracking event1781 creates a gitlab tracking event create_tag1782 with already existing tag1783 reuses existing tag1784 returns a valid response1785 behaves like returning response status1786 returns no_content1787 with ActiveRecord::RecordInvalid error1788 behaves like returning response status with error1789 returns bad_request and error message1790 with invalid package name1791 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1792 behaves like returning response status with error1793 returns not_found and error message1794 package_name: "", status: :not_found, error: "404 Not Found"1795 behaves like returning response status with error1796 returns not_found and error message1797 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1798 behaves like returning response status with error1799 returns bad_request and error message1800 with invalid tag name1801 tag_name: "", status: :not_found, error: "404 Not Found"1802 behaves like returning response status with error1803 returns not_found and error message1804 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1805 behaves like returning response status with error1806 returns bad_request and error message1807 with invalid version1808 version: " ", status: :bad_request, error: "\"Version\" not given"1809 behaves like returning response status with error1810 returns bad_request and error message1811 version: "", status: :bad_request, error: "\"Version\" not given"1812 behaves like returning response status with error1813 returns bad_request and error message1814 version: nil, status: :bad_request, error: "\"Version\" not given"1815 behaves like returning response status with error1816 returns bad_request and error message1817 auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden1818 behaves like reject create package tag request1819 behaves like returning response status1820 returns forbidden1821 auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found1822 behaves like returning response status with error1823 returns not_found and error message1824 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden1825 behaves like reject create package tag request1826 behaves like returning response status1827 returns forbidden1828 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok1829 behaves like accept create package tag request1830 with valid package name1831 creates the package tag1832 returns a valid response1833 behaves like returning response status1834 returns no_content1835 behaves like track event1836 behaves like a package tracking event1837 creates a gitlab tracking event create_tag1838 with already existing tag1839 reuses existing tag1840 returns a valid response1841 behaves like returning response status1842 returns no_content1843 with ActiveRecord::RecordInvalid error1844 behaves like returning response status with error1845 returns bad_request and error message1846 with invalid package name1847 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1848 behaves like returning response status with error1849 returns not_found and error message1850 package_name: "", status: :not_found, error: "404 Not Found"1851 behaves like returning response status with error1852 returns not_found and error message1853 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1854 behaves like returning response status with error1855 returns bad_request and error message1856 with invalid tag name1857 tag_name: "", status: :not_found, error: "404 Not Found"1858 behaves like returning response status with error1859 returns not_found and error message1860 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1861 behaves like returning response status with error1862 returns bad_request and error message1863 with invalid version1864 version: " ", status: :bad_request, error: "\"Version\" not given"1865 behaves like returning response status with error1866 returns bad_request and error message1867 version: "", status: :bad_request, error: "\"Version\" not given"1868 behaves like returning response status with error1869 returns bad_request and error message1870 version: nil, status: :bad_request, error: "\"Version\" not given"1871 behaves like returning response status with error1872 returns bad_request and error message1873 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden1874 behaves like reject create package tag request1875 behaves like returning response status1876 returns forbidden1877 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok1878 behaves like accept create package tag request1879 with valid package name1880 creates the package tag1881 returns a valid response1882 behaves like returning response status1883 returns no_content1884 behaves like track event1885 behaves like a package tracking event1886 creates a gitlab tracking event create_tag1887 with already existing tag1888 reuses existing tag1889 returns a valid response1890 behaves like returning response status1891 returns no_content1892 with ActiveRecord::RecordInvalid error1893 behaves like returning response status with error1894 returns bad_request and error message1895 with invalid package name1896 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1897 behaves like returning response status with error1898 returns not_found and error message1899 package_name: "", status: :not_found, error: "404 Not Found"1900 behaves like returning response status with error1901 returns not_found and error message1902 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1903 behaves like returning response status with error1904 returns bad_request and error message1905 with invalid tag name1906 tag_name: "", status: :not_found, error: "404 Not Found"1907 behaves like returning response status with error1908 returns not_found and error message1909 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1910 behaves like returning response status with error1911 returns bad_request and error message1912 with invalid version1913 version: " ", status: :bad_request, error: "\"Version\" not given"1914 behaves like returning response status with error1915 returns bad_request and error message1916 version: "", status: :bad_request, error: "\"Version\" not given"1917 behaves like returning response status with error1918 returns bad_request and error message1919 version: nil, status: :bad_request, error: "\"Version\" not given"1920 behaves like returning response status with error1921 returns bad_request and error message1922 auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden1923 behaves like reject create package tag request1924 behaves like returning response status1925 returns forbidden1926 auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok1927 behaves like accept create package tag request1928 with valid package name1929 creates the package tag1930 returns a valid response1931 behaves like returning response status1932 returns no_content1933 behaves like track event1934 behaves like a package tracking event1935 creates a gitlab tracking event create_tag1936 with already existing tag1937 reuses existing tag1938 returns a valid response1939 behaves like returning response status1940 returns no_content1941 with ActiveRecord::RecordInvalid error1942 behaves like returning response status with error1943 returns bad_request and error message1944 with invalid package name1945 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/1946 behaves like returning response status with error1947 returns not_found and error message1948 package_name: "", status: :not_found, error: "404 Not Found"1949 behaves like returning response status with error1950 returns not_found and error message1951 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"1952 behaves like returning response status with error1953 returns bad_request and error message1954 with invalid tag name1955 tag_name: "", status: :not_found, error: "404 Not Found"1956 behaves like returning response status with error1957 returns not_found and error message1958 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"1959 behaves like returning response status with error1960 returns bad_request and error message1961 with invalid version1962 version: " ", status: :bad_request, error: "\"Version\" not given"1963 behaves like returning response status with error1964 returns bad_request and error message1965 version: "", status: :bad_request, error: "\"Version\" not given"1966 behaves like returning response status with error1967 returns bad_request and error message1968 version: nil, status: :bad_request, error: "\"Version\" not given"1969 behaves like returning response status with error1970 returns bad_request and error message1971 auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden1972 behaves like reject create package tag request1973 behaves like returning response status1974 returns forbidden1975 auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found1976 behaves like returning response status with error1977 returns not_found and error message1978 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden1979 behaves like reject create package tag request1980 behaves like returning response status1981 returns forbidden1982 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok1983 behaves like accept create package tag request1984 with valid package name1985 creates the package tag1986 returns a valid response1987 behaves like returning response status1988 returns no_content1989 behaves like track event1990 behaves like a package tracking event1991 creates a gitlab tracking event create_tag1992 with already existing tag1993 reuses existing tag1994 returns a valid response1995 behaves like returning response status1996 returns no_content1997 with ActiveRecord::RecordInvalid error1998 behaves like returning response status with error1999 returns bad_request and error message2000 with invalid package name2001 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2002 behaves like returning response status with error2003 returns not_found and error message2004 package_name: "", status: :not_found, error: "404 Not Found"2005 behaves like returning response status with error2006 returns not_found and error message2007 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2008 behaves like returning response status with error2009 returns bad_request and error message2010 with invalid tag name2011 tag_name: "", status: :not_found, error: "404 Not Found"2012 behaves like returning response status with error2013 returns not_found and error message2014 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2015 behaves like returning response status with error2016 returns bad_request and error message2017 with invalid version2018 version: " ", status: :bad_request, error: "\"Version\" not given"2019 behaves like returning response status with error2020 returns bad_request and error message2021 version: "", status: :bad_request, error: "\"Version\" not given"2022 behaves like returning response status with error2023 returns bad_request and error message2024 version: nil, status: :bad_request, error: "\"Version\" not given"2025 behaves like returning response status with error2026 returns bad_request and error message2027 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden2028 behaves like reject create package tag request2029 behaves like returning response status2030 returns forbidden2031 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok2032 behaves like accept create package tag request2033 with valid package name2034 creates the package tag2035 returns a valid response2036 behaves like returning response status2037 returns no_content2038 behaves like track event2039 behaves like a package tracking event2040 creates a gitlab tracking event create_tag2041 with already existing tag2042 reuses existing tag2043 returns a valid response2044 behaves like returning response status2045 returns no_content2046 with ActiveRecord::RecordInvalid error2047 behaves like returning response status with error2048 returns bad_request and error message2049 with invalid package name2050 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2051 behaves like returning response status with error2052 returns not_found and error message2053 package_name: "", status: :not_found, error: "404 Not Found"2054 behaves like returning response status with error2055 returns not_found and error message2056 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2057 behaves like returning response status with error2058 returns bad_request and error message2059 with invalid tag name2060 tag_name: "", status: :not_found, error: "404 Not Found"2061 behaves like returning response status with error2062 returns not_found and error message2063 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2064 behaves like returning response status with error2065 returns bad_request and error message2066 with invalid version2067 version: " ", status: :bad_request, error: "\"Version\" not given"2068 behaves like returning response status with error2069 returns bad_request and error message2070 version: "", status: :bad_request, error: "\"Version\" not given"2071 behaves like returning response status with error2072 returns bad_request and error message2073 version: nil, status: :bad_request, error: "\"Version\" not given"2074 behaves like returning response status with error2075 returns bad_request and error message2076 auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden2077 behaves like reject create package tag request2078 behaves like returning response status2079 returns forbidden2080 auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok2081 behaves like accept create package tag request2082 with valid package name2083 creates the package tag2084 returns a valid response2085 behaves like returning response status2086 returns no_content2087 behaves like track event2088 behaves like a package tracking event2089 creates a gitlab tracking event create_tag2090 with already existing tag2091 reuses existing tag2092 returns a valid response2093 behaves like returning response status2094 returns no_content2095 with ActiveRecord::RecordInvalid error2096 behaves like returning response status with error2097 returns bad_request and error message2098 with invalid package name2099 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2100 behaves like returning response status with error2101 returns not_found and error message2102 package_name: "", status: :not_found, error: "404 Not Found"2103 behaves like returning response status with error2104 returns not_found and error message2105 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2106 behaves like returning response status with error2107 returns bad_request and error message2108 with invalid tag name2109 tag_name: "", status: :not_found, error: "404 Not Found"2110 behaves like returning response status with error2111 returns not_found and error message2112 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2113 behaves like returning response status with error2114 returns bad_request and error message2115 with invalid version2116 version: " ", status: :bad_request, error: "\"Version\" not given"2117 behaves like returning response status with error2118 returns bad_request and error message2119 version: "", status: :bad_request, error: "\"Version\" not given"2120 behaves like returning response status with error2121 returns bad_request and error message2122 version: nil, status: :bad_request, error: "\"Version\" not given"2123 behaves like returning response status with error2124 returns bad_request and error message2125 auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden2126 behaves like reject create package tag request2127 behaves like returning response status2128 returns forbidden2129 auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found2130 behaves like returning response status with error2131 returns not_found and error message2132 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden2133 behaves like reject create package tag request2134 behaves like returning response status2135 returns forbidden2136 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok2137 behaves like accept create package tag request2138 with valid package name2139 creates the package tag2140 returns a valid response2141 behaves like returning response status2142 returns no_content2143 behaves like track event2144 behaves like a package tracking event2145 creates a gitlab tracking event create_tag2146 with already existing tag2147 reuses existing tag2148 returns a valid response2149 behaves like returning response status2150 returns no_content2151 with ActiveRecord::RecordInvalid error2152 behaves like returning response status with error2153 returns bad_request and error message2154 with invalid package name2155 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2156 behaves like returning response status with error2157 returns not_found and error message2158 package_name: "", status: :not_found, error: "404 Not Found"2159 behaves like returning response status with error2160 returns not_found and error message2161 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2162 behaves like returning response status with error2163 returns bad_request and error message2164 with invalid tag name2165 tag_name: "", status: :not_found, error: "404 Not Found"2166 behaves like returning response status with error2167 returns not_found and error message2168 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2169 behaves like returning response status with error2170 returns bad_request and error message2171 with invalid version2172 version: " ", status: :bad_request, error: "\"Version\" not given"2173 behaves like returning response status with error2174 returns bad_request and error message2175 version: "", status: :bad_request, error: "\"Version\" not given"2176 behaves like returning response status with error2177 returns bad_request and error message2178 version: nil, status: :bad_request, error: "\"Version\" not given"2179 behaves like returning response status with error2180 returns bad_request and error message2181 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden2182 behaves like reject create package tag request2183 behaves like returning response status2184 returns forbidden2185 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok2186 behaves like accept create package tag request2187 with valid package name2188 creates the package tag2189 returns a valid response2190 behaves like returning response status2191 returns no_content2192 behaves like track event2193 behaves like a package tracking event2194 creates a gitlab tracking event create_tag2195 with already existing tag2196 reuses existing tag2197 returns a valid response2198 behaves like returning response status2199 returns no_content2200 with ActiveRecord::RecordInvalid error2201 behaves like returning response status with error2202 returns bad_request and error message2203 with invalid package name2204 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2205 behaves like returning response status with error2206 returns not_found and error message2207 package_name: "", status: :not_found, error: "404 Not Found"2208 behaves like returning response status with error2209 returns not_found and error message2210 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2211 behaves like returning response status with error2212 returns bad_request and error message2213 with invalid tag name2214 tag_name: "", status: :not_found, error: "404 Not Found"2215 behaves like returning response status with error2216 returns not_found and error message2217 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2218 behaves like returning response status with error2219 returns bad_request and error message2220 with invalid version2221 version: " ", status: :bad_request, error: "\"Version\" not given"2222 behaves like returning response status with error2223 returns bad_request and error message2224 version: "", status: :bad_request, error: "\"Version\" not given"2225 behaves like returning response status with error2226 returns bad_request and error message2227 version: nil, status: :bad_request, error: "\"Version\" not given"2228 behaves like returning response status with error2229 returns bad_request and error message2230 auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden2231 behaves like reject create package tag request2232 behaves like returning response status2233 returns forbidden2234 auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok2235 behaves like accept create package tag request2236 with valid package name2237 creates the package tag2238 returns a valid response2239 behaves like returning response status2240 returns no_content2241 behaves like track event2242 behaves like a package tracking event2243 creates a gitlab tracking event create_tag2244 with already existing tag2245 reuses existing tag2246 returns a valid response2247 behaves like returning response status2248 returns no_content2249 with ActiveRecord::RecordInvalid error2250 behaves like returning response status with error2251 returns bad_request and error message2252 with invalid package name2253 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2254 behaves like returning response status with error2255 returns not_found and error message2256 package_name: "", status: :not_found, error: "404 Not Found"2257 behaves like returning response status with error2258 returns not_found and error message2259 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2260 behaves like returning response status with error2261 returns bad_request and error message2262 with invalid tag name2263 tag_name: "", status: :not_found, error: "404 Not Found"2264 behaves like returning response status with error2265 returns not_found and error message2266 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2267 behaves like returning response status with error2268 returns bad_request and error message2269 with invalid version2270 version: " ", status: :bad_request, error: "\"Version\" not given"2271 behaves like returning response status with error2272 returns bad_request and error message2273 version: "", status: :bad_request, error: "\"Version\" not given"2274 behaves like returning response status with error2275 returns bad_request and error message2276 version: nil, status: :bad_request, error: "\"Version\" not given"2277 behaves like returning response status with error2278 returns bad_request and error message2279 auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden2280 behaves like reject create package tag request2281 behaves like returning response status2282 returns forbidden2283 auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found2284 behaves like returning response status with error2285 returns not_found and error message2286 auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok2287 behaves like accept create package tag request2288 with valid package name2289 creates the package tag2290 returns a valid response2291 behaves like returning response status2292 returns no_content2293 behaves like track event2294 behaves like a package tracking event2295 creates a gitlab tracking event create_tag2296 with already existing tag2297 reuses existing tag2298 returns a valid response2299 behaves like returning response status2300 returns no_content2301 with ActiveRecord::RecordInvalid error2302 behaves like returning response status with error2303 returns bad_request and error message2304 with invalid package name2305 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2306 behaves like returning response status with error2307 returns not_found and error message2308 package_name: "", status: :not_found, error: "404 Not Found"2309 behaves like returning response status with error2310 returns not_found and error message2311 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2312 behaves like returning response status with error2313 returns bad_request and error message2314 with invalid tag name2315 tag_name: "", status: :not_found, error: "404 Not Found"2316 behaves like returning response status with error2317 returns not_found and error message2318 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2319 behaves like returning response status with error2320 returns bad_request and error message2321 with invalid version2322 version: " ", status: :bad_request, error: "\"Version\" not given"2323 behaves like returning response status with error2324 returns bad_request and error message2325 version: "", status: :bad_request, error: "\"Version\" not given"2326 behaves like returning response status with error2327 returns bad_request and error message2328 version: nil, status: :bad_request, error: "\"Version\" not given"2329 behaves like returning response status with error2330 returns bad_request and error message2331 auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok2332 behaves like accept create package tag request2333 with valid package name2334 creates the package tag2335 returns a valid response2336 behaves like returning response status2337 returns no_content2338 behaves like track event2339 behaves like a package tracking event2340 creates a gitlab tracking event create_tag2341 with already existing tag2342 reuses existing tag2343 returns a valid response2344 behaves like returning response status2345 returns no_content2346 with ActiveRecord::RecordInvalid error2347 behaves like returning response status with error2348 returns bad_request and error message2349 with invalid package name2350 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2351 behaves like returning response status with error2352 returns not_found and error message2353 package_name: "", status: :not_found, error: "404 Not Found"2354 behaves like returning response status with error2355 returns not_found and error message2356 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2357 behaves like returning response status with error2358 returns bad_request and error message2359 with invalid tag name2360 tag_name: "", status: :not_found, error: "404 Not Found"2361 behaves like returning response status with error2362 returns not_found and error message2363 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2364 behaves like returning response status with error2365 returns bad_request and error message2366 with invalid version2367 version: " ", status: :bad_request, error: "\"Version\" not given"2368 behaves like returning response status with error2369 returns bad_request and error message2370 version: "", status: :bad_request, error: "\"Version\" not given"2371 behaves like returning response status with error2372 returns bad_request and error message2373 version: nil, status: :bad_request, error: "\"Version\" not given"2374 behaves like returning response status with error2375 returns bad_request and error message2376 auth: :job_token, package_name_type: :unscoped, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok2377 behaves like accept create package tag request2378 with valid package name2379 creates the package tag2380 returns a valid response2381 behaves like returning response status2382 returns no_content2383 behaves like track event2384 behaves like a package tracking event2385 creates a gitlab tracking event create_tag2386 with already existing tag2387 reuses existing tag2388 returns a valid response2389 behaves like returning response status2390 returns no_content2391 with ActiveRecord::RecordInvalid error2392 behaves like returning response status with error2393 returns bad_request and error message2394 with invalid package name2395 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2396 behaves like returning response status with error2397 returns not_found and error message2398 package_name: "", status: :not_found, error: "404 Not Found"2399 behaves like returning response status with error2400 returns not_found and error message2401 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2402 behaves like returning response status with error2403 returns bad_request and error message2404 with invalid tag name2405 tag_name: "", status: :not_found, error: "404 Not Found"2406 behaves like returning response status with error2407 returns not_found and error message2408 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2409 behaves like returning response status with error2410 returns bad_request and error message2411 with invalid version2412 version: " ", status: :bad_request, error: "\"Version\" not given"2413 behaves like returning response status with error2414 returns bad_request and error message2415 version: "", status: :bad_request, error: "\"Version\" not given"2416 behaves like returning response status with error2417 returns bad_request and error message2418 version: nil, status: :bad_request, error: "\"Version\" not given"2419 behaves like returning response status with error2420 returns bad_request and error message2421 auth: :job_token, package_name_type: :non_existing, visibility: :public, user_role: :developer, expected_result: :reject, expected_status: :not_found2422 behaves like returning response status with error2423 returns not_found and error message2424 auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok2425 behaves like accept create package tag request2426 with valid package name2427 creates the package tag2428 returns a valid response2429 behaves like returning response status2430 returns no_content2431 behaves like track event2432 behaves like a package tracking event2433 creates a gitlab tracking event create_tag2434 with already existing tag2435 reuses existing tag2436 returns a valid response2437 behaves like returning response status2438 returns no_content2439 with ActiveRecord::RecordInvalid error2440 behaves like returning response status with error2441 returns bad_request and error message2442 with invalid package name2443 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2444 behaves like returning response status with error2445 returns not_found and error message2446 package_name: "", status: :not_found, error: "404 Not Found"2447 behaves like returning response status with error2448 returns not_found and error message2449 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2450 behaves like returning response status with error2451 returns bad_request and error message2452 with invalid tag name2453 tag_name: "", status: :not_found, error: "404 Not Found"2454 behaves like returning response status with error2455 returns not_found and error message2456 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2457 behaves like returning response status with error2458 returns bad_request and error message2459 with invalid version2460 version: " ", status: :bad_request, error: "\"Version\" not given"2461 behaves like returning response status with error2462 returns bad_request and error message2463 version: "", status: :bad_request, error: "\"Version\" not given"2464 behaves like returning response status with error2465 returns bad_request and error message2466 version: nil, status: :bad_request, error: "\"Version\" not given"2467 behaves like returning response status with error2468 returns bad_request and error message2469 auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok2470 behaves like accept create package tag request2471 with valid package name2472 creates the package tag2473 returns a valid response2474 behaves like returning response status2475 returns no_content2476 behaves like track event2477 behaves like a package tracking event2478 creates a gitlab tracking event create_tag2479 with already existing tag2480 reuses existing tag2481 returns a valid response2482 behaves like returning response status2483 returns no_content2484 with ActiveRecord::RecordInvalid error2485 behaves like returning response status with error2486 returns bad_request and error message2487 with invalid package name2488 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2489 behaves like returning response status with error2490 returns not_found and error message2491 package_name: "", status: :not_found, error: "404 Not Found"2492 behaves like returning response status with error2493 returns not_found and error message2494 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2495 behaves like returning response status with error2496 returns bad_request and error message2497 with invalid tag name2498 tag_name: "", status: :not_found, error: "404 Not Found"2499 behaves like returning response status with error2500 returns not_found and error message2501 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2502 behaves like returning response status with error2503 returns bad_request and error message2504 with invalid version2505 version: " ", status: :bad_request, error: "\"Version\" not given"2506 behaves like returning response status with error2507 returns bad_request and error message2508 version: "", status: :bad_request, error: "\"Version\" not given"2509 behaves like returning response status with error2510 returns bad_request and error message2511 version: nil, status: :bad_request, error: "\"Version\" not given"2512 behaves like returning response status with error2513 returns bad_request and error message2514 auth: :job_token, package_name_type: :unscoped, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok2515 behaves like accept create package tag request2516 with valid package name2517 creates the package tag2518 returns a valid response2519 behaves like returning response status2520 returns no_content2521 behaves like track event2522 behaves like a package tracking event2523 creates a gitlab tracking event create_tag2524 with already existing tag2525 reuses existing tag2526 returns a valid response2527 behaves like returning response status2528 returns no_content2529 with ActiveRecord::RecordInvalid error2530 behaves like returning response status with error2531 returns bad_request and error message2532 with invalid package name2533 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2534 behaves like returning response status with error2535 returns not_found and error message2536 package_name: "", status: :not_found, error: "404 Not Found"2537 behaves like returning response status with error2538 returns not_found and error message2539 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2540 behaves like returning response status with error2541 returns bad_request and error message2542 with invalid tag name2543 tag_name: "", status: :not_found, error: "404 Not Found"2544 behaves like returning response status with error2545 returns not_found and error message2546 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2547 behaves like returning response status with error2548 returns bad_request and error message2549 with invalid version2550 version: " ", status: :bad_request, error: "\"Version\" not given"2551 behaves like returning response status with error2552 returns bad_request and error message2553 version: "", status: :bad_request, error: "\"Version\" not given"2554 behaves like returning response status with error2555 returns bad_request and error message2556 version: nil, status: :bad_request, error: "\"Version\" not given"2557 behaves like returning response status with error2558 returns bad_request and error message2559 auth: :job_token, package_name_type: :non_existing, visibility: :private, user_role: :developer, expected_result: :reject, expected_status: :not_found2560 behaves like returning response status with error2561 returns not_found and error message2562 auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok2563 behaves like accept create package tag request2564 with valid package name2565 creates the package tag2566 returns a valid response2567 behaves like returning response status2568 returns no_content2569 behaves like track event2570 behaves like a package tracking event2571 creates a gitlab tracking event create_tag2572 with already existing tag2573 reuses existing tag2574 returns a valid response2575 behaves like returning response status2576 returns no_content2577 with ActiveRecord::RecordInvalid error2578 behaves like returning response status with error2579 returns bad_request and error message2580 with invalid package name2581 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2582 behaves like returning response status with error2583 returns not_found and error message2584 package_name: "", status: :not_found, error: "404 Not Found"2585 behaves like returning response status with error2586 returns not_found and error message2587 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2588 behaves like returning response status with error2589 returns bad_request and error message2590 with invalid tag name2591 tag_name: "", status: :not_found, error: "404 Not Found"2592 behaves like returning response status with error2593 returns not_found and error message2594 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2595 behaves like returning response status with error2596 returns bad_request and error message2597 with invalid version2598 version: " ", status: :bad_request, error: "\"Version\" not given"2599 behaves like returning response status with error2600 returns bad_request and error message2601 version: "", status: :bad_request, error: "\"Version\" not given"2602 behaves like returning response status with error2603 returns bad_request and error message2604 version: nil, status: :bad_request, error: "\"Version\" not given"2605 behaves like returning response status with error2606 returns bad_request and error message2607 auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok2608 behaves like accept create package tag request2609 with valid package name2610 creates the package tag2611 returns a valid response2612 behaves like returning response status2613 returns no_content2614 behaves like track event2615 behaves like a package tracking event2616 creates a gitlab tracking event create_tag2617 with already existing tag2618 reuses existing tag2619 returns a valid response2620 behaves like returning response status2621 returns no_content2622 with ActiveRecord::RecordInvalid error2623 behaves like returning response status with error2624 returns bad_request and error message2625 with invalid package name2626 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2627 behaves like returning response status with error2628 returns not_found and error message2629 package_name: "", status: :not_found, error: "404 Not Found"2630 behaves like returning response status with error2631 returns not_found and error message2632 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2633 behaves like returning response status with error2634 returns bad_request and error message2635 with invalid tag name2636 tag_name: "", status: :not_found, error: "404 Not Found"2637 behaves like returning response status with error2638 returns not_found and error message2639 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2640 behaves like returning response status with error2641 returns bad_request and error message2642 with invalid version2643 version: " ", status: :bad_request, error: "\"Version\" not given"2644 behaves like returning response status with error2645 returns bad_request and error message2646 version: "", status: :bad_request, error: "\"Version\" not given"2647 behaves like returning response status with error2648 returns bad_request and error message2649 version: nil, status: :bad_request, error: "\"Version\" not given"2650 behaves like returning response status with error2651 returns bad_request and error message2652 auth: :job_token, package_name_type: :unscoped, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok2653 behaves like accept create package tag request2654 with valid package name2655 creates the package tag2656 returns a valid response2657 behaves like returning response status2658 returns no_content2659 behaves like track event2660 behaves like a package tracking event2661 creates a gitlab tracking event create_tag2662 with already existing tag2663 reuses existing tag2664 returns a valid response2665 behaves like returning response status2666 returns no_content2667 with ActiveRecord::RecordInvalid error2668 behaves like returning response status with error2669 returns bad_request and error message2670 with invalid package name2671 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2672 behaves like returning response status with error2673 returns not_found and error message2674 package_name: "", status: :not_found, error: "404 Not Found"2675 behaves like returning response status with error2676 returns not_found and error message2677 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2678 behaves like returning response status with error2679 returns bad_request and error message2680 with invalid tag name2681 tag_name: "", status: :not_found, error: "404 Not Found"2682 behaves like returning response status with error2683 returns not_found and error message2684 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2685 behaves like returning response status with error2686 returns bad_request and error message2687 with invalid version2688 version: " ", status: :bad_request, error: "\"Version\" not given"2689 behaves like returning response status with error2690 returns bad_request and error message2691 version: "", status: :bad_request, error: "\"Version\" not given"2692 behaves like returning response status with error2693 returns bad_request and error message2694 version: nil, status: :bad_request, error: "\"Version\" not given"2695 behaves like returning response status with error2696 returns bad_request and error message2697 auth: :job_token, package_name_type: :non_existing, visibility: :internal, user_role: :developer, expected_result: :reject, expected_status: :not_found2698 behaves like returning response status with error2699 returns not_found and error message2700 auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok2701 behaves like accept create package tag request2702 with valid package name2703 creates the package tag2704 returns a valid response2705 behaves like returning response status2706 returns no_content2707 behaves like track event2708 behaves like a package tracking event2709 creates a gitlab tracking event create_tag2710 with already existing tag2711 reuses existing tag2712 returns a valid response2713 behaves like returning response status2714 returns no_content2715 with ActiveRecord::RecordInvalid error2716 behaves like returning response status with error2717 returns bad_request and error message2718 with invalid package name2719 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2720 behaves like returning response status with error2721 returns not_found and error message2722 package_name: "", status: :not_found, error: "404 Not Found"2723 behaves like returning response status with error2724 returns not_found and error message2725 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2726 behaves like returning response status with error2727 returns bad_request and error message2728 with invalid tag name2729 tag_name: "", status: :not_found, error: "404 Not Found"2730 behaves like returning response status with error2731 returns not_found and error message2732 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2733 behaves like returning response status with error2734 returns bad_request and error message2735 with invalid version2736 version: " ", status: :bad_request, error: "\"Version\" not given"2737 behaves like returning response status with error2738 returns bad_request and error message2739 version: "", status: :bad_request, error: "\"Version\" not given"2740 behaves like returning response status with error2741 returns bad_request and error message2742 version: nil, status: :bad_request, error: "\"Version\" not given"2743 behaves like returning response status with error2744 returns bad_request and error message2745 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok2746 behaves like accept create package tag request2747 with valid package name2748 creates the package tag2749 returns a valid response2750 behaves like returning response status2751 returns no_content2752 behaves like track event2753 behaves like a package tracking event2754 creates a gitlab tracking event create_tag2755 with already existing tag2756 reuses existing tag2757 returns a valid response2758 behaves like returning response status2759 returns no_content2760 with ActiveRecord::RecordInvalid error2761 behaves like returning response status with error2762 returns bad_request and error message2763 with invalid package name2764 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2765 behaves like returning response status with error2766 returns not_found and error message2767 package_name: "", status: :not_found, error: "404 Not Found"2768 behaves like returning response status with error2769 returns not_found and error message2770 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2771 behaves like returning response status with error2772 returns bad_request and error message2773 with invalid tag name2774 tag_name: "", status: :not_found, error: "404 Not Found"2775 behaves like returning response status with error2776 returns not_found and error message2777 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2778 behaves like returning response status with error2779 returns bad_request and error message2780 with invalid version2781 version: " ", status: :bad_request, error: "\"Version\" not given"2782 behaves like returning response status with error2783 returns bad_request and error message2784 version: "", status: :bad_request, error: "\"Version\" not given"2785 behaves like returning response status with error2786 returns bad_request and error message2787 version: nil, status: :bad_request, error: "\"Version\" not given"2788 behaves like returning response status with error2789 returns bad_request and error message2790 auth: :deploy_token, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok2791 behaves like accept create package tag request2792 with valid package name2793 creates the package tag2794 returns a valid response2795 behaves like returning response status2796 returns no_content2797 behaves like track event2798 behaves like a package tracking event2799 creates a gitlab tracking event create_tag2800 with already existing tag2801 reuses existing tag2802 returns a valid response2803 behaves like returning response status2804 returns no_content2805 with ActiveRecord::RecordInvalid error2806 behaves like returning response status with error2807 returns bad_request and error message2808 with invalid package name2809 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2810 behaves like returning response status with error2811 returns not_found and error message2812 package_name: "", status: :not_found, error: "404 Not Found"2813 behaves like returning response status with error2814 returns not_found and error message2815 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2816 behaves like returning response status with error2817 returns bad_request and error message2818 with invalid tag name2819 tag_name: "", status: :not_found, error: "404 Not Found"2820 behaves like returning response status with error2821 returns not_found and error message2822 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2823 behaves like returning response status with error2824 returns bad_request and error message2825 with invalid version2826 version: " ", status: :bad_request, error: "\"Version\" not given"2827 behaves like returning response status with error2828 returns bad_request and error message2829 version: "", status: :bad_request, error: "\"Version\" not given"2830 behaves like returning response status with error2831 returns bad_request and error message2832 version: nil, status: :bad_request, error: "\"Version\" not given"2833 behaves like returning response status with error2834 returns bad_request and error message2835 auth: :deploy_token, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found2836 behaves like returning response status with error2837 returns not_found and error message2838 auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok2839 behaves like accept create package tag request2840 with valid package name2841 creates the package tag2842 returns a valid response2843 behaves like returning response status2844 returns no_content2845 behaves like track event2846 behaves like a package tracking event2847 creates a gitlab tracking event create_tag2848 with already existing tag2849 reuses existing tag2850 returns a valid response2851 behaves like returning response status2852 returns no_content2853 with ActiveRecord::RecordInvalid error2854 behaves like returning response status with error2855 returns bad_request and error message2856 with invalid package name2857 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2858 behaves like returning response status with error2859 returns not_found and error message2860 package_name: "", status: :not_found, error: "404 Not Found"2861 behaves like returning response status with error2862 returns not_found and error message2863 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2864 behaves like returning response status with error2865 returns bad_request and error message2866 with invalid tag name2867 tag_name: "", status: :not_found, error: "404 Not Found"2868 behaves like returning response status with error2869 returns not_found and error message2870 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2871 behaves like returning response status with error2872 returns bad_request and error message2873 with invalid version2874 version: " ", status: :bad_request, error: "\"Version\" not given"2875 behaves like returning response status with error2876 returns bad_request and error message2877 version: "", status: :bad_request, error: "\"Version\" not given"2878 behaves like returning response status with error2879 returns bad_request and error message2880 version: nil, status: :bad_request, error: "\"Version\" not given"2881 behaves like returning response status with error2882 returns bad_request and error message2883 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok2884 behaves like accept create package tag request2885 with valid package name2886 creates the package tag2887 returns a valid response2888 behaves like returning response status2889 returns no_content2890 behaves like track event2891 behaves like a package tracking event2892 creates a gitlab tracking event create_tag2893 with already existing tag2894 reuses existing tag2895 returns a valid response2896 behaves like returning response status2897 returns no_content2898 with ActiveRecord::RecordInvalid error2899 behaves like returning response status with error2900 returns bad_request and error message2901 with invalid package name2902 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2903 behaves like returning response status with error2904 returns not_found and error message2905 package_name: "", status: :not_found, error: "404 Not Found"2906 behaves like returning response status with error2907 returns not_found and error message2908 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2909 behaves like returning response status with error2910 returns bad_request and error message2911 with invalid tag name2912 tag_name: "", status: :not_found, error: "404 Not Found"2913 behaves like returning response status with error2914 returns not_found and error message2915 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2916 behaves like returning response status with error2917 returns bad_request and error message2918 with invalid version2919 version: " ", status: :bad_request, error: "\"Version\" not given"2920 behaves like returning response status with error2921 returns bad_request and error message2922 version: "", status: :bad_request, error: "\"Version\" not given"2923 behaves like returning response status with error2924 returns bad_request and error message2925 version: nil, status: :bad_request, error: "\"Version\" not given"2926 behaves like returning response status with error2927 returns bad_request and error message2928 auth: :deploy_token, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok2929 behaves like accept create package tag request2930 with valid package name2931 creates the package tag2932 returns a valid response2933 behaves like returning response status2934 returns no_content2935 behaves like track event2936 behaves like a package tracking event2937 creates a gitlab tracking event create_tag2938 with already existing tag2939 reuses existing tag2940 returns a valid response2941 behaves like returning response status2942 returns no_content2943 with ActiveRecord::RecordInvalid error2944 behaves like returning response status with error2945 returns bad_request and error message2946 with invalid package name2947 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2948 behaves like returning response status with error2949 returns not_found and error message2950 package_name: "", status: :not_found, error: "404 Not Found"2951 behaves like returning response status with error2952 returns not_found and error message2953 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"2954 behaves like returning response status with error2955 returns bad_request and error message2956 with invalid tag name2957 tag_name: "", status: :not_found, error: "404 Not Found"2958 behaves like returning response status with error2959 returns not_found and error message2960 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"2961 behaves like returning response status with error2962 returns bad_request and error message2963 with invalid version2964 version: " ", status: :bad_request, error: "\"Version\" not given"2965 behaves like returning response status with error2966 returns bad_request and error message2967 version: "", status: :bad_request, error: "\"Version\" not given"2968 behaves like returning response status with error2969 returns bad_request and error message2970 version: nil, status: :bad_request, error: "\"Version\" not given"2971 behaves like returning response status with error2972 returns bad_request and error message2973 auth: :deploy_token, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found2974 behaves like returning response status with error2975 returns not_found and error message2976 auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok2977 behaves like accept create package tag request2978 with valid package name2979 creates the package tag2980 returns a valid response2981 behaves like returning response status2982 returns no_content2983 behaves like track event2984 behaves like a package tracking event2985 creates a gitlab tracking event create_tag2986 with already existing tag2987 reuses existing tag2988 returns a valid response2989 behaves like returning response status2990 returns no_content2991 with ActiveRecord::RecordInvalid error2992 behaves like returning response status with error2993 returns bad_request and error message2994 with invalid package name2995 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/2996 behaves like returning response status with error2997 returns not_found and error message2998 package_name: "", status: :not_found, error: "404 Not Found"2999 behaves like returning response status with error3000 returns not_found and error message3001 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3002 behaves like returning response status with error3003 returns bad_request and error message3004 with invalid tag name3005 tag_name: "", status: :not_found, error: "404 Not Found"3006 behaves like returning response status with error3007 returns not_found and error message3008 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3009 behaves like returning response status with error3010 returns bad_request and error message3011 with invalid version3012 version: " ", status: :bad_request, error: "\"Version\" not given"3013 behaves like returning response status with error3014 returns bad_request and error message3015 version: "", status: :bad_request, error: "\"Version\" not given"3016 behaves like returning response status with error3017 returns bad_request and error message3018 version: nil, status: :bad_request, error: "\"Version\" not given"3019 behaves like returning response status with error3020 returns bad_request and error message3021 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok3022 behaves like accept create package tag request3023 with valid package name3024 creates the package tag3025 returns a valid response3026 behaves like returning response status3027 returns no_content3028 behaves like track event3029 behaves like a package tracking event3030 creates a gitlab tracking event create_tag3031 with already existing tag3032 reuses existing tag3033 returns a valid response3034 behaves like returning response status3035 returns no_content3036 with ActiveRecord::RecordInvalid error3037 behaves like returning response status with error3038 returns bad_request and error message3039 with invalid package name3040 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/3041 behaves like returning response status with error3042 returns not_found and error message3043 package_name: "", status: :not_found, error: "404 Not Found"3044 behaves like returning response status with error3045 returns not_found and error message3046 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3047 behaves like returning response status with error3048 returns bad_request and error message3049 with invalid tag name3050 tag_name: "", status: :not_found, error: "404 Not Found"3051 behaves like returning response status with error3052 returns not_found and error message3053 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3054 behaves like returning response status with error3055 returns bad_request and error message3056 with invalid version3057 version: " ", status: :bad_request, error: "\"Version\" not given"3058 behaves like returning response status with error3059 returns bad_request and error message3060 version: "", status: :bad_request, error: "\"Version\" not given"3061 behaves like returning response status with error3062 returns bad_request and error message3063 version: nil, status: :bad_request, error: "\"Version\" not given"3064 behaves like returning response status with error3065 returns bad_request and error message3066 auth: :deploy_token, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok3067 behaves like accept create package tag request3068 with valid package name3069 creates the package tag3070 returns a valid response3071 behaves like returning response status3072 returns no_content3073 behaves like track event3074 behaves like a package tracking event3075 creates a gitlab tracking event create_tag3076 with already existing tag3077 reuses existing tag3078 returns a valid response3079 behaves like returning response status3080 returns no_content3081 with ActiveRecord::RecordInvalid error3082 behaves like returning response status with error3083 returns bad_request and error message3084 with invalid package name3085 package_name: "unknown", status: :not_found, error: /\A(Package|Project) not found\z/3086 behaves like returning response status with error3087 returns not_found and error message3088 package_name: "", status: :not_found, error: "404 Not Found"3089 behaves like returning response status with error3090 returns not_found and error message3091 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3092 behaves like returning response status with error3093 returns bad_request and error message3094 with invalid tag name3095 tag_name: "", status: :not_found, error: "404 Not Found"3096 behaves like returning response status with error3097 returns not_found and error message3098 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3099 behaves like returning response status with error3100 returns bad_request and error message3101 with invalid version3102 version: " ", status: :bad_request, error: "\"Version\" not given"3103 behaves like returning response status with error3104 returns bad_request and error message3105 version: "", status: :bad_request, error: "\"Version\" not given"3106 behaves like returning response status with error3107 returns bad_request and error message3108 version: nil, status: :bad_request, error: "\"Version\" not given"3109 behaves like returning response status with error3110 returns bad_request and error message3111 auth: :deploy_token, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found3112 behaves like returning response status with error3113 returns not_found and error message3114 behaves like enqueue a worker to sync a metadata cache3115 enqueues a worker to create a metadata cache3116 with npm_metadata_cache disabled3117 behaves like does not enqueue a worker to sync a metadata cache3118 does not enqueue a worker to sync a metadata cache3119 DELETE /api/v4/projects/:id/packages/npm/-/package/*package_name/dist-tags/:tag3120 behaves like handling delete dist tag requests3121 with a group namespace3122 behaves like handling all conditions3123 behaves like handling different package names, visibilities and user roles for tags create or delete3124 auth: nil, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized3125 behaves like reject delete package tag request3126 behaves like returning response status3127 returns unauthorized3128 auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized3129 behaves like reject delete package tag request3130 behaves like returning response status3131 returns unauthorized3132 auth: nil, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized3133 behaves like reject delete package tag request3134 behaves like returning response status3135 returns unauthorized3136 auth: nil, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized3137 behaves like reject delete package tag request3138 behaves like returning response status3139 returns unauthorized3140 auth: nil, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized3141 behaves like reject delete package tag request3142 behaves like returning response status3143 returns unauthorized3144 auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized3145 behaves like reject delete package tag request3146 behaves like returning response status3147 returns unauthorized3148 auth: nil, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized3149 behaves like reject delete package tag request3150 behaves like returning response status3151 returns unauthorized3152 auth: nil, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized3153 behaves like reject delete package tag request3154 behaves like returning response status3155 returns unauthorized3156 auth: nil, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized3157 behaves like reject delete package tag request3158 behaves like returning response status3159 returns unauthorized3160 auth: nil, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized3161 behaves like reject delete package tag request3162 behaves like returning response status3163 returns unauthorized3164 auth: nil, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized3165 behaves like reject delete package tag request3166 behaves like returning response status3167 returns unauthorized3168 auth: nil, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized3169 behaves like reject delete package tag request3170 behaves like returning response status3171 returns unauthorized3172 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden3173 behaves like reject delete package tag request3174 behaves like returning response status3175 returns forbidden3176 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok3177 behaves like accept delete package tag request3178 with valid package name3179 returns a valid response3180 destroy the package tag3181 behaves like returning response status3182 returns no_content3183 behaves like track event3184 behaves like a package tracking event3185 creates a gitlab tracking event delete_tag3186 with tag from other package3187 behaves like returning response status3188 returns not_found3189 with ActiveRecord::RecordInvalid error3190 behaves like returning response status with error3191 returns bad_request and error message3192 with invalid package name3193 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3194 behaves like returning response status with error3195 returns not_found and error message3196 package_name: "", status: :not_found, error: "404 Not Found"3197 behaves like returning response status with error3198 returns not_found and error message3199 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3200 behaves like returning response status with error3201 returns bad_request and error message3202 with invalid tag name3203 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3204 behaves like returning response status with error3205 returns not_found and error message3206 tag_name: "", status: :not_found, error: "404 Not Found"3207 behaves like returning response status with error3208 returns not_found and error message3209 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3210 behaves like returning response status with error3211 returns bad_request and error message3212 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden3213 behaves like reject delete package tag request3214 behaves like returning response status3215 returns forbidden3216 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok3217 behaves like accept delete package tag request3218 with valid package name3219 returns a valid response3220 destroy the package tag3221 behaves like returning response status3222 returns no_content3223 behaves like track event3224 behaves like a package tracking event3225 creates a gitlab tracking event delete_tag3226 with tag from other package3227 behaves like returning response status3228 returns not_found3229 with ActiveRecord::RecordInvalid error3230 behaves like returning response status with error3231 returns bad_request and error message3232 with invalid package name3233 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3234 behaves like returning response status with error3235 returns not_found and error message3236 package_name: "", status: :not_found, error: "404 Not Found"3237 behaves like returning response status with error3238 returns not_found and error message3239 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3240 behaves like returning response status with error3241 returns bad_request and error message3242 with invalid tag name3243 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3244 behaves like returning response status with error3245 returns not_found and error message3246 tag_name: "", status: :not_found, error: "404 Not Found"3247 behaves like returning response status with error3248 returns not_found and error message3249 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3250 behaves like returning response status with error3251 returns bad_request and error message3252 auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden3253 behaves like reject delete package tag request3254 behaves like returning response status3255 returns forbidden3256 auth: :oauth, package_name_type: :unscoped, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok3257 behaves like accept delete package tag request3258 with valid package name3259 returns a valid response3260 destroy the package tag3261 behaves like returning response status3262 returns no_content3263 behaves like track event3264 behaves like a package tracking event3265 creates a gitlab tracking event delete_tag3266 with tag from other package3267 behaves like returning response status3268 returns not_found3269 with ActiveRecord::RecordInvalid error3270 behaves like returning response status with error3271 returns bad_request and error message3272 with invalid package name3273 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3274 behaves like returning response status with error3275 returns not_found and error message3276 package_name: "", status: :not_found, error: "404 Not Found"3277 behaves like returning response status with error3278 returns not_found and error message3279 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3280 behaves like returning response status with error3281 returns bad_request and error message3282 with invalid tag name3283 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3284 behaves like returning response status with error3285 returns not_found and error message3286 tag_name: "", status: :not_found, error: "404 Not Found"3287 behaves like returning response status with error3288 returns not_found and error message3289 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3290 behaves like returning response status with error3291 returns bad_request and error message3292 auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden3293 behaves like reject delete package tag request3294 behaves like returning response status3295 returns forbidden3296 auth: :oauth, package_name_type: :non_existing, visibility: :public, user_role: :maintainer, expected_result: :reject, expected_status: :not_found3297 behaves like returning response status with error3298 returns not_found and error message3299 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden3300 behaves like reject delete package tag request3301 behaves like returning response status3302 returns forbidden3303 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok3304 behaves like accept delete package tag request3305 with valid package name3306 returns a valid response3307 destroy the package tag3308 behaves like returning response status3309 returns no_content3310 behaves like track event3311 behaves like a package tracking event3312 creates a gitlab tracking event delete_tag3313 with tag from other package3314 behaves like returning response status3315 returns not_found3316 with ActiveRecord::RecordInvalid error3317 behaves like returning response status with error3318 returns bad_request and error message3319 with invalid package name3320 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3321 behaves like returning response status with error3322 returns not_found and error message3323 package_name: "", status: :not_found, error: "404 Not Found"3324 behaves like returning response status with error3325 returns not_found and error message3326 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3327 behaves like returning response status with error3328 returns bad_request and error message3329 with invalid tag name3330 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3331 behaves like returning response status with error3332 returns not_found and error message3333 tag_name: "", status: :not_found, error: "404 Not Found"3334 behaves like returning response status with error3335 returns not_found and error message3336 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3337 behaves like returning response status with error3338 returns bad_request and error message3339 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden3340 behaves like reject delete package tag request3341 behaves like returning response status3342 returns forbidden3343 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok3344 behaves like accept delete package tag request3345 with valid package name3346 returns a valid response3347 destroy the package tag3348 behaves like returning response status3349 returns no_content3350 behaves like track event3351 behaves like a package tracking event3352 creates a gitlab tracking event delete_tag3353 with tag from other package3354 behaves like returning response status3355 returns not_found3356 with ActiveRecord::RecordInvalid error3357 behaves like returning response status with error3358 returns bad_request and error message3359 with invalid package name3360 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3361 behaves like returning response status with error3362 returns not_found and error message3363 package_name: "", status: :not_found, error: "404 Not Found"3364 behaves like returning response status with error3365 returns not_found and error message3366 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3367 behaves like returning response status with error3368 returns bad_request and error message3369 with invalid tag name3370 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3371 behaves like returning response status with error3372 returns not_found and error message3373 tag_name: "", status: :not_found, error: "404 Not Found"3374 behaves like returning response status with error3375 returns not_found and error message3376 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3377 behaves like returning response status with error3378 returns bad_request and error message3379 auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden3380 behaves like reject delete package tag request3381 behaves like returning response status3382 returns forbidden3383 auth: :oauth, package_name_type: :unscoped, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok3384 behaves like accept delete package tag request3385 with valid package name3386 returns a valid response3387 destroy the package tag3388 behaves like returning response status3389 returns no_content3390 behaves like track event3391 behaves like a package tracking event3392 creates a gitlab tracking event delete_tag3393 with tag from other package3394 behaves like returning response status3395 returns not_found3396 with ActiveRecord::RecordInvalid error3397 behaves like returning response status with error3398 returns bad_request and error message3399 with invalid package name3400 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3401 behaves like returning response status with error3402 returns not_found and error message3403 package_name: "", status: :not_found, error: "404 Not Found"3404 behaves like returning response status with error3405 returns not_found and error message3406 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3407 behaves like returning response status with error3408 returns bad_request and error message3409 with invalid tag name3410 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3411 behaves like returning response status with error3412 returns not_found and error message3413 tag_name: "", status: :not_found, error: "404 Not Found"3414 behaves like returning response status with error3415 returns not_found and error message3416 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3417 behaves like returning response status with error3418 returns bad_request and error message3419 auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden3420 behaves like reject delete package tag request3421 behaves like returning response status3422 returns forbidden3423 auth: :oauth, package_name_type: :non_existing, visibility: :private, user_role: :maintainer, expected_result: :reject, expected_status: :not_found3424 behaves like returning response status with error3425 returns not_found and error message3426 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden3427 behaves like reject delete package tag request3428 behaves like returning response status3429 returns forbidden3430 auth: :oauth, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok3431 behaves like accept delete package tag request3432 with valid package name3433 returns a valid response3434 destroy the package tag3435 behaves like returning response status3436 returns no_content3437 behaves like track event3438 behaves like a package tracking event3439 creates a gitlab tracking event delete_tag3440 with tag from other package3441 behaves like returning response status3442 returns not_found3443 with ActiveRecord::RecordInvalid error3444 behaves like returning response status with error3445 returns bad_request and error message3446 with invalid package name3447 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3448 behaves like returning response status with error3449 returns not_found and error message3450 package_name: "", status: :not_found, error: "404 Not Found"3451 behaves like returning response status with error3452 returns not_found and error message3453 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3454 behaves like returning response status with error3455 returns bad_request and error message3456 with invalid tag name3457 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3458 behaves like returning response status with error3459 returns not_found and error message3460 tag_name: "", status: :not_found, error: "404 Not Found"3461 behaves like returning response status with error3462 returns not_found and error message3463 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3464 behaves like returning response status with error3465 returns bad_request and error message3466 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden3467 behaves like reject delete package tag request3468 behaves like returning response status3469 returns forbidden3470 auth: :oauth, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok3471 behaves like accept delete package tag request3472 with valid package name3473 returns a valid response3474 destroy the package tag3475 behaves like returning response status3476 returns no_content3477 behaves like track event3478 behaves like a package tracking event3479 creates a gitlab tracking event delete_tag3480 with tag from other package3481 behaves like returning response status3482 returns not_found3483 with ActiveRecord::RecordInvalid error3484 behaves like returning response status with error3485 returns bad_request and error message3486 with invalid package name3487 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3488 behaves like returning response status with error3489 returns not_found and error message3490 package_name: "", status: :not_found, error: "404 Not Found"3491 behaves like returning response status with error3492 returns not_found and error message3493 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3494 behaves like returning response status with error3495 returns bad_request and error message3496 with invalid tag name3497 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3498 behaves like returning response status with error3499 returns not_found and error message3500 tag_name: "", status: :not_found, error: "404 Not Found"3501 behaves like returning response status with error3502 returns not_found and error message3503 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3504 behaves like returning response status with error3505 returns bad_request and error message3506 auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden3507 behaves like reject delete package tag request3508 behaves like returning response status3509 returns forbidden3510 auth: :oauth, package_name_type: :unscoped, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok3511 behaves like accept delete package tag request3512 with valid package name3513 returns a valid response3514 destroy the package tag3515 behaves like returning response status3516 returns no_content3517 behaves like track event3518 behaves like a package tracking event3519 creates a gitlab tracking event delete_tag3520 with tag from other package3521 behaves like returning response status3522 returns not_found3523 with ActiveRecord::RecordInvalid error3524 behaves like returning response status with error3525 returns bad_request and error message3526 with invalid package name3527 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3528 behaves like returning response status with error3529 returns not_found and error message3530 package_name: "", status: :not_found, error: "404 Not Found"3531 behaves like returning response status with error3532 returns not_found and error message3533 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3534 behaves like returning response status with error3535 returns bad_request and error message3536 with invalid tag name3537 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3538 behaves like returning response status with error3539 returns not_found and error message3540 tag_name: "", status: :not_found, error: "404 Not Found"3541 behaves like returning response status with error3542 returns not_found and error message3543 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3544 behaves like returning response status with error3545 returns bad_request and error message3546 auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden3547 behaves like reject delete package tag request3548 behaves like returning response status3549 returns forbidden3550 auth: :oauth, package_name_type: :non_existing, visibility: :internal, user_role: :maintainer, expected_result: :reject, expected_status: :not_found3551 behaves like returning response status with error3552 returns not_found and error message3553 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden3554 behaves like reject delete package tag request3555 behaves like returning response status3556 returns forbidden3557 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok3558 behaves like accept delete package tag request3559 with valid package name3560 returns a valid response3561 destroy the package tag3562 behaves like returning response status3563 returns no_content3564 behaves like track event3565 behaves like a package tracking event3566 creates a gitlab tracking event delete_tag3567 with tag from other package3568 behaves like returning response status3569 returns not_found3570 with ActiveRecord::RecordInvalid error3571 behaves like returning response status with error3572 returns bad_request and error message3573 with invalid package name3574 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3575 behaves like returning response status with error3576 returns not_found and error message3577 package_name: "", status: :not_found, error: "404 Not Found"3578 behaves like returning response status with error3579 returns not_found and error message3580 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3581 behaves like returning response status with error3582 returns bad_request and error message3583 with invalid tag name3584 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3585 behaves like returning response status with error3586 returns not_found and error message3587 tag_name: "", status: :not_found, error: "404 Not Found"3588 behaves like returning response status with error3589 returns not_found and error message3590 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3591 behaves like returning response status with error3592 returns bad_request and error message3593 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden3594 behaves like reject delete package tag request3595 behaves like returning response status3596 returns forbidden3597 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok3598 behaves like accept delete package tag request3599 with valid package name3600 returns a valid response3601 destroy the package tag3602 behaves like returning response status3603 returns no_content3604 behaves like track event3605 behaves like a package tracking event3606 creates a gitlab tracking event delete_tag3607 with tag from other package3608 behaves like returning response status3609 returns not_found3610 with ActiveRecord::RecordInvalid error3611 behaves like returning response status with error3612 returns bad_request and error message3613 with invalid package name3614 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3615 behaves like returning response status with error3616 returns not_found and error message3617 package_name: "", status: :not_found, error: "404 Not Found"3618 behaves like returning response status with error3619 returns not_found and error message3620 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3621 behaves like returning response status with error3622 returns bad_request and error message3623 with invalid tag name3624 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3625 behaves like returning response status with error3626 returns not_found and error message3627 tag_name: "", status: :not_found, error: "404 Not Found"3628 behaves like returning response status with error3629 returns not_found and error message3630 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3631 behaves like returning response status with error3632 returns bad_request and error message3633 auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden3634 behaves like reject delete package tag request3635 behaves like returning response status3636 returns forbidden3637 auth: :personal_access_token, package_name_type: :unscoped, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok3638 behaves like accept delete package tag request3639 with valid package name3640 returns a valid response3641 destroy the package tag3642 behaves like returning response status3643 returns no_content3644 behaves like track event3645 behaves like a package tracking event3646 creates a gitlab tracking event delete_tag3647 with tag from other package3648 behaves like returning response status3649 returns not_found3650 with ActiveRecord::RecordInvalid error3651 behaves like returning response status with error3652 returns bad_request and error message3653 with invalid package name3654 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3655 behaves like returning response status with error3656 returns not_found and error message3657 package_name: "", status: :not_found, error: "404 Not Found"3658 behaves like returning response status with error3659 returns not_found and error message3660 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3661 behaves like returning response status with error3662 returns bad_request and error message3663 with invalid tag name3664 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3665 behaves like returning response status with error3666 returns not_found and error message3667 tag_name: "", status: :not_found, error: "404 Not Found"3668 behaves like returning response status with error3669 returns not_found and error message3670 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3671 behaves like returning response status with error3672 returns bad_request and error message3673 auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :guest, expected_result: :reject, expected_status: :forbidden3674 behaves like reject delete package tag request3675 behaves like returning response status3676 returns forbidden3677 auth: :personal_access_token, package_name_type: :non_existing, visibility: :public, user_role: :maintainer, expected_result: :reject, expected_status: :not_found3678 behaves like returning response status with error3679 returns not_found and error message3680 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden3681 behaves like reject delete package tag request3682 behaves like returning response status3683 returns forbidden3684 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok3685 behaves like accept delete package tag request3686 with valid package name3687 returns a valid response3688 destroy the package tag3689 behaves like returning response status3690 returns no_content3691 behaves like track event3692 behaves like a package tracking event3693 creates a gitlab tracking event delete_tag3694 with tag from other package3695 behaves like returning response status3696 returns not_found3697 with ActiveRecord::RecordInvalid error3698 behaves like returning response status with error3699 returns bad_request and error message3700 with invalid package name3701 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3702 behaves like returning response status with error3703 returns not_found and error message3704 package_name: "", status: :not_found, error: "404 Not Found"3705 behaves like returning response status with error3706 returns not_found and error message3707 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3708 behaves like returning response status with error3709 returns bad_request and error message3710 with invalid tag name3711 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3712 behaves like returning response status with error3713 returns not_found and error message3714 tag_name: "", status: :not_found, error: "404 Not Found"3715 behaves like returning response status with error3716 returns not_found and error message3717 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3718 behaves like returning response status with error3719 returns bad_request and error message3720 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden3721 behaves like reject delete package tag request3722 behaves like returning response status3723 returns forbidden3724 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok3725 behaves like accept delete package tag request3726 with valid package name3727 returns a valid response3728 destroy the package tag3729 behaves like returning response status3730 returns no_content3731 behaves like track event3732 behaves like a package tracking event3733 creates a gitlab tracking event delete_tag3734 with tag from other package3735 behaves like returning response status3736 returns not_found3737 with ActiveRecord::RecordInvalid error3738 behaves like returning response status with error3739 returns bad_request and error message3740 with invalid package name3741 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3742 behaves like returning response status with error3743 returns not_found and error message3744 package_name: "", status: :not_found, error: "404 Not Found"3745 behaves like returning response status with error3746 returns not_found and error message3747 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3748 behaves like returning response status with error3749 returns bad_request and error message3750 with invalid tag name3751 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3752 behaves like returning response status with error3753 returns not_found and error message3754 tag_name: "", status: :not_found, error: "404 Not Found"3755 behaves like returning response status with error3756 returns not_found and error message3757 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3758 behaves like returning response status with error3759 returns bad_request and error message3760 auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden3761 behaves like reject delete package tag request3762 behaves like returning response status3763 returns forbidden3764 auth: :personal_access_token, package_name_type: :unscoped, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok3765 behaves like accept delete package tag request3766 with valid package name3767 returns a valid response3768 destroy the package tag3769 behaves like returning response status3770 returns no_content3771 behaves like track event3772 behaves like a package tracking event3773 creates a gitlab tracking event delete_tag3774 with tag from other package3775 behaves like returning response status3776 returns not_found3777 with ActiveRecord::RecordInvalid error3778 behaves like returning response status with error3779 returns bad_request and error message3780 with invalid package name3781 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3782 behaves like returning response status with error3783 returns not_found and error message3784 package_name: "", status: :not_found, error: "404 Not Found"3785 behaves like returning response status with error3786 returns not_found and error message3787 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3788 behaves like returning response status with error3789 returns bad_request and error message3790 with invalid tag name3791 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3792 behaves like returning response status with error3793 returns not_found and error message3794 tag_name: "", status: :not_found, error: "404 Not Found"3795 behaves like returning response status with error3796 returns not_found and error message3797 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3798 behaves like returning response status with error3799 returns bad_request and error message3800 auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden3801 behaves like reject delete package tag request3802 behaves like returning response status3803 returns forbidden3804 auth: :personal_access_token, package_name_type: :non_existing, visibility: :private, user_role: :maintainer, expected_result: :reject, expected_status: :not_found3805 behaves like returning response status with error3806 returns not_found and error message3807 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden3808 behaves like reject delete package tag request3809 behaves like returning response status3810 returns forbidden3811 auth: :personal_access_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok3812 behaves like accept delete package tag request3813 with valid package name3814 returns a valid response3815 destroy the package tag3816 behaves like returning response status3817 returns no_content3818 behaves like track event3819 behaves like a package tracking event3820 creates a gitlab tracking event delete_tag3821 with tag from other package3822 behaves like returning response status3823 returns not_found3824 with ActiveRecord::RecordInvalid error3825 behaves like returning response status with error3826 returns bad_request and error message3827 with invalid package name3828 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3829 behaves like returning response status with error3830 returns not_found and error message3831 package_name: "", status: :not_found, error: "404 Not Found"3832 behaves like returning response status with error3833 returns not_found and error message3834 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3835 behaves like returning response status with error3836 returns bad_request and error message3837 with invalid tag name3838 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3839 behaves like returning response status with error3840 returns not_found and error message3841 tag_name: "", status: :not_found, error: "404 Not Found"3842 behaves like returning response status with error3843 returns not_found and error message3844 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3845 behaves like returning response status with error3846 returns bad_request and error message3847 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden3848 behaves like reject delete package tag request3849 behaves like returning response status3850 returns forbidden3851 auth: :personal_access_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok3852 behaves like accept delete package tag request3853 with valid package name3854 returns a valid response3855 destroy the package tag3856 behaves like returning response status3857 returns no_content3858 behaves like track event3859 behaves like a package tracking event3860 creates a gitlab tracking event delete_tag3861 with tag from other package3862 behaves like returning response status3863 returns not_found3864 with ActiveRecord::RecordInvalid error3865 behaves like returning response status with error3866 returns bad_request and error message3867 with invalid package name3868 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3869 behaves like returning response status with error3870 returns not_found and error message3871 package_name: "", status: :not_found, error: "404 Not Found"3872 behaves like returning response status with error3873 returns not_found and error message3874 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3875 behaves like returning response status with error3876 returns bad_request and error message3877 with invalid tag name3878 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3879 behaves like returning response status with error3880 returns not_found and error message3881 tag_name: "", status: :not_found, error: "404 Not Found"3882 behaves like returning response status with error3883 returns not_found and error message3884 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3885 behaves like returning response status with error3886 returns bad_request and error message3887 auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden3888 behaves like reject delete package tag request3889 behaves like returning response status3890 returns forbidden3891 auth: :personal_access_token, package_name_type: :unscoped, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok3892 behaves like accept delete package tag request3893 with valid package name3894 returns a valid response3895 destroy the package tag3896 behaves like returning response status3897 returns no_content3898 behaves like track event3899 behaves like a package tracking event3900 creates a gitlab tracking event delete_tag3901 with tag from other package3902 behaves like returning response status3903 returns not_found3904 with ActiveRecord::RecordInvalid error3905 behaves like returning response status with error3906 returns bad_request and error message3907 with invalid package name3908 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3909 behaves like returning response status with error3910 returns not_found and error message3911 package_name: "", status: :not_found, error: "404 Not Found"3912 behaves like returning response status with error3913 returns not_found and error message3914 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3915 behaves like returning response status with error3916 returns bad_request and error message3917 with invalid tag name3918 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3919 behaves like returning response status with error3920 returns not_found and error message3921 tag_name: "", status: :not_found, error: "404 Not Found"3922 behaves like returning response status with error3923 returns not_found and error message3924 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3925 behaves like returning response status with error3926 returns bad_request and error message3927 auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :guest, expected_result: :reject, expected_status: :forbidden3928 behaves like reject delete package tag request3929 behaves like returning response status3930 returns forbidden3931 auth: :personal_access_token, package_name_type: :non_existing, visibility: :internal, user_role: :maintainer, expected_result: :reject, expected_status: :not_found3932 behaves like returning response status with error3933 returns not_found and error message3934 auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok3935 behaves like accept delete package tag request3936 with valid package name3937 returns a valid response3938 destroy the package tag3939 behaves like returning response status3940 returns no_content3941 behaves like track event3942 behaves like a package tracking event3943 creates a gitlab tracking event delete_tag3944 with tag from other package3945 behaves like returning response status3946 returns not_found3947 with ActiveRecord::RecordInvalid error3948 behaves like returning response status with error3949 returns bad_request and error message3950 with invalid package name3951 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3952 behaves like returning response status with error3953 returns not_found and error message3954 package_name: "", status: :not_found, error: "404 Not Found"3955 behaves like returning response status with error3956 returns not_found and error message3957 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3958 behaves like returning response status with error3959 returns bad_request and error message3960 with invalid tag name3961 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3962 behaves like returning response status with error3963 returns not_found and error message3964 tag_name: "", status: :not_found, error: "404 Not Found"3965 behaves like returning response status with error3966 returns not_found and error message3967 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"3968 behaves like returning response status with error3969 returns bad_request and error message3970 auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok3971 behaves like accept delete package tag request3972 with valid package name3973 returns a valid response3974 destroy the package tag3975 behaves like returning response status3976 returns no_content3977 behaves like track event3978 behaves like a package tracking event3979 creates a gitlab tracking event delete_tag3980 with tag from other package3981 behaves like returning response status3982 returns not_found3983 with ActiveRecord::RecordInvalid error3984 behaves like returning response status with error3985 returns bad_request and error message3986 with invalid package name3987 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3988 behaves like returning response status with error3989 returns not_found and error message3990 package_name: "", status: :not_found, error: "404 Not Found"3991 behaves like returning response status with error3992 returns not_found and error message3993 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"3994 behaves like returning response status with error3995 returns bad_request and error message3996 with invalid tag name3997 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/3998 behaves like returning response status with error3999 returns not_found and error message4000 tag_name: "", status: :not_found, error: "404 Not Found"4001 behaves like returning response status with error4002 returns not_found and error message4003 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4004 behaves like returning response status with error4005 returns bad_request and error message4006 auth: :job_token, package_name_type: :unscoped, visibility: :public, user_role: :maintainer, expected_result: :accept, expected_status: :ok4007 behaves like accept delete package tag request4008 with valid package name4009 returns a valid response4010 destroy the package tag4011 behaves like returning response status4012 returns no_content4013 behaves like track event4014 behaves like a package tracking event4015 creates a gitlab tracking event delete_tag4016 with tag from other package4017 behaves like returning response status4018 returns not_found4019 with ActiveRecord::RecordInvalid error4020 behaves like returning response status with error4021 returns bad_request and error message4022 with invalid package name4023 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4024 behaves like returning response status with error4025 returns not_found and error message4026 package_name: "", status: :not_found, error: "404 Not Found"4027 behaves like returning response status with error4028 returns not_found and error message4029 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4030 behaves like returning response status with error4031 returns bad_request and error message4032 with invalid tag name4033 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4034 behaves like returning response status with error4035 returns not_found and error message4036 tag_name: "", status: :not_found, error: "404 Not Found"4037 behaves like returning response status with error4038 returns not_found and error message4039 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4040 behaves like returning response status with error4041 returns bad_request and error message4042 auth: :job_token, package_name_type: :non_existing, visibility: :public, user_role: :maintainer, expected_result: :reject, expected_status: :not_found4043 behaves like returning response status with error4044 returns not_found and error message4045 auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok4046 behaves like accept delete package tag request4047 with valid package name4048 returns a valid response4049 destroy the package tag4050 behaves like returning response status4051 returns no_content4052 behaves like track event4053 behaves like a package tracking event4054 creates a gitlab tracking event delete_tag4055 with tag from other package4056 behaves like returning response status4057 returns not_found4058 with ActiveRecord::RecordInvalid error4059 behaves like returning response status with error4060 returns bad_request and error message4061 with invalid package name4062 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4063 behaves like returning response status with error4064 returns not_found and error message4065 package_name: "", status: :not_found, error: "404 Not Found"4066 behaves like returning response status with error4067 returns not_found and error message4068 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4069 behaves like returning response status with error4070 returns bad_request and error message4071 with invalid tag name4072 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4073 behaves like returning response status with error4074 returns not_found and error message4075 tag_name: "", status: :not_found, error: "404 Not Found"4076 behaves like returning response status with error4077 returns not_found and error message4078 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4079 behaves like returning response status with error4080 returns bad_request and error message4081 auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok4082 behaves like accept delete package tag request4083 with valid package name4084 returns a valid response4085 destroy the package tag4086 behaves like returning response status4087 returns no_content4088 behaves like track event4089 behaves like a package tracking event4090 creates a gitlab tracking event delete_tag4091 with tag from other package4092 behaves like returning response status4093 returns not_found4094 with ActiveRecord::RecordInvalid error4095 behaves like returning response status with error4096 returns bad_request and error message4097 with invalid package name4098 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4099 behaves like returning response status with error4100 returns not_found and error message4101 package_name: "", status: :not_found, error: "404 Not Found"4102 behaves like returning response status with error4103 returns not_found and error message4104 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4105 behaves like returning response status with error4106 returns bad_request and error message4107 with invalid tag name4108 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4109 behaves like returning response status with error4110 returns not_found and error message4111 tag_name: "", status: :not_found, error: "404 Not Found"4112 behaves like returning response status with error4113 returns not_found and error message4114 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4115 behaves like returning response status with error4116 returns bad_request and error message4117 auth: :job_token, package_name_type: :unscoped, visibility: :private, user_role: :maintainer, expected_result: :accept, expected_status: :ok4118 behaves like accept delete package tag request4119 with valid package name4120 returns a valid response4121 destroy the package tag4122 behaves like returning response status4123 returns no_content4124 behaves like track event4125 behaves like a package tracking event4126 creates a gitlab tracking event delete_tag4127 with tag from other package4128 behaves like returning response status4129 returns not_found4130 with ActiveRecord::RecordInvalid error4131 behaves like returning response status with error4132 returns bad_request and error message4133 with invalid package name4134 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4135 behaves like returning response status with error4136 returns not_found and error message4137 package_name: "", status: :not_found, error: "404 Not Found"4138 behaves like returning response status with error4139 returns not_found and error message4140 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4141 behaves like returning response status with error4142 returns bad_request and error message4143 with invalid tag name4144 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4145 behaves like returning response status with error4146 returns not_found and error message4147 tag_name: "", status: :not_found, error: "404 Not Found"4148 behaves like returning response status with error4149 returns not_found and error message4150 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4151 behaves like returning response status with error4152 returns bad_request and error message4153 auth: :job_token, package_name_type: :non_existing, visibility: :private, user_role: :maintainer, expected_result: :reject, expected_status: :not_found4154 behaves like returning response status with error4155 returns not_found and error message4156 auth: :job_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok4157 behaves like accept delete package tag request4158 with valid package name4159 returns a valid response4160 destroy the package tag4161 behaves like returning response status4162 returns no_content4163 behaves like track event4164 behaves like a package tracking event4165 creates a gitlab tracking event delete_tag4166 with tag from other package4167 behaves like returning response status4168 returns not_found4169 with ActiveRecord::RecordInvalid error4170 behaves like returning response status with error4171 returns bad_request and error message4172 with invalid package name4173 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4174 behaves like returning response status with error4175 returns not_found and error message4176 package_name: "", status: :not_found, error: "404 Not Found"4177 behaves like returning response status with error4178 returns not_found and error message4179 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4180 behaves like returning response status with error4181 returns bad_request and error message4182 with invalid tag name4183 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4184 behaves like returning response status with error4185 returns not_found and error message4186 tag_name: "", status: :not_found, error: "404 Not Found"4187 behaves like returning response status with error4188 returns not_found and error message4189 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4190 behaves like returning response status with error4191 returns bad_request and error message4192 auth: :job_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok4193 behaves like accept delete package tag request4194 with valid package name4195 returns a valid response4196 destroy the package tag4197 behaves like returning response status4198 returns no_content4199 behaves like track event4200 behaves like a package tracking event4201 creates a gitlab tracking event delete_tag4202 with tag from other package4203 behaves like returning response status4204 returns not_found4205 with ActiveRecord::RecordInvalid error4206 behaves like returning response status with error4207 returns bad_request and error message4208 with invalid package name4209 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4210 behaves like returning response status with error4211 returns not_found and error message4212 package_name: "", status: :not_found, error: "404 Not Found"4213 behaves like returning response status with error4214 returns not_found and error message4215 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4216 behaves like returning response status with error4217 returns bad_request and error message4218 with invalid tag name4219 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4220 behaves like returning response status with error4221 returns not_found and error message4222 tag_name: "", status: :not_found, error: "404 Not Found"4223 behaves like returning response status with error4224 returns not_found and error message4225 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4226 behaves like returning response status with error4227 returns bad_request and error message4228 auth: :job_token, package_name_type: :unscoped, visibility: :internal, user_role: :maintainer, expected_result: :accept, expected_status: :ok4229 behaves like accept delete package tag request4230 with valid package name4231 returns a valid response4232 destroy the package tag4233 behaves like returning response status4234 returns no_content4235 behaves like track event4236 behaves like a package tracking event4237 creates a gitlab tracking event delete_tag4238 with tag from other package4239 behaves like returning response status4240 returns not_found4241 with ActiveRecord::RecordInvalid error4242 behaves like returning response status with error4243 returns bad_request and error message4244 with invalid package name4245 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4246 behaves like returning response status with error4247 returns not_found and error message4248 package_name: "", status: :not_found, error: "404 Not Found"4249 behaves like returning response status with error4250 returns not_found and error message4251 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4252 behaves like returning response status with error4253 returns bad_request and error message4254 with invalid tag name4255 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4256 behaves like returning response status with error4257 returns not_found and error message4258 tag_name: "", status: :not_found, error: "404 Not Found"4259 behaves like returning response status with error4260 returns not_found and error message4261 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4262 behaves like returning response status with error4263 returns bad_request and error message4264 auth: :job_token, package_name_type: :non_existing, visibility: :internal, user_role: :maintainer, expected_result: :reject, expected_status: :not_found4265 behaves like returning response status with error4266 returns not_found and error message4267 auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok4268 behaves like accept delete package tag request4269 with valid package name4270 returns a valid response4271 destroy the package tag4272 behaves like returning response status4273 returns no_content4274 behaves like track event4275 behaves like a package tracking event4276 creates a gitlab tracking event delete_tag4277 with tag from other package4278 behaves like returning response status4279 returns not_found4280 with ActiveRecord::RecordInvalid error4281 behaves like returning response status with error4282 returns bad_request and error message4283 with invalid package name4284 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4285 behaves like returning response status with error4286 returns not_found and error message4287 package_name: "", status: :not_found, error: "404 Not Found"4288 behaves like returning response status with error4289 returns not_found and error message4290 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4291 behaves like returning response status with error4292 returns bad_request and error message4293 with invalid tag name4294 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4295 behaves like returning response status with error4296 returns not_found and error message4297 tag_name: "", status: :not_found, error: "404 Not Found"4298 behaves like returning response status with error4299 returns not_found and error message4300 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4301 behaves like returning response status with error4302 returns bad_request and error message4303 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok4304 behaves like accept delete package tag request4305 with valid package name4306 returns a valid response4307 destroy the package tag4308 behaves like returning response status4309 returns no_content4310 behaves like track event4311 behaves like a package tracking event4312 creates a gitlab tracking event delete_tag4313 with tag from other package4314 behaves like returning response status4315 returns not_found4316 with ActiveRecord::RecordInvalid error4317 behaves like returning response status with error4318 returns bad_request and error message4319 with invalid package name4320 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4321 behaves like returning response status with error4322 returns not_found and error message4323 package_name: "", status: :not_found, error: "404 Not Found"4324 behaves like returning response status with error4325 returns not_found and error message4326 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4327 behaves like returning response status with error4328 returns bad_request and error message4329 with invalid tag name4330 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4331 behaves like returning response status with error4332 returns not_found and error message4333 tag_name: "", status: :not_found, error: "404 Not Found"4334 behaves like returning response status with error4335 returns not_found and error message4336 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4337 behaves like returning response status with error4338 returns bad_request and error message4339 auth: :deploy_token, package_name_type: :unscoped, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok4340 behaves like accept delete package tag request4341 with valid package name4342 returns a valid response4343 destroy the package tag4344 behaves like returning response status4345 returns no_content4346 behaves like track event4347 behaves like a package tracking event4348 creates a gitlab tracking event delete_tag4349 with tag from other package4350 behaves like returning response status4351 returns not_found4352 with ActiveRecord::RecordInvalid error4353 behaves like returning response status with error4354 returns bad_request and error message4355 with invalid package name4356 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4357 behaves like returning response status with error4358 returns not_found and error message4359 package_name: "", status: :not_found, error: "404 Not Found"4360 behaves like returning response status with error4361 returns not_found and error message4362 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4363 behaves like returning response status with error4364 returns bad_request and error message4365 with invalid tag name4366 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4367 behaves like returning response status with error4368 returns not_found and error message4369 tag_name: "", status: :not_found, error: "404 Not Found"4370 behaves like returning response status with error4371 returns not_found and error message4372 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4373 behaves like returning response status with error4374 returns bad_request and error message4375 auth: :deploy_token, package_name_type: :non_existing, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :not_found4376 behaves like returning response status with error4377 returns not_found and error message4378 auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok4379 behaves like accept delete package tag request4380 with valid package name4381 returns a valid response4382 destroy the package tag4383 behaves like returning response status4384 returns no_content4385 behaves like track event4386 behaves like a package tracking event4387 creates a gitlab tracking event delete_tag4388 with tag from other package4389 behaves like returning response status4390 returns not_found4391 with ActiveRecord::RecordInvalid error4392 behaves like returning response status with error4393 returns bad_request and error message4394 with invalid package name4395 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4396 behaves like returning response status with error4397 returns not_found and error message4398 package_name: "", status: :not_found, error: "404 Not Found"4399 behaves like returning response status with error4400 returns not_found and error message4401 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4402 behaves like returning response status with error4403 returns bad_request and error message4404 with invalid tag name4405 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4406 behaves like returning response status with error4407 returns not_found and error message4408 tag_name: "", status: :not_found, error: "404 Not Found"4409 behaves like returning response status with error4410 returns not_found and error message4411 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4412 behaves like returning response status with error4413 returns bad_request and error message4414 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok4415 behaves like accept delete package tag request4416 with valid package name4417 returns a valid response4418 destroy the package tag4419 behaves like returning response status4420 returns no_content4421 behaves like track event4422 behaves like a package tracking event4423 creates a gitlab tracking event delete_tag4424 with tag from other package4425 behaves like returning response status4426 returns not_found4427 with ActiveRecord::RecordInvalid error4428 behaves like returning response status with error4429 returns bad_request and error message4430 with invalid package name4431 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4432 behaves like returning response status with error4433 returns not_found and error message4434 package_name: "", status: :not_found, error: "404 Not Found"4435 behaves like returning response status with error4436 returns not_found and error message4437 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4438 behaves like returning response status with error4439 returns bad_request and error message4440 with invalid tag name4441 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4442 behaves like returning response status with error4443 returns not_found and error message4444 tag_name: "", status: :not_found, error: "404 Not Found"4445 behaves like returning response status with error4446 returns not_found and error message4447 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4448 behaves like returning response status with error4449 returns bad_request and error message4450 auth: :deploy_token, package_name_type: :unscoped, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok4451 behaves like accept delete package tag request4452 with valid package name4453 returns a valid response4454 destroy the package tag4455 behaves like returning response status4456 returns no_content4457 behaves like track event4458 behaves like a package tracking event4459 creates a gitlab tracking event delete_tag4460 with tag from other package4461 behaves like returning response status4462 returns not_found4463 with ActiveRecord::RecordInvalid error4464 behaves like returning response status with error4465 returns bad_request and error message4466 with invalid package name4467 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4468 behaves like returning response status with error4469 returns not_found and error message4470 package_name: "", status: :not_found, error: "404 Not Found"4471 behaves like returning response status with error4472 returns not_found and error message4473 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4474 behaves like returning response status with error4475 returns bad_request and error message4476 with invalid tag name4477 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4478 behaves like returning response status with error4479 returns not_found and error message4480 tag_name: "", status: :not_found, error: "404 Not Found"4481 behaves like returning response status with error4482 returns not_found and error message4483 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4484 behaves like returning response status with error4485 returns bad_request and error message4486 auth: :deploy_token, package_name_type: :non_existing, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :not_found4487 behaves like returning response status with error4488 returns not_found and error message4489 auth: :deploy_token, package_name_type: :scoped_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok4490 behaves like accept delete package tag request4491 with valid package name4492 returns a valid response4493 destroy the package tag4494 behaves like returning response status4495 returns no_content4496 behaves like track event4497 behaves like a package tracking event4498 creates a gitlab tracking event delete_tag4499 with tag from other package4500 behaves like returning response status4501 returns not_found4502 with ActiveRecord::RecordInvalid error4503 behaves like returning response status with error4504 returns bad_request and error message4505 with invalid package name4506 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4507 behaves like returning response status with error4508 returns not_found and error message4509 package_name: "", status: :not_found, error: "404 Not Found"4510 behaves like returning response status with error4511 returns not_found and error message4512 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4513 behaves like returning response status with error4514 returns bad_request and error message4515 with invalid tag name4516 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4517 behaves like returning response status with error4518 returns not_found and error message4519 tag_name: "", status: :not_found, error: "404 Not Found"4520 behaves like returning response status with error4521 returns not_found and error message4522 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4523 behaves like returning response status with error4524 returns bad_request and error message4525 auth: :deploy_token, package_name_type: :scoped_no_naming_convention, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok4526 behaves like accept delete package tag request4527 with valid package name4528 returns a valid response4529 destroy the package tag4530 behaves like returning response status4531 returns no_content4532 behaves like track event4533 behaves like a package tracking event4534 creates a gitlab tracking event delete_tag4535 with tag from other package4536 behaves like returning response status4537 returns not_found4538 with ActiveRecord::RecordInvalid error4539 behaves like returning response status with error4540 returns bad_request and error message4541 with invalid package name4542 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4543 behaves like returning response status with error4544 returns not_found and error message4545 package_name: "", status: :not_found, error: "404 Not Found"4546 behaves like returning response status with error4547 returns not_found and error message4548 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4549 behaves like returning response status with error4550 returns bad_request and error message4551 with invalid tag name4552 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4553 behaves like returning response status with error4554 returns not_found and error message4555 tag_name: "", status: :not_found, error: "404 Not Found"4556 behaves like returning response status with error4557 returns not_found and error message4558 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4559 behaves like returning response status with error4560 returns bad_request and error message4561 auth: :deploy_token, package_name_type: :unscoped, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok4562 behaves like accept delete package tag request4563 with valid package name4564 returns a valid response4565 destroy the package tag4566 behaves like returning response status4567 returns no_content4568 behaves like track event4569 behaves like a package tracking event4570 creates a gitlab tracking event delete_tag4571 with tag from other package4572 behaves like returning response status4573 returns not_found4574 with ActiveRecord::RecordInvalid error4575 behaves like returning response status with error4576 returns bad_request and error message4577 with invalid package name4578 package_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4579 behaves like returning response status with error4580 returns not_found and error message4581 package_name: "", status: :not_found, error: "404 Not Found"4582 behaves like returning response status with error4583 returns not_found and error message4584 package_name: "%20", status: :bad_request, error: "\"Package Name\" not given"4585 behaves like returning response status with error4586 returns bad_request and error message4587 with invalid tag name4588 tag_name: "unknown", status: :not_found, error: /\A(Package tag|Project) not found\z/4589 behaves like returning response status with error4590 returns not_found and error message4591 tag_name: "", status: :not_found, error: "404 Not Found"4592 behaves like returning response status with error4593 returns not_found and error message4594 tag_name: "%20", status: :bad_request, error: "\"Tag\" not given"4595 behaves like returning response status with error4596 returns bad_request and error message4597 auth: :deploy_token, package_name_type: :non_existing, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :not_found4598 behaves like returning response status with error4599 returns not_found and error message4600 behaves like enqueue a worker to sync a metadata cache4601 enqueues a worker to create a metadata cache4602 with npm_metadata_cache disabled4603 behaves like does not enqueue a worker to sync a metadata cache4604 does not enqueue a worker to sync a metadata cache4605 POST /api/v4/projects/:id/packages/npm/-/npm/v1/security/advisories/bulk4606 behaves like handling audit request4607 with a group namespace4608 behaves like handling all conditions4609 auth: nil, request_forward: true, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized4610 behaves like reject audit request4611 behaves like returning response status4612 returns unauthorized4613 auth: nil, request_forward: false, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized4614 behaves like reject audit request4615 behaves like returning response status4616 returns unauthorized4617 auth: nil, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized4618 behaves like reject audit request4619 behaves like returning response status4620 returns unauthorized4621 auth: nil, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized4622 behaves like reject audit request4623 behaves like returning response status4624 returns unauthorized4625 auth: nil, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized4626 behaves like reject audit request4627 behaves like returning response status4628 returns unauthorized4629 auth: nil, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized4630 behaves like reject audit request4631 behaves like returning response status4632 returns unauthorized4633 auth: :oauth, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4634 behaves like redirect audit request4635 redirects audit request4636 auth: :oauth, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4637 behaves like redirect audit request4638 redirects audit request4639 auth: :oauth, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok4640 behaves like accept audit request4641 accepts the audit request4642 auth: :oauth, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok4643 behaves like accept audit request4644 accepts the audit request4645 auth: :oauth, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4646 behaves like redirect audit request4647 redirects audit request4648 auth: :oauth, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden4649 behaves like reject audit request4650 behaves like returning response status4651 returns forbidden4652 auth: :oauth, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok4653 behaves like accept audit request4654 accepts the audit request4655 auth: :oauth, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4656 behaves like redirect audit request4657 redirects audit request4658 auth: :oauth, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4659 behaves like redirect audit request4660 redirects audit request4661 auth: :oauth, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4662 behaves like redirect audit request4663 redirects audit request4664 auth: :oauth, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok4665 behaves like accept audit request4666 accepts the audit request4667 auth: :oauth, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok4668 behaves like accept audit request4669 accepts the audit request4670 auth: :personal_access_token, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4671 behaves like redirect audit request4672 redirects audit request4673 auth: :personal_access_token, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4674 behaves like redirect audit request4675 redirects audit request4676 auth: :personal_access_token, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok4677 behaves like accept audit request4678 accepts the audit request4679 auth: :personal_access_token, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok4680 behaves like accept audit request4681 accepts the audit request4682 auth: :personal_access_token, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4683 behaves like redirect audit request4684 redirects audit request4685 auth: :personal_access_token, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4686 behaves like redirect audit request4687 redirects audit request4688 auth: :personal_access_token, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden4689 behaves like reject audit request4690 behaves like returning response status4691 returns forbidden4692 auth: :personal_access_token, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok4693 behaves like accept audit request4694 accepts the audit request4695 auth: :personal_access_token, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4696 behaves like redirect audit request4697 redirects audit request4698 auth: :personal_access_token, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4699 behaves like redirect audit request4700 redirects audit request4701 auth: :personal_access_token, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok4702 behaves like accept audit request4703 accepts the audit request4704 auth: :personal_access_token, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok4705 behaves like accept audit request4706 accepts the audit request4707 auth: :job_token, request_forward: true, visibility: :public, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect4708 behaves like redirect audit request4709 redirects audit request4710 auth: :job_token, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok4711 behaves like accept audit request4712 accepts the audit request4713 auth: :job_token, request_forward: true, visibility: :private, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect4714 behaves like redirect audit request4715 redirects audit request4716 auth: :job_token, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok4717 behaves like accept audit request4718 accepts the audit request4719 auth: :job_token, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect4720 behaves like redirect audit request4721 redirects audit request4722 auth: :job_token, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok4723 behaves like accept audit request4724 accepts the audit request4725 auth: :deploy_token, request_forward: true, visibility: :public, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect4726 behaves like redirect audit request4727 redirects audit request4728 auth: :deploy_token, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok4729 behaves like accept audit request4730 accepts the audit request4731 auth: :deploy_token, request_forward: true, visibility: :private, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect4732 behaves like redirect audit request4733 redirects audit request4734 auth: :deploy_token, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok4735 behaves like accept audit request4736 accepts the audit request4737 auth: :deploy_token, request_forward: true, visibility: :internal, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect4738 behaves like redirect audit request4739 redirects audit request4740 auth: :deploy_token, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok4741 behaves like accept audit request4742 accepts the audit request4743 with a developer4744 with a job token4745 behaves like reject audit request4746 behaves like returning response status4747 returns unauthorized4748 POST /api/v4/projects/:id/packages/npm/-/npm/v1/security/audits/quick4749 behaves like handling audit request4750 with a group namespace4751 behaves like handling all conditions4752 auth: nil, request_forward: true, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized4753 behaves like reject audit request4754 behaves like returning response status4755 returns unauthorized4756 auth: nil, request_forward: false, visibility: :public, user_role: nil, expected_result: :reject, expected_status: :unauthorized4757 behaves like reject audit request4758 behaves like returning response status4759 returns unauthorized4760 auth: nil, request_forward: true, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized4761 behaves like reject audit request4762 behaves like returning response status4763 returns unauthorized4764 auth: nil, request_forward: false, visibility: :private, user_role: nil, expected_result: :reject, expected_status: :unauthorized4765 behaves like reject audit request4766 behaves like returning response status4767 returns unauthorized4768 auth: nil, request_forward: true, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized4769 behaves like reject audit request4770 behaves like returning response status4771 returns unauthorized4772 auth: nil, request_forward: false, visibility: :internal, user_role: nil, expected_result: :reject, expected_status: :unauthorized4773 behaves like reject audit request4774 behaves like returning response status4775 returns unauthorized4776 auth: :oauth, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4777 behaves like redirect audit request4778 redirects audit request4779 auth: :oauth, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4780 behaves like redirect audit request4781 redirects audit request4782 auth: :oauth, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok4783 behaves like accept audit request4784 accepts the audit request4785 auth: :oauth, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok4786 behaves like accept audit request4787 accepts the audit request4788 auth: :oauth, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4789 behaves like redirect audit request4790 redirects audit request4791 auth: :oauth, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden4792 behaves like reject audit request4793 behaves like returning response status4794 returns forbidden4795 auth: :oauth, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok4796 behaves like accept audit request4797 accepts the audit request4798 auth: :oauth, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4799 behaves like redirect audit request4800 redirects audit request4801 auth: :oauth, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4802 behaves like redirect audit request4803 redirects audit request4804 auth: :oauth, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4805 behaves like redirect audit request4806 redirects audit request4807 auth: :oauth, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok4808 behaves like accept audit request4809 accepts the audit request4810 auth: :oauth, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok4811 behaves like accept audit request4812 accepts the audit request4813 auth: :personal_access_token, request_forward: true, visibility: :public, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4814 behaves like redirect audit request4815 redirects audit request4816 auth: :personal_access_token, request_forward: true, visibility: :public, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4817 behaves like redirect audit request4818 redirects audit request4819 auth: :personal_access_token, request_forward: false, visibility: :public, user_role: :guest, expected_result: :accept, expected_status: :ok4820 behaves like accept audit request4821 accepts the audit request4822 auth: :personal_access_token, request_forward: false, visibility: :public, user_role: :reporter, expected_result: :accept, expected_status: :ok4823 behaves like accept audit request4824 accepts the audit request4825 auth: :personal_access_token, request_forward: true, visibility: :private, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4826 behaves like redirect audit request4827 redirects audit request4828 auth: :personal_access_token, request_forward: true, visibility: :private, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4829 behaves like redirect audit request4830 redirects audit request4831 auth: :personal_access_token, request_forward: false, visibility: :private, user_role: :guest, expected_result: :reject, expected_status: :forbidden4832 behaves like reject audit request4833 behaves like returning response status4834 returns forbidden4835 auth: :personal_access_token, request_forward: false, visibility: :private, user_role: :reporter, expected_result: :accept, expected_status: :ok4836 behaves like accept audit request4837 accepts the audit request4838 auth: :personal_access_token, request_forward: true, visibility: :internal, user_role: :guest, expected_result: :redirect, expected_status: :temporary_redirect4839 behaves like redirect audit request4840 redirects audit request4841 auth: :personal_access_token, request_forward: true, visibility: :internal, user_role: :reporter, expected_result: :redirect, expected_status: :temporary_redirect4842 behaves like redirect audit request4843 redirects audit request4844 auth: :personal_access_token, request_forward: false, visibility: :internal, user_role: :guest, expected_result: :accept, expected_status: :ok4845 behaves like accept audit request4846 accepts the audit request4847 auth: :personal_access_token, request_forward: false, visibility: :internal, user_role: :reporter, expected_result: :accept, expected_status: :ok4848 behaves like accept audit request4849 accepts the audit request4850 auth: :job_token, request_forward: true, visibility: :public, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect4851 behaves like redirect audit request4852 redirects audit request4853 auth: :job_token, request_forward: false, visibility: :public, user_role: :developer, expected_result: :accept, expected_status: :ok4854 behaves like accept audit request4855 accepts the audit request4856 auth: :job_token, request_forward: true, visibility: :private, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect4857 behaves like redirect audit request4858 redirects audit request4859 auth: :job_token, request_forward: false, visibility: :private, user_role: :developer, expected_result: :accept, expected_status: :ok4860 behaves like accept audit request4861 accepts the audit request4862 auth: :job_token, request_forward: true, visibility: :internal, user_role: :developer, expected_result: :redirect, expected_status: :temporary_redirect4863 behaves like redirect audit request4864 redirects audit request4865 auth: :job_token, request_forward: false, visibility: :internal, user_role: :developer, expected_result: :accept, expected_status: :ok4866 behaves like accept audit request4867 accepts the audit request4868 auth: :deploy_token, request_forward: true, visibility: :public, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect4869 behaves like redirect audit request4870 redirects audit request4871 auth: :deploy_token, request_forward: false, visibility: :public, user_role: nil, expected_result: :accept, expected_status: :ok4872 behaves like accept audit request4873 accepts the audit request4874 auth: :deploy_token, request_forward: true, visibility: :private, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect4875 behaves like redirect audit request4876 redirects audit request4877 auth: :deploy_token, request_forward: false, visibility: :private, user_role: nil, expected_result: :accept, expected_status: :ok4878 behaves like accept audit request4879 accepts the audit request4880 auth: :deploy_token, request_forward: true, visibility: :internal, user_role: nil, expected_result: :redirect, expected_status: :temporary_redirect4881 behaves like redirect audit request4882 redirects audit request4883 auth: :deploy_token, request_forward: false, visibility: :internal, user_role: nil, expected_result: :accept, expected_status: :ok4884 behaves like accept audit request4885 accepts the audit request4886 with a developer4887 with a job token4888 behaves like reject audit request4889 behaves like returning response status4890 returns unauthorized4891 GET /api/v4/projects/:id/packages/npm/*package_name/-/*file_name4892 a public project4893 behaves like successfully downloads the file4894 returns the file4895 behaves like a package tracking event4896 creates a gitlab tracking event pull_package4897 behaves like bumping the package last downloaded at field4898DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and4899from Rails 7.1 will use the default Ruby implementation.4900You can set `config.active_support.remove_deprecated_time_with_zone_name = true`4901to enable the new behavior now.4902 (called from block (2 levels) in <top (required)> at /builds/gitlab-org/gitlab/spec/support/shared_examples/requests/api/packages_shared_examples.rb:183)4903 bumps last_downloaded_at4904 with a job token for a different user4905 behaves like successfully downloads the file4906 returns the file4907 private project4908 behaves like a package file that requires auth4909 denies download with no token4910 with access token4911 behaves like successfully downloads the file4912 returns the file4913 behaves like a package tracking event4914 creates a gitlab tracking event pull_package4915 behaves like bumping the package last downloaded at field4916DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and4917from Rails 7.1 will use the default Ruby implementation.4918You can set `config.active_support.remove_deprecated_time_with_zone_name = true`4919to enable the new behavior now.4920 (called from block (2 levels) in <top (required)> at /builds/gitlab-org/gitlab/spec/support/shared_examples/requests/api/packages_shared_examples.rb:183)4921 bumps last_downloaded_at4922 with job token4923 behaves like successfully downloads the file4924 returns the file4925 behaves like a package tracking event4926 creates a gitlab tracking event pull_package4927 behaves like bumping the package last downloaded at field4928DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and4929from Rails 7.1 will use the default Ruby implementation.4930You can set `config.active_support.remove_deprecated_time_with_zone_name = true`4931to enable the new behavior now.4932 (called from block (2 levels) in <top (required)> at /builds/gitlab-org/gitlab/spec/support/shared_examples/requests/api/packages_shared_examples.rb:183)4933 bumps last_downloaded_at4934 with guest4935 denies download when not enough permissions4936 with access to package registry for everyone4937 behaves like successfully downloads the file4938 returns the file4939 internal project4940 behaves like a package file that requires auth4941 denies download with no token4942 with access token4943 behaves like successfully downloads the file4944 returns the file4945 behaves like a package tracking event4946 creates a gitlab tracking event pull_package4947 behaves like bumping the package last downloaded at field4948DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and4949from Rails 7.1 will use the default Ruby implementation.4950You can set `config.active_support.remove_deprecated_time_with_zone_name = true`4951to enable the new behavior now.4952 (called from block (2 levels) in <top (required)> at /builds/gitlab-org/gitlab/spec/support/shared_examples/requests/api/packages_shared_examples.rb:183)4953 bumps last_downloaded_at4954 with job token4955 behaves like successfully downloads the file4956 returns the file4957 behaves like a package tracking event4958 creates a gitlab tracking event pull_package4959 behaves like bumping the package last downloaded at field4960DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and4961from Rails 7.1 will use the default Ruby implementation.4962You can set `config.active_support.remove_deprecated_time_with_zone_name = true`4963to enable the new behavior now.4964 (called from block (2 levels) in <top (required)> at /builds/gitlab-org/gitlab/spec/support/shared_examples/requests/api/packages_shared_examples.rb:183)4965 bumps last_downloaded_at4966 with a job token for a different user4967 behaves like successfully downloads the file4968 returns the file4969 PUT /api/v4/projects/:id/packages/npm/:package_name4970 when params are correct4971 invalid package record4972 invalid package name4973 behaves like handling invalid record with 400 error4974 handles an ActiveRecord::RecordInvalid exception with 400 error4975 behaves like not a package tracking event4976 does not create a gitlab tracking event4977 invalid package version4978 version: "1"4979 behaves like handling invalid record with 400 error4980 handles an ActiveRecord::RecordInvalid exception with 400 error4981 behaves like not a package tracking event4982 does not create a gitlab tracking event4983 version: "1.2"4984 behaves like handling invalid record with 400 error4985 handles an ActiveRecord::RecordInvalid exception with 400 error4986 behaves like not a package tracking event4987 does not create a gitlab tracking event4988 version: "1./2.3"4989 behaves like handling invalid record with 400 error4990 handles an ActiveRecord::RecordInvalid exception with 400 error4991 behaves like not a package tracking event4992 does not create a gitlab tracking event4993 version: "../../../../../1.2.3"4994 behaves like handling invalid record with 400 error4995 handles an ActiveRecord::RecordInvalid exception with 400 error4996 behaves like not a package tracking event4997 does not create a gitlab tracking event4998 version: "%2e%2e%2f1.2.3"4999 behaves like handling invalid record with 400 error5000 handles an ActiveRecord::RecordInvalid exception with 400 error5001 behaves like not a package tracking event5002 does not create a gitlab tracking event5003 invalid package attachment data5004 behaves like handling invalid record with 400 error5005 handles an ActiveRecord::RecordInvalid exception with 400 error5006 behaves like not a package tracking event5007 does not create a gitlab tracking event5008 valid package params5009 with a scoped name5010 behaves like handling upload with different authentications5011 creates npm package with file with job token5012 with access token5013 behaves like a package tracking event5014 creates a gitlab tracking event push_package5015 behaves like a successful package creation5016 creates npm package with file5017 with an authenticated job token5018 creates the package metadata5019 with any scoped name5020 behaves like handling upload with different authentications5021 creates npm package with file with job token5022 with access token5023 behaves like a package tracking event5024 creates a gitlab tracking event push_package5025 behaves like a successful package creation5026 creates npm package with file5027 with an authenticated job token5028 creates the package metadata5029 with an unscoped name5030 behaves like handling upload with different authentications5031 creates npm package with file with job token5032 with access token5033 behaves like a package tracking event5034 creates a gitlab tracking event push_package5035 behaves like a successful package creation5036 creates npm package with file5037 with an authenticated job token5038 creates the package metadata5039 behaves like enqueue a worker to sync a metadata cache5040 enqueues a worker to create a metadata cache5041 with npm_metadata_cache disabled5042 behaves like does not enqueue a worker to sync a metadata cache5043 does not enqueue a worker to sync a metadata cache5044 with an existing package5045 following the naming convention5046 behaves like handling invalid record with 400 error5047 handles an ActiveRecord::RecordInvalid exception with 400 error5048 behaves like not a package tracking event5049 does not create a gitlab tracking event5050 with a new version5051 behaves like uploading the package5052 uploads the package5053 not following the naming convention5054 behaves like uploading the package5055 uploads the package5056 package creation fails5057 returns an error if the package already exists5058 behaves like not a package tracking event5059 does not create a gitlab tracking event5060 behaves like does not enqueue a worker to sync a metadata cache5061 does not enqueue a worker to sync a metadata cache5062 with dependencies5063 creates npm package with file and dependencies5064 with existing dependencies5065 reuses them5066 when the lease to create a package is already taken5067 returns an error5068 behaves like not a package tracking event5069 does not create a gitlab tracking event5070 with a too large metadata structure5071 when a large value for readme is set5072 behaves like a successful package creation5073 creates npm package with file5074 when a large value for readmeFilename is set5075 behaves like a successful package creation5076 creates npm package with file5077 when a large value for licenseText is set5078 behaves like a successful package creation5079 creates npm package with file5080 when the large field is not one of the ignored fields5081 behaves like handling invalid record with 400 error5082 handles an ActiveRecord::RecordInvalid exception with 400 error5083 behaves like not a package tracking event5084 does not create a gitlab tracking event5085 when the Npm-Command in headers is deprecate5086 when the user is not authorized to destroy the package5087 does not call DeprecatePackageService5088 when the user is authorized to destroy the package5089 calls DeprecatePackageService with the correct arguments5090GroupsController5091 GET #show5092 when the group is not importing5093 is expected to render template groups/show5094 tracks page views5095 behaves like details view as atom5096 is expected to render template groups/show5097 assigns events for all the projects in the group5098 when the group is importing5099 redirects to the import status page5100 does not track page views5101 GET #details5102 is expected to redirect to "/group1"5103 behaves like details view as atom5104 is expected to render template groups/show5105 assigns events for all the projects in the group5106 GET edit5107 sets the badge API endpoint5108 GET #new5109 when creating subgroups5110 and can_create_group is true5111 and logged in as Admin_with_admin_mode5112 behaves like member with ability to create subgroups5113 renders the new page5114 and logged in as Owner5115 behaves like member with ability to create subgroups5116 renders the new page5117 and logged in as Maintainer5118 behaves like member with ability to create subgroups5119 renders the new page5120 and logged in as Guest5121 behaves like member without ability to create subgroups5122 renders the 404 page5123 and logged in as Developer5124 behaves like member without ability to create subgroups5125 renders the 404 page5126 and logged in as Admin_without_admin_mode5127 behaves like member without ability to create subgroups5128 renders the 404 page5129 and can_create_group is false5130 and logged in as Admin_with_admin_mode5131 behaves like member with ability to create subgroups5132 renders the new page5133 and logged in as Owner5134 behaves like member with ability to create subgroups5135 renders the new page5136 and logged in as Maintainer5137 behaves like member with ability to create subgroups5138 renders the new page5139 and logged in as Guest5140 behaves like member without ability to create subgroups5141 renders the 404 page5142 and logged in as Developer5143 behaves like member without ability to create subgroups5144 renders the 404 page5145 and logged in as Admin_without_admin_mode5146 behaves like member without ability to create subgroups5147 renders the 404 page5148 GET #activity5149 as json5150 includes events from all projects in group and subgroups5151 when user has no permission to see the event5152 filters out invisible event5153 POST #create5154 allows creating a group5155 authorization5156 allows an admin to create a group5157 when creating chat team5158 triggers Mattermost::CreateTeamService5159 when creating subgroups5160 and can_create_group is true5161 and logged in as Owner5162 creates the subgroup5163 and logged in as Developer5164 renders the new template5165 and can_create_group is false5166 and logged in as Owner5167 creates the subgroup5168 and logged in as Developer5169 renders the new template5170 when creating a top level group5171 and can_create_group is enabled5172 creates the Group5173 and can_create_group is disabled5174 does not create the Group5175 malicious group name5176 is expected not to change `Group.count`5177 is expected to render template new5178 when creating a group with `default_branch_protection` attribute5179 for users who have the ability to create a group with `default_branch_protection`5180 creates group with the specified branch protection level5181 for users who do not have the ability to create a group with `default_branch_protection`5182 does not create the group with the specified branch protection level5183 when creating a group with `default_branch_protection_defaults` attribute5184 when user has ability to write update_default_branch_protection5185 for users who have the ability to create a group with `default_branch_protection_defaults`5186 creates group with the specified default branch protection level5187 for users who do not have the ability to create a group with `default_branch_protection`5188 does not create the group with the specified branch protection level5189 when creating a group with captcha protection5190 allows creating a group when the reCAPTCHA is solved5191 allows creating a sub-group without checking the captcha5192 when the reCAPTCHA is not solved5193 displays an error5194 sets gon variables5195 with feature flag switched off5196 allows creating a group without the reCAPTCHA5197 when creating a group with the `role` attribute present5198 changes the users role5199 when creating a group with the `setup_for_company` attribute present5200 sets the groups `setup_for_company` value5201 when the user already has a value for `setup_for_company`5202 does not change the users `setup_for_company` value5203 when the user has no value for `setup_for_company`5204 changes the users `setup_for_company` value5205 when creating a group with the `jobs_to_be_done` attribute present5206 sets the groups `jobs_to_be_done` value5207 GET #index5208 as a user5209 redirects to Groups Dashboard5210 as a guest5211 redirects to Explore Groups5212 GET #issues5213 saves the sort order to user preferences5214 GET #merge_requests5215 sorting by votes5216 sorts most popular merge requests5217 sorts least popular merge requests5218 rendering views5219 displays MR counts in nav5220 when MergeRequestsFinder raises an exception5221 does not display MR counts in nav5222 when an ActiveRecord::QueryCanceled is raised5223 sets :search_timeout_occurred5224 logs the exception5225 rendering views5226 shows error message5227 does not display MR counts in nav5228 DELETE #destroy5229 as another user5230 returns 4045231 as the group owner5232 schedules a group destroy5233 redirects to the root path5234 PUT update5235 updates the path successfully5236 does not update the path on error5237 updates the project_creation_level successfully5238 updating default_branch_protection5239 for users who have the ability to update default_branch_protection5240 updates the attribute5241 for users who do not have the ability to update default_branch_protection5242 does not update the attribute5243 updating default_branch_name5244 updates the attribute5245 to empty string5246 does not update the attribute5247 when there is a conflicting group path5248 does not render references to the conflicting group5249 when a project inside the group has container repositories5250 does allow the group to be renamed5251 does not allow to path of the group to be changed5252 updating :resource_access_token_creation_allowed5253 when user is a group owner5254 updates the attribute5255 when not a group owner5256 does not update the attribute5257 updating :prevent_sharing_groups_outside_hierarchy5258 when user is a group owner5259 updates the attribute5260 when not a group owner5261 does not update the attribute5262 #ensure_canonical_path5263 for a GET request5264 when requesting groups at the root path5265 when requesting the canonical path with different casing5266 redirects to the correct casing5267 when requesting a redirected path5268 redirects to the canonical path5269 when the old group path is a substring of the scheme or host5270 does not modify the requested host5271 when the old group path is substring of groups5272 does not modify the /groups part of the path5273 when requesting groups under the /groups path5274 when requesting the canonical path5275 non-show path5276 with exactly matching casing5277 does not redirect5278 with different casing5279 redirects to the correct casing5280 show path5281 with exactly matching casing5282 does not redirect5283 with different casing5284 redirects to the correct casing at the root path5285 when requesting a redirected path5286 redirects to the canonical path5287 when the old group path is a substring of the scheme or host5288 does not modify the requested host5289 when the old group path is substring of groups5290 does not modify the /groups part of the path5291 when the old group path is substring of groups plus the new path5292 does not modify the /groups part of the path5293 for a POST request5294 when requesting the canonical path with different casing5295 does not 4045296 does not redirect to the correct casing5297 when requesting a redirected path5298 returns not found5299 for a DELETE request5300 when requesting the canonical path with different casing5301 does not 4045302 does not redirect to the correct casing5303 when requesting a redirected path5304 returns not found5305 PUT transfer5306 when transferring to a subgroup goes right5307 returns a notice and redirects to the new path5308 when converting to a root group goes right5309 returns a notice and redirects to the new path5310 When the transfer goes wrong5311 returns an alert and redirects to the current path5312 when the user is not allowed to transfer the group5313 is denied5314 transferring when a project has container images5315 does not allow the group to be transferred5316 POST #export5317 when the user does not have permission to export the group5318 returns an error5319 when supplied valid params5320 triggers the export job5321 redirects to the edit page5322 when the endpoint receives requests above the rate limit5323 throttles the endpoint5324 GET #download_export5325 when there is a file available to download5326 sends the file5327 when the file is no longer present on disk5328 returns not found5329 when there is no file available to download5330 returns not found5331 when the user does not have the required permissions5332 returns not_found5333 when the endpoint receives requests above the rate limit5334 throttles the endpoint5335 external authorization5336 with external authorization service enabled5337 GET #show5338 is successful5339 does not allow other formats5340 GET #edit5341 is successful5342 GET #new5343 is successful5344 GET #index5345 is successful5346 POST #create5347 creates a group5348 PUT #update5349 updates a group5350 malicious group name5351 is expected to render template edit5352 does not update name5353 DELETE #destroy5354 deletes the group5355 GET #activity5356 behaves like disabled when using an external authorization service5357 works when the feature is not enabled5358 renders a 404 with a message when the feature is enabled5359 GET #activity as JSON5360 returns count5361 GET #issues5362 behaves like disabled when using an external authorization service5363 works when the feature is not enabled5364 renders a 404 with a message when the feature is enabled5365 GET #merge_requests5366 behaves like disabled when using an external authorization service5367 works when the feature is not enabled5368 renders a 404 with a message when the feature is enabled5369 GET #unfoldered_environment_names5370 shows the environment names of a public project to an anonymous user5371 does not show environment names of private projects to anonymous users5372 shows environment names of a private project to a group member5373 does not show environment names of private projects to a logged-in non-member5374API::Tags5375 GET /projects/:id/repository/tags5376 sorting5377 sorts by descending order by default5378 sorts by ascending order if specified5379 sorts by name in descending order when requested5380 sorts by name in ascending order when requested5381 sorts by version in ascending order when requested5382 searching5383 only returns searched tags5384 when unauthenticated and project is public5385 behaves like repository tags5386 returns the repository tags5387 when repository is disabled5388 behaves like 403 response5389 returns 4035390 when repository does not exist5391 behaves like 404 response5392 returns 4045393 and releases are private5394 returns the repository tags without release information5395 when unauthenticated and project is private5396 behaves like 404 response5397 returns 4045398 when authenticated as a maintainer5399 behaves like repository tags5400 returns the repository tags5401 when repository is disabled5402 behaves like 403 response5403 returns 4035404 when repository does not exist5405 behaves like 404 response5406 returns 4045407 requesting with the escaped project full path5408 behaves like repository tags5409 returns the repository tags5410 when repository is disabled5411 behaves like 403 response5412 returns 4035413 when repository does not exist5414 behaves like 404 response5415 returns 4045416 when authenticated as a guest5417 behaves like 403 response5418 returns 4035419 with releases5420 returns an array of project tags with release info5421 with keyset pagination option5422 with gitaly pagination params5423 with high limit5424 returns all repository tags5425 with low limit5426 returns limited repository tags5427 with missing page token5428 behaves like 422 response5429 returns 4225430 cache expiry5431 is cached5432 when protected tag is changed5433 behaves like cache expired5434 isn't cached5435 when release is changed5436 behaves like cache expired5437 isn't cached5438 when project is changed5439 behaves like cache expired5440 isn't cached5441 when user is not allowed to :read_release5442 isn't cached5443 when gitaly is unavailable5444 behaves like 503 response5445 returns 5035446 GET /projects/:id/repository/tags/:tag_name5447 when unauthenticated and project is public5448 behaves like repository tag5449 returns the repository branch5450 when tag does not exist5451 behaves like 404 response5452 returns 4045453 when repository is disabled5454 behaves like 403 response5455 returns 4035456 and releases are private5457 returns the repository tags without release information5458 when unauthenticated and project is private5459 behaves like 404 response5460 returns 4045461 when authenticated as a maintainer5462 behaves like repository tag5463 returns the repository branch5464 when tag does not exist5465 behaves like 404 response5466 returns 4045467 when repository is disabled5468 behaves like 403 response5469 returns 4035470 requesting with the escaped project full path5471 behaves like repository tag5472 returns the repository branch5473 when tag does not exist5474 behaves like 404 response5475 returns 4045476 when repository is disabled5477 behaves like 403 response5478 returns 4035479 when authenticated as a guest5480 behaves like 403 response5481 returns 4035482 with releases5483 returns release information5484 POST /projects/:id/repository/tags5485 when unauthenticated and project is private5486 behaves like 404 response5487 returns 4045488 when authenticated as a guest5489 behaves like 403 response5490 returns 4035491 when authenticated as a maintainer5492 returns 400 if tag name is invalid5493 returns 400 if tag already exists5494 returns 400 if ref name is invalid5495 when a protected branch doesn't already exist5496 behaves like repository new tag5497 creates a new tag5498 when repository is disabled5499 behaves like 403 response5500 returns 4035501 when tag contains a dot5502 behaves like repository new tag5503 creates a new tag5504 when repository is disabled5505 behaves like 403 response5506 returns 4035507 requesting with the escaped project full path5508 behaves like repository new tag5509 creates a new tag5510 when repository is disabled5511 behaves like 403 response5512 returns 4035513 when tag contains a dot5514 behaves like repository new tag5515 creates a new tag5516 when repository is disabled5517 behaves like 403 response5518 returns 4035519 annotated tag5520 creates a new annotated tag5521 DELETE /projects/:id/repository/tags/:tag_name5522 when authenticated as a maintainer5523 behaves like repository delete tag5524 deletes a tag5525 behaves like 412 response5526 for a modified resource5527 returns 412 with a JSON error5528 for an unmodified resource5529 returns 204 with an empty body5530 when tag does not exist5531 behaves like 404 response5532 returns 4045533 when repository is disabled5534 behaves like 403 response5535 returns 4035536 requesting with the escaped project full path5537 behaves like repository delete tag5538 deletes a tag5539 behaves like 412 response5540 for a modified resource5541 returns 412 with a JSON error5542 for an unmodified resource5543 returns 204 with an empty body5544 when tag does not exist5545 behaves like 404 response5546 returns 4045547 when repository is disabled5548 behaves like 403 response5549 returns 4035550 GET /projects/:id/repository/tags/:tag_name/signature5551 when tag does not exist5552 behaves like 404 response5553 returns 4045554 unsigned tag5555 behaves like 404 response5556 returns 4045557 x509 signed tag5558 returns correct JSON5559UsersController5560 GET #show5561 when the user exists and has public visibility5562 when logged in5563 behaves like renders the show template5564 renders the show template5565 when logged out5566 behaves like renders the show template5567 renders the show template5568 when public visibility level is restricted5569 when logged out5570 redirects to login page5571 when logged in5572 behaves like renders the show template5573 renders the show template5574 when a user by that username does not exist5575 when logged out5576 redirects to login page5577 when logged in5578 renders 4045579 requested in json format5580 returns 404 with deprecation message5581 GET /users/:username (deprecated user top)5582 redirects to /user15583 GET #activity5584 when the user exists and has public visibility5585 when logged in5586 behaves like renders the show template5587 renders the show template5588 when logged out5589 behaves like renders the show template5590 renders the show template5591 when public visibility level is restricted5592 when logged out5593 redirects to login page5594 when logged in5595 behaves like renders the show template5596 renders the show template5597 when a user by that username does not exist5598 when logged out5599 redirects to login page5600 when logged in5601 renders 4045602 requested in json format5603 when profile_tabs_vue feature flag is turned OFF5604 loads events5605 hides events if the user cannot read cross project5606 hides events if the user has a private profile5607 when profile_tabs_vue feature flag is turned ON5608 loads events5609 hides events if the user cannot read cross project5610 hides events if the user has a private profile5611 hides events if the user has a private profile5612 GET #ssh_keys5613 non existent user5614 does not generally work5615 user with no keys5616 responds the empty body with text/plain content type5617 user with keys5618 while signed in5619 behaves like renders all public keys5620 renders all non-deploy keys terminated with a new line with text/plain content type without the comment key5621 when logged out5622 behaves like renders all public keys5623 renders all non-deploy keys terminated with a new line with text/plain content type without the comment key5624 when public visibility is restricted5625 redirects to sign in5626 GET #gpg_keys5627 non existent user5628 does not generally work5629 user with no keys5630 responds the empty body with text/plain content type5631 user with keys5632 while signed in5633 behaves like renders all verified GPG keys5634 renders all verified keys terminated with a new line with text/plain content type5635 when logged out5636 behaves like renders all verified GPG keys5637 renders all verified keys terminated with a new line with text/plain content type5638 when revoked5639 while signed in5640 behaves like doesn't render revoked keys5641 doesn't render revoked keys5642 when logged out5643 behaves like doesn't render revoked keys5644 doesn't render revoked keys5645 GET #calendar5646 for user5647 with public profile5648 renders calendar5649 with private profile5650 does not render calendar5651 forked project5652 includes forked projects5653 GET #calendar_activities5654 renders activities on the specified day5655 for user5656 with public profile5657 renders calendar_activities5658 renders the correct url for issues and work items5659 avoids N+1 queries5660 with private profile5661 does not render calendar_activities5662 external authorization5663 behaves like disabled when using an external authorization service5664 works when the feature is not enabled5665 renders a 404 with a message when the feature is enabled5666 GET #contributed5667 with format: html5668 with public profile5669 behaves like renders contributed projects5670 renders contributed projects5671 with private profile5672 returns 4045673 with a user that has the ability to read private profiles5674 behaves like renders contributed projects5675 renders contributed projects5676 with format: json5677 with public profile5678 behaves like renders contributed projects5679 renders contributed projects5680 with private profile5681 returns 4045682 with a user that has the ability to read private profiles5683 does not list projects aimed for deletion5684 behaves like renders contributed projects5685 renders contributed projects5686 GET #starred5687 with format: html5688 with public profile5689 behaves like renders starred projects5690 renders starred projects5691 with private profile5692 returns 4045693 with a user that has the ability to read private profiles5694 behaves like renders starred projects5695 renders starred projects5696 with format: json5697 with public profile5698 behaves like renders starred projects5699 renders starred projects5700 with private profile5701 returns 4045702 with a user that has the ability to read private profiles5703 does not list projects aimed for deletion5704 behaves like renders starred projects5705 renders starred projects5706 GET #snippets5707 format html5708 renders snippets page5709 format json5710 response with snippets json data5711 external authorization5712 behaves like disabled when using an external authorization service5713 works when the feature is not enabled5714 renders a 404 with a message when the feature is enabled5715 GET #exists5716 when user exists5717 returns JSON indicating the user exists5718 when the casing is different5719 returns JSON indicating the user exists5720 when the user does not exist5721 will not show a signup page if registration is disabled5722 returns JSON indicating the user does not exist5723 when a user changed their username5724 returns JSON indicating a user by that username does not exist5725 when a project has the same name as a desired username5726 returns JSON indicating a user by that username does not exist5727 when the rate limit has been reached5728 returns status 429 Too Many Requests5729 #ensure_canonical_path5730 for a GET request5731 when requesting users at the root path5732 when requesting the canonical path5733 with exactly matching casing5734 responds with success5735 with different casing5736 redirects to the correct casing5737 when requesting a redirected path5738 behaves like redirects to the canonical path5739 redirects to the canonical path5740 when the old path is a substring of the scheme or host5741 behaves like redirects to the canonical path5742 redirects to the canonical path5743 when the old path is substring of users5744 behaves like redirects to the canonical path5745 redirects to the canonical path5746 when requesting users under the /users path5747 when requesting the canonical path5748 with exactly matching casing5749 responds with success5750 with different casing5751 redirects to the correct casing5752 when requesting a redirected path5753 behaves like redirects to the canonical path5754 redirects to the canonical path5755 when the old path is a substring of the scheme or host5756 behaves like redirects to the canonical path5757 redirects to the canonical path5758 when the old path is substring of users5759 behaves like redirects to the canonical path5760 redirects to the canonical path5761 POST #follow5762 when over followee limit5763WARNING: Active Record does not support composite primary key.5764user_follow_users has composite primary key. Composite primary key is ignored.5765 alerts and not follow5766 when user or followee disabled following5767 alerts and not follow if user disabled following5768 alerts and not follow if followee disabled following5769 token authentication5770 behaves like authenticates sessionless user for the request spec5771 show atom5772 when the 'private_token' param is populated with the personal access token5773 when valid token5774 when resource is public5775 authenticates user and returns response with ok status5776 when user with expired password5777 does not authenticate user and returns response with ok status5778 when the personal access token has no api scope5779 when resource is public5780 does not authenticate user and returns response with ok status5781 when invalid token5782 when resource is public5783 does not authenticate user and returns response with ok status5784 when the 'PRIVATE-TOKEN' header is populated with the personal access token5785 when valid token5786 when resource is public5787 authenticates user and returns response with ok status5788 when user with expired password5789 does not authenticate user and returns response with ok status5790 when the personal access token has no api scope5791 when resource is public5792 does not authenticate user and returns response with ok status5793 when invalid token5794 when resource is public5795 does not authenticate user and returns response with ok status5796 when the 'feed_token' param is populated with the feed token5797 when valid token5798 when resource is public5799 authenticates user and returns response with ok status5800 when user with expired password5801 does not authenticate user and returns response with ok status5802 when invalid token5803 when resource is public5804 does not authenticate user and returns response with ok status5805API::Ci::Runners5806 GET /runners5807 authorized user5808 returns response status and headers5809 returns user available runners5810 filters runners by scope5811 avoids filtering if scope is invalid5812 filters runners by type5813 does not filter by invalid type5814 does not filter by invalid status5815 filters runners by tag_list5816 with an inactive runner5817 filters runners by paused state5818 filters runners by status5819 unauthorized user5820 does not return runners5821 GET /runners/all5822 behaves like GET request permissions for admin mode5823 behaves like when admin5824 behaves like makes request5825 returns5826 behaves like makes request5827 returns5828 behaves like when user5829 returns5830 behaves like makes request5831 returns5832 authorized user5833 with admin privileges5834 returns response status and headers5835 returns all runners5836 filters runners by scope5837 filters runners by scope5838 avoids filtering if scope is invalid5839 filters runners by project type5840 filters runners by group type5841 does not filter by invalid type5842 does not filter by invalid status5843 filters runners by tag_list5844 with an inactive runner5845 filters runners by status5846 filters runners by status5847 without admin privileges5848 does not return runners list5849 unauthorized user5850 does not return runners5851 GET /runners/:id5852 behaves like GET request permissions for admin mode5853 behaves like when admin5854 behaves like makes request5855 returns5856 behaves like makes request5857 returns5858 behaves like when user5859 returns5860 behaves like makes request5861 returns5862 admin user5863 returns 404 if runner does not exist5864 when runner is shared5865 returns runner's details5866 when runner is not shared5867 returns runner's details5868 returns the project's details for a project runner5869 when unused runner is present5870 deletes unused runner5871 when the runner is a group runner5872 returns the runner's details5873 runner project's administrative user5874 when runner is not shared5875 returns runner's details5876 when runner is shared5877 returns runner's details5878 other authorized user5879 does not return project runner's details5880 unauthorized user5881 does not return project runner's details5882 PUT /runners/:id5883 behaves like PUT request permissions for admin mode5884 behaves like when admin5885 behaves like makes request5886 returns5887 behaves like makes request5888 returns5889 behaves like when user5890 returns5891 behaves like makes request5892 returns5893 admin user5894 returns 404 if runner does not exist5895 single parameter update5896 runner description5897 runner active state5898 runner paused state5899 runner tag list5900 unrelated runner attribute on an existing runner with too many tags5901 runner untagged flag5902 runner unlocked flag5903 runner access level5904 runner maximum timeout5905 fails with no parameters5906 when runner is shared5907 updates runner5908 when runner is not shared5909 updates runner5910 authorized user5911 when runner is shared5912 does not update runner5913 when runner is not shared5914 does not update project runner without access to it5915 updates project runner with access to it5916 unauthorized user5917 does not delete project runner5918 DELETE /runners/:id5919 behaves like DELETE request permissions for admin mode5920 behaves like when admin5921 behaves like makes request5922 returns5923 behaves like makes request5924 returns5925 behaves like when user5926 returns5927 behaves like makes request5928 returns5929 admin user5930 returns 404 if runner does not exist5931 when runner is shared5932 deletes runner5933 behaves like 412 response5934 for a modified resource5935 returns 412 with a JSON error5936 for an unmodified resource5937 returns 204 with an empty body5938 when runner is not shared5939 deletes used project runner5940 authorized user5941 when runner is shared5942 does not delete runner5943 when runner is not shared5944 does not delete runner without access to it5945 does not delete project runner with more than one associated project5946 deletes project runner for one owned project5947 does not delete group runner with guest access5948 does not delete group runner with reporter access5949 does not delete group runner with developer access5950 does not delete group runner with maintainer access5951 deletes owned group runner with owner access5952 deletes inherited group runner with owner access5953 behaves like 412 response5954 for a modified resource5955 returns 412 with a JSON error5956 for an unmodified resource5957 returns 204 with an empty body5958 unauthorized user5959 does not delete project runner5960 POST /runners/:id/reset_authentication_token5961 behaves like POST request permissions for admin mode5962 behaves like when admin5963 behaves like makes request5964 returns5965 behaves like makes request5966 returns5967 behaves like when user5968 returns5969 behaves like makes request5970 returns5971 admin user5972 resets shared runner authentication token5973 returns 404 if runner does not exist5974 authorized user5975 does not reset project runner authentication token without access to it5976 resets project runner authentication token for owned project5977 does not reset group runner authentication token with guest access5978 does not reset group runner authentication token with reporter access5979 does not reset group runner authentication token with developer access5980 does not reset group runner authentication token with maintainer access5981 resets group runner authentication token with owner access5982 resets group runner authentication token with owner access with expiration time5983 unauthorized user5984 does not reset authentication token5985 GET /runners/:id/jobs5986 behaves like GET request permissions for admin mode5987 behaves like when admin5988 behaves like makes request5989 returns5990 behaves like makes request5991 returns5992 behaves like when user5993 returns5994 behaves like makes request5995 returns5996 admin user5997 avoids N+1 DB queries5998 batches loading of commits5999 when runner exists6000 when runner is shared6001 return jobs6002 when runner is a project runner6003 return jobs6004 when user does not have authorization to see all jobs6005 shows only jobs it has permission to see6006 when valid status is provided6007 return filtered jobs6008 when valid order_by is provided6009 when sort order is not specified6010 return jobs in descending order6011 when sort order is specified as asc6012 return jobs sorted in ascending order6013 when invalid status is provided6014 return 4006015 when invalid order_by is provided6016 return 4006017 when invalid sort is provided6018 return 4006019 when runner doesn't exist6020 returns 4046021 runner project's administrative user6022 when runner exists6023 when runner is shared6024 returns 4036025 when runner is a project runner6026 return jobs6027 when valid status is provided6028 return filtered jobs6029 when invalid status is provided6030 return 4006031 when runner doesn't exist6032 returns 4046033 other authorized user6034 does not return jobs6035 unauthorized user6036 does not return jobs6037 GET /projects/:id/runners6038 authorized user with maintainer privileges6039 returns response status and headers6040 returns all runners6041 filters runners by scope6042 avoids filtering if scope is invalid6043 filters runners by type6044 does not filter by invalid type6045 does not filter by invalid status6046 filters runners by tag_list6047 with an inactive runner6048 filters runners by status6049 filters runners by status6050 behaves like unauthorized access to runners list6051 authorized user without maintainer privileges6052 does not return group's runners6053 unauthorized user6054 does not return project's runners6055 GET /groups/:id/runners6056 authorized user with maintainer privileges6057 returns all runners6058 filters runners by tag_list6059 filter by type6060 returns record when valid and present6061 returns instance runners when instance_type is specified6062 returns empty result when type does not match6063 does not filter by invalid type6064 with an inactive runner6065 returns runners by paused state6066 filter runners by status6067 returns runners by valid status6068 does not filter by invalid status6069 behaves like unauthorized access to runners list6070 authorized user without maintainer privileges6071 does not return group's runners6072 unauthorized user6073 does not return project's runners6074 POST /projects/:id/runners6075 behaves like POST request permissions for admin mode6076 behaves like when admin6077 behaves like makes request6078 returns6079 behaves like makes request6080 returns6081 behaves like when user6082 returns6083 behaves like makes request6084 returns6085 authorized user6086 enables project runner6087 avoids changes when enabling already enabled runner6088 does not enable locked runner6089 does not enable shared runner6090 does not enable group runner6091 raises an error when no runner_id param is provided6092 user is admin6093 when project runner is used6094 enables any project runner6095 when it exceeds the application limits6096 does not enable project runner6097 user is not admin6098 does not enable runner without access to6099 authorized user without permissions6100 does not enable runner6101 unauthorized user6102 does not enable runner6103 DELETE /projects/:id/runners/:runner_id6104 authorized user6105 returns 404 is runner is not found6106 when runner have more than one associated projects6107 disables project's runner6108 behaves like 412 response6109 for a modified resource6110 returns 412 with a JSON error6111 for an unmodified resource6112 returns 204 with an empty body6113 when runner have one associated projects6114 does not disable project's runner6115 authorized user without permissions6116 does not disable project's runner6117 unauthorized user6118 does not disable project's runner6119API::RpmProjectPackages6120 # order random6121 POST /api/v4/projects/:project_id/packages/rpm6122 with user token6123 with valid project6124 visibility_level: "PUBLIC", user_role: :developer, member: true, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :not_found, tracked: true6125 behaves like a package tracking event6126 creates a gitlab tracking event push_package6127 behaves like process rpm packages upload/download6128 behaves like returning response status6129 returns not_found6130 visibility_level: "PUBLIC", user_role: :guest, member: true, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :forbidden, tracked: false6131 behaves like not a package tracking event6132 does not create a gitlab tracking event6133 behaves like rejects rpm packages access6134 behaves like returning response status6135 returns forbidden6136 visibility_level: "PUBLIC", user_role: :developer, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6137 behaves like not a package tracking event6138 does not create a gitlab tracking event6139 behaves like rejects rpm packages access6140 has the correct response header6141 behaves like returning response status6142 returns unauthorized6143 visibility_level: "PUBLIC", user_role: :guest, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6144 behaves like not a package tracking event6145 does not create a gitlab tracking event6146 behaves like rejects rpm packages access6147 has the correct response header6148 behaves like returning response status6149 returns unauthorized6150 visibility_level: "PUBLIC", user_role: :developer, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :not_found, tracked: false6151 behaves like not a package tracking event6152 does not create a gitlab tracking event6153 behaves like rejects rpm packages access6154 behaves like returning response status6155 returns not_found6156 visibility_level: "PUBLIC", user_role: :guest, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :not_found, tracked: false6157 behaves like not a package tracking event6158 does not create a gitlab tracking event6159 behaves like rejects rpm packages access6160 behaves like returning response status6161 returns not_found6162 visibility_level: "PUBLIC", user_role: :developer, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6163 behaves like not a package tracking event6164 does not create a gitlab tracking event6165 behaves like rejects rpm packages access6166 has the correct response header6167 behaves like returning response status6168 returns unauthorized6169 visibility_level: "PUBLIC", user_role: :guest, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6170 behaves like not a package tracking event6171 does not create a gitlab tracking event6172 behaves like rejects rpm packages access6173 has the correct response header6174 behaves like returning response status6175 returns unauthorized6176 visibility_level: "PUBLIC", user_role: :anonymous, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6177 behaves like not a package tracking event6178 does not create a gitlab tracking event6179 behaves like rejects rpm packages access6180 has the correct response header6181 behaves like returning response status6182 returns unauthorized6183 visibility_level: "PRIVATE", user_role: :developer, member: true, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :not_found, tracked: true6184 behaves like a package tracking event6185 creates a gitlab tracking event push_package6186 behaves like process rpm packages upload/download6187 behaves like returning response status6188 returns not_found6189 visibility_level: "PRIVATE", user_role: :guest, member: true, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :forbidden, tracked: false6190 behaves like not a package tracking event6191 does not create a gitlab tracking event6192 behaves like rejects rpm packages access6193 behaves like returning response status6194 returns forbidden6195 visibility_level: "PRIVATE", user_role: :developer, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6196 behaves like not a package tracking event6197 does not create a gitlab tracking event6198 behaves like rejects rpm packages access6199 has the correct response header6200 behaves like returning response status6201 returns unauthorized6202 visibility_level: "PRIVATE", user_role: :guest, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6203 behaves like not a package tracking event6204 does not create a gitlab tracking event6205 behaves like rejects rpm packages access6206 has the correct response header6207 behaves like returning response status6208 returns unauthorized6209 visibility_level: "PRIVATE", user_role: :developer, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :not_found, tracked: false6210 behaves like not a package tracking event6211 does not create a gitlab tracking event6212 behaves like rejects rpm packages access6213 behaves like returning response status6214 returns not_found6215 visibility_level: "PRIVATE", user_role: :guest, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :not_found, tracked: false6216 behaves like not a package tracking event6217 does not create a gitlab tracking event6218 behaves like rejects rpm packages access6219 behaves like returning response status6220 returns not_found6221 visibility_level: "PRIVATE", user_role: :developer, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6222 behaves like not a package tracking event6223 does not create a gitlab tracking event6224 behaves like rejects rpm packages access6225 has the correct response header6226 behaves like returning response status6227 returns unauthorized6228 visibility_level: "PRIVATE", user_role: :guest, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6229 behaves like not a package tracking event6230 does not create a gitlab tracking event6231 behaves like rejects rpm packages access6232 has the correct response header6233 behaves like returning response status6234 returns unauthorized6235 visibility_level: "PRIVATE", user_role: :anonymous, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized, tracked: false6236 behaves like not a package tracking event6237 does not create a gitlab tracking event6238 behaves like rejects rpm packages access6239 has the correct response header6240 behaves like returning response status6241 returns unauthorized6242 when user can upload file6243 when file size too large6244 returns an error6245 when filelists.xml file size too large6246 returns an error6247 behaves like a deploy token for RPM requests6248 with deploy token headers6249 when token is valid6250 behaves like returning response status6251 returns not_found6252 when token is invalid6253 behaves like returning response status6254 returns unauthorized6255 behaves like a job token for RPM requests6256 with job token headers6257 with valid token6258 behaves like returning response status6259 returns not_found6260 with invalid token6261 behaves like returning response status6262 returns unauthorized6263 with invalid user6264 behaves like returning response status6265 returns unauthorized6266 GET /api/v4/projects/:project_id/packages/rpm/repodata/:filename6267 behaves like a job token for RPM requests6268 with job token headers6269 with valid token6270 behaves like returning response status6271 returns success6272 with invalid token6273 behaves like returning response status6274 returns unauthorized6275 with invalid user6276 behaves like returning response status6277 returns unauthorized6278 behaves like a deploy token for RPM requests6279 with deploy token headers6280 when token is valid6281 behaves like returning response status6282 returns success6283 when token is invalid6284 behaves like returning response status6285 returns unauthorized6286 behaves like a user token for RPM requests6287 with valid project6288 visibility_level: "PUBLIC", user_role: :developer, member: true, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :success6289 behaves like process rpm packages upload/download6290 behaves like returning response status6291 returns success6292 visibility_level: "PUBLIC", user_role: :guest, member: true, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :forbidden6293 behaves like process rpm packages upload/download6294 behaves like returning response status6295 returns forbidden6296 visibility_level: "PUBLIC", user_role: :developer, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6297 behaves like rejects rpm packages access6298 has the correct response header6299 behaves like returning response status6300 returns unauthorized6301 visibility_level: "PUBLIC", user_role: :guest, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6302 behaves like rejects rpm packages access6303 has the correct response header6304 behaves like returning response status6305 returns unauthorized6306 visibility_level: "PUBLIC", user_role: :developer, member: false, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :not_found6307 behaves like process rpm packages upload/download6308 behaves like returning response status6309 returns not_found6310 visibility_level: "PUBLIC", user_role: :guest, member: false, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :not_found6311 behaves like process rpm packages upload/download6312 behaves like returning response status6313 returns not_found6314 visibility_level: "PUBLIC", user_role: :developer, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6315 behaves like rejects rpm packages access6316 has the correct response header6317 behaves like returning response status6318 returns unauthorized6319 visibility_level: "PUBLIC", user_role: :guest, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6320 behaves like rejects rpm packages access6321 has the correct response header6322 behaves like returning response status6323 returns unauthorized6324 visibility_level: "PUBLIC", user_role: :anonymous, member: false, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :unauthorized6325 behaves like process rpm packages upload/download6326 behaves like returning response status6327 returns unauthorized6328 visibility_level: "PRIVATE", user_role: :developer, member: true, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :success6329 behaves like process rpm packages upload/download6330 behaves like returning response status6331 returns success6332 visibility_level: "PRIVATE", user_role: :guest, member: true, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :forbidden6333 behaves like rejects rpm packages access6334 behaves like returning response status6335 returns forbidden6336 visibility_level: "PRIVATE", user_role: :developer, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6337 behaves like rejects rpm packages access6338 has the correct response header6339 behaves like returning response status6340 returns unauthorized6341 visibility_level: "PRIVATE", user_role: :guest, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6342 behaves like rejects rpm packages access6343 has the correct response header6344 behaves like returning response status6345 returns unauthorized6346 visibility_level: "PRIVATE", user_role: :developer, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :not_found6347 behaves like rejects rpm packages access6348 behaves like returning response status6349 returns not_found6350 visibility_level: "PRIVATE", user_role: :guest, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :not_found6351 behaves like rejects rpm packages access6352 behaves like returning response status6353 returns not_found6354 visibility_level: "PRIVATE", user_role: :developer, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6355 behaves like rejects rpm packages access6356 has the correct response header6357 behaves like returning response status6358 returns unauthorized6359 visibility_level: "PRIVATE", user_role: :guest, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6360 behaves like rejects rpm packages access6361 has the correct response header6362 behaves like returning response status6363 returns unauthorized6364 visibility_level: "PRIVATE", user_role: :anonymous, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6365 behaves like rejects rpm packages access6366 has the correct response header6367 behaves like returning response status6368 returns unauthorized6369 POST /api/v4/projects/:project_id/packages/rpm/authorize6370 behaves like returning response status6371 returns not_found6372 when feature flag is disabled6373 behaves like returning response status6374 returns not_found6375 when package feature is disabled6376 behaves like returning response status6377 returns not_found6378 GET /api/v4/projects/:id/packages/rpm/:package_file_id/:filename6379 behaves like a package tracking event6380 creates a gitlab tracking event pull_package6381 behaves like a job token for RPM requests6382 with job token headers6383 with valid token6384 behaves like returning response status6385 returns not_found6386 with invalid token6387 behaves like returning response status6388 returns unauthorized6389 with invalid user6390 behaves like returning response status6391 returns unauthorized6392 behaves like a deploy token for RPM requests6393 with deploy token headers6394 when token is valid6395 behaves like returning response status6396 returns not_found6397 when token is invalid6398 behaves like returning response status6399 returns unauthorized6400 behaves like a user token for RPM requests6401 with valid project6402 visibility_level: "PUBLIC", user_role: :developer, member: true, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :not_found6403 behaves like process rpm packages upload/download6404 behaves like returning response status6405 returns not_found6406 visibility_level: "PUBLIC", user_role: :guest, member: true, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :forbidden6407 behaves like process rpm packages upload/download6408 behaves like returning response status6409 returns forbidden6410 visibility_level: "PUBLIC", user_role: :developer, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6411 behaves like rejects rpm packages access6412 has the correct response header6413 behaves like returning response status6414 returns unauthorized6415 visibility_level: "PUBLIC", user_role: :guest, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6416 behaves like rejects rpm packages access6417 has the correct response header6418 behaves like returning response status6419 returns unauthorized6420 visibility_level: "PUBLIC", user_role: :developer, member: false, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :not_found6421 behaves like process rpm packages upload/download6422 behaves like returning response status6423 returns not_found6424 visibility_level: "PUBLIC", user_role: :guest, member: false, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :not_found6425 behaves like process rpm packages upload/download6426 behaves like returning response status6427 returns not_found6428 visibility_level: "PUBLIC", user_role: :developer, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6429 behaves like rejects rpm packages access6430 has the correct response header6431 behaves like returning response status6432 returns unauthorized6433 visibility_level: "PUBLIC", user_role: :guest, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6434 behaves like rejects rpm packages access6435 has the correct response header6436 behaves like returning response status6437 returns unauthorized6438 visibility_level: "PUBLIC", user_role: :anonymous, member: false, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :unauthorized6439 behaves like process rpm packages upload/download6440 behaves like returning response status6441 returns unauthorized6442 visibility_level: "PRIVATE", user_role: :developer, member: true, user_token: true, shared_examples_name: "process rpm packages upload/download", expected_status: :not_found6443 behaves like process rpm packages upload/download6444 behaves like returning response status6445 returns not_found6446 visibility_level: "PRIVATE", user_role: :guest, member: true, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :forbidden6447 behaves like rejects rpm packages access6448 behaves like returning response status6449 returns forbidden6450 visibility_level: "PRIVATE", user_role: :developer, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6451 behaves like rejects rpm packages access6452 has the correct response header6453 behaves like returning response status6454 returns unauthorized6455 visibility_level: "PRIVATE", user_role: :guest, member: true, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6456 behaves like rejects rpm packages access6457 has the correct response header6458 behaves like returning response status6459 returns unauthorized6460 visibility_level: "PRIVATE", user_role: :developer, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :not_found6461 behaves like rejects rpm packages access6462 behaves like returning response status6463 returns not_found6464 visibility_level: "PRIVATE", user_role: :guest, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :not_found6465 behaves like rejects rpm packages access6466 behaves like returning response status6467 returns not_found6468 visibility_level: "PRIVATE", user_role: :developer, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6469 behaves like rejects rpm packages access6470 has the correct response header6471 behaves like returning response status6472 returns unauthorized6473 visibility_level: "PRIVATE", user_role: :guest, member: false, user_token: false, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6474 behaves like rejects rpm packages access6475 has the correct response header6476 behaves like returning response status6477 returns unauthorized6478 visibility_level: "PRIVATE", user_role: :anonymous, member: false, user_token: true, shared_examples_name: "rejects rpm packages access", expected_status: :unauthorized6479 behaves like rejects rpm packages access6480 has the correct response header6481 behaves like returning response status6482 returns unauthorized6483SessionsController6484 #new6485 redirects correctly for referer on same host with params6486 when auto sign-in is enabled6487 and no auto_sign_in param is passed6488 redirects to :omniauth_authorize_path6489 and auto_sign_in=false param is passed6490 responds with 2006491 with LDAP enabled6492 ldap_servers available in helper6493 with sign_in disabled6494 no ldap_servers available in helper6495 behaves like switches to user preferred language6496 with preferred_language in cookies6497 renders new template with cookies preferred language6498 #create6499 behaves like known sign in6500 when the remote IP and the last sign in IP match6501 does not notify the user6502 sets/updates the encrypted cookie6503 when the remote IP and the last sign in IP do not match6504 notifies the user when the cookie is expired6505 notifies the user when the cookie is for another user6506 does not notify the user when remote IP matches an active session6507 does not notify the user when the cookie is present and not expired6508 when the cookie is not previously set6509 notifies the user6510 sets the encrypted cookie6511 when notify_on_unknown_sign_in global setting is false6512 does not notify the user6513 does not set a cookie6514 when using standard authentications6515 invalid password6516 does not authenticate user6517 a blocked user6518 does not authenticate the user6519 a `blocked pending approval` user6520 does not authenticate the user6521 an internal user6522 does not authenticate the user6523 when using valid password6524 authenticates user correctly6525 creates an audit log record6526 creates an authentication event record6527 allows user authenticating from the same ip6528 blocks user authenticating from two distinct ips6529 updates the user activity6530 a deactivated user6531 is allowed to login6532 activates the user6533 shows reactivation flash message after logging in6534 with password authentication disabled6535 does not sign in the user6536 returns status 4036537 with reCAPTCHA6538 when reCAPTCHA is enabled6539 successfully logs in a user when reCAPTCHA is solved6540 when the reCAPTCHA is not solved6541 displays an error6542 sets gon variables6543 when reCAPTCHA login protection is enabled6544 when user tried to login 5 times6545 displays an error when the reCAPTCHA is not solved6546 successfully logs in a user when reCAPTCHA is solved6547 when there are more than 5 anonymous session with the same IP6548 displays an error when the reCAPTCHA is not solved6549 successfully logs in a user when reCAPTCHA is solved6550 when using two-factor authentication via OTP6551 creates an audit log record6552 creates an authentication event record6553 remember_me field6554 sets a remember_user_token cookie when enabled6555 does nothing when disabled6556 with password authentication disabled6557 allows 2FA stage of non-password login6558 when otp_user_id is stale6559 favors login over otp_user_id when password is present and does not authenticate the user6560 when authenticating with login and OTP of another user6561 when another user has 2FA enabled6562 when OTP is valid for another user6563 does not authenticate6564 when OTP is invalid for another user6565 does not authenticate6566 when authenticating with OTP6567 when OTP is valid6568 authenticates correctly6569 when OTP is invalid6570 does not authenticate6571 warns about invalid OTP code6572 sends an email to the user informing about the attempt to sign in with a wrong OTP code6573 when the user is on their last attempt6574 when OTP is valid6575 authenticates correctly6576 when OTP is invalid6577 does not authenticate6578 warns about invalid login6579 locks the user6580 keeps the user locked on future login attempts6581 when rendering devise two factor6582 adds gon variables6583 when using two-factor authentication via WebAuthn device6584 creates an audit log record6585 creates an authentication event record6586 remember_me field6587 sets a remember_user_token cookie when enabled6588 does nothing when disabled6589 when the user is locked and submits a valid verification token6590 successfully logs in a user6591 behaves like known sign in6592 when the remote IP and the last sign in IP match6593 does not notify the user6594 sets/updates the encrypted cookie6595 when the remote IP and the last sign in IP do not match6596 notifies the user when the cookie is expired6597 notifies the user when the cookie is for another user6598 does not notify the user when remote IP matches an active session6599 does not notify the user when the cookie is present and not expired6600 when the cookie is not previously set6601 notifies the user6602 sets the encrypted cookie6603 when notify_on_unknown_sign_in global setting is false6604 does not notify the user6605 does not set a cookie6606 when login fails6607 does increment failed login counts for session6608 #set_current_context6609 when signed in6610 sets the username and caller_id in the context6611 when not signed in6612 sets the caller_id in the context6613 when the user becomes locked6614 sets the caller_id in the context6615 #destroy6616 for a user whose password has expired6617 allows to sign out successfully6618UploadsController6619 POST #authorize6620 behaves like handle uploads authorize6621 POST #authorize6622 when a user is not authorized to upload a file6623 returns 404 status6624 when id is not passed as a param6625 returns 404 status6626 when a user can upload a file6627 and the request bypassed workhorse6628 raises an exception6629 and request is sent by gitlab-workhorse to authorize the request6630 when using local storage6631 behaves like a local file6632 behaves like a valid response6633 responds with status 2006634 uses the gitlab-workhorse content type6635 responds with status 200, location of uploads store and object details6636 when using remote storage6637 when direct upload is enabled6638 behaves like a valid response6639 responds with status 2006640 uses the gitlab-workhorse content type6641 responds with status 200, location of uploads remote store and object details6642 when direct upload is disabled6643 behaves like a local file6644 behaves like a valid response6645 responds with status 2006646 uses the gitlab-workhorse content type6647 responds with status 200, location of uploads store and object details6648 POST create6649 snippet uploads6650 when a user does not have permissions to upload a file6651 returns 401 when the user is not logged in6652 returns 404 when user can't comment on a snippet6653 when a user is logged in6654 returns an error without file6655 returns an error with invalid model6656 returns 404 status when object not found6657 with valid image6658 returns a content with original filename, new link, and correct type.6659 creates a corresponding Upload record6660 with valid non-image file6661 returns a content with original filename, new link, and correct type.6662 creates a corresponding Upload record6663 user uploads6664 returns 401 when the user has no access6665 when user is logged in6666 returns a content with original filename, new link, and correct type.6667 creates a corresponding Upload record6668 returns 404 when given user is not the logged in one6669 with valid non-image file6670 returns a content with original filename, new link, and correct type.6671 creates a corresponding Upload record6672 GET show6673 Content-Disposition security measures6674 for PNG files6675 behaves like uploaded file with disposition6676 returns correct Content-Disposition6677 for PDF files6678 behaves like uploaded file with disposition6679 returns correct Content-Disposition6680 for SVG files6681 behaves like uploaded file with disposition6682 returns correct Content-Disposition6683 when viewing a user avatar6684 when signed in6685 when the user is blocked6686 responds with status 4016687 when the user isn't blocked6688 responds with status 2006689 behaves like content publicly cached6690 ensures content is publicly cached6691 when not signed in6692 when restricted visibility level is not set to public6693 responds with status 2006694 behaves like content publicly cached6695 ensures content is publicly cached6696 when restricted visibility level is set to public6697 responds with status 4016698 when viewing a project avatar6699 when the project is public6700 when not signed in6701 responds with status 2006702 behaves like content 5 min private cached with revalidation6703 ensures content will not be cached without revalidation6704 when signed in6705 responds with status 2006706 behaves like content 5 min private cached with revalidation6707 ensures content will not be cached without revalidation6708 when the project is private6709 when not signed in6710 responds with status 4016711 when signed in6712 when the user has access to the project6713 when the user is blocked6714 responds with status 4016715 when the user isn't blocked6716 responds with status 2006717 behaves like content 5 min private cached with revalidation6718 ensures content will not be cached without revalidation6719 when the user doesn't have access to the project6720 responds with status 4046721 when viewing a group avatar6722 when the group is public6723 when not signed in6724 responds with status 2006725 behaves like content 5 min private cached with revalidation6726 ensures content will not be cached without revalidation6727 when signed in6728 responds with status 2006729 behaves like content 5 min private cached with revalidation6730 ensures content will not be cached without revalidation6731 when the group is private6732 when signed in6733 when the user has access to the project6734 when the user is blocked6735 responds with status 4016736 when the user isn't blocked6737 responds with status 2006738 behaves like content 5 min private cached with revalidation6739 ensures content will not be cached without revalidation6740 when the user doesn't have access to the project6741 responds with status 4046742 when viewing a note attachment6743 when the project is public6744 when not signed in6745 responds with status 2006746 behaves like content not cached6747 ensures content will not be cached without revalidation6748 when signed in6749 responds with status 2006750 behaves like content not cached6751 ensures content will not be cached without revalidation6752 when the project is private6753 when not signed in6754 responds with status 4016755 when signed in6756 when the user has access to the project6757 when the user is blocked6758 responds with status 4016759 when the user isn't blocked6760 responds with status 2006761 behaves like content not cached6762 ensures content will not be cached without revalidation6763 when the user doesn't have access to the project6764 responds with status 4046765 when viewing a topic avatar6766 when signed in6767 responds with status 2006768 behaves like content publicly cached6769 ensures content is publicly cached6770 when not signed in6771 responds with status 2006772 behaves like content publicly cached6773 ensures content is publicly cached6774 Appearance6775 when viewing a custom pwa icon6776 behaves like view custom logo6777 when not signed in6778 responds with status 2006779 behaves like content publicly cached6780 ensures content is publicly cached6781 when viewing a custom header logo6782 behaves like view custom logo6783 when not signed in6784 responds with status 2006785 behaves like content publicly cached6786 ensures content is publicly cached6787 when viewing a custom logo6788 behaves like view custom logo6789 when not signed in6790 responds with status 2006791 behaves like content publicly cached6792 ensures content is publicly cached6793 original filename or a version filename must match6794 has a valid filename on the original file6795 successfully returns the file6796 has an invalid filename on the original file6797 returns a 4046798 when viewing alert metric images6799 responds with status 2006800 when viewing an achievement6801 when signed in6802 responds with status 2006803 behaves like content publicly cached6804 ensures content is publicly cached6805 when not signed in6806 responds with status 2006807 behaves like content publicly cached6808 ensures content is publicly cached6809Emails::MergeRequests6810 #new_mention_in_merge_request_email6811 has the correct subject and body6812 #merge_request_unmergeable_email6813 is sent as the merge request author6814 has the correct subject and body6815 behaves like an answer to an existing thread with reply-by-email enabled6816 has X-GitLab-Project headers6817 has X-GitLab-*-ID header6818 has X-GitLab-*-IID header if model has iid defined6819 has X-GitLab-Project headers6820 has X-GitLab-*-ID header6821 has X-GitLab-*-IID header if model has iid defined6822 has the characteristics of a threaded reply6823 when reply-by-email is enabled with incoming address with %{key}6824 has a Reply-To header6825 when reply-by-email is enabled with incoming address without %{key}6826 has X-GitLab-Project headers6827 has X-GitLab-*-ID header6828 has X-GitLab-*-IID header if model has iid defined6829 has the characteristics of a threaded reply6830 has a Reply-To header6831 behaves like a multiple recipients email6832 is sent to the given recipient6833 behaves like it should show Gmail Actions View Merge request link6834 is expected to have body including "View Merge request"6835 behaves like it should have Gmail Actions links6836 is expected to have body including "ViewAction"6837 behaves like an unsubscribeable thread6838 has a List-Unsubscribe header in the correct format, and a body link6839 behaves like an unsubscribeable thread with incoming address without %{key}6840 has a List-Unsubscribe header in the correct format, and a body link6841 behaves like appearance header and footer enabled6842 contains header and footer6843 behaves like appearance header and footer not enabled6844 does not contain header and footer6845 #closed_merge_request_email6846 is sent as the author6847 has the correct subject and body6848 behaves like an answer to an existing thread with reply-by-email enabled6849 has X-GitLab-Project headers6850 has X-GitLab-*-ID header6851 has X-GitLab-*-IID header if model has iid defined6852 has X-GitLab-Project headers6853 has X-GitLab-*-ID header6854 has X-GitLab-*-IID header if model has iid defined6855 has the characteristics of a threaded reply6856 when reply-by-email is enabled with incoming address with %{key}6857 has a Reply-To header6858 when reply-by-email is enabled with incoming address without %{key}6859 has X-GitLab-Project headers6860 has X-GitLab-*-ID header6861 has X-GitLab-*-IID header if model has iid defined6862 has the characteristics of a threaded reply6863 has a Reply-To header6864 behaves like it should show Gmail Actions View Merge request link6865 is expected to have body including "View Merge request"6866 behaves like it should have Gmail Actions links6867 is expected to have body including "ViewAction"6868 behaves like an unsubscribeable thread6869 has a List-Unsubscribe header in the correct format, and a body link6870 behaves like an unsubscribeable thread with incoming address without %{key}6871 has a List-Unsubscribe header in the correct format, and a body link6872 behaves like appearance header and footer enabled6873 contains header and footer6874 behaves like appearance header and footer not enabled6875 does not contain header and footer6876 #merged_merge_request_email6877 is sent as the merge author6878 has the correct subject and body6879 behaves like a multiple recipients email6880 is sent to the given recipient6881 behaves like an answer to an existing thread with reply-by-email enabled6882 has X-GitLab-Project headers6883 has X-GitLab-*-ID header6884 has X-GitLab-*-IID header if model has iid defined6885 has X-GitLab-Project headers6886 has X-GitLab-*-ID header6887 has X-GitLab-*-IID header if model has iid defined6888 has the characteristics of a threaded reply6889 when reply-by-email is enabled with incoming address with %{key}6890 has a Reply-To header6891 when reply-by-email is enabled with incoming address without %{key}6892 has X-GitLab-Project headers6893 has X-GitLab-*-ID header6894 has X-GitLab-*-IID header if model has iid defined6895 has the characteristics of a threaded reply6896 has a Reply-To header6897 behaves like it should show Gmail Actions View Merge request link6898 is expected to have body including "View Merge request"6899 behaves like it should have Gmail Actions links6900 is expected to have body including "ViewAction"6901 behaves like an unsubscribeable thread6902 has a List-Unsubscribe header in the correct format, and a body link6903 behaves like an unsubscribeable thread with incoming address without %{key}6904 has a List-Unsubscribe header in the correct format, and a body link6905 behaves like appearance header and footer enabled6906 contains header and footer6907 behaves like appearance header and footer not enabled6908 does not contain header and footer6909 #merge_request_status_email6910 is sent as the author6911 has the correct subject and body6912 behaves like an answer to an existing thread with reply-by-email enabled6913 has X-GitLab-Project headers6914 has X-GitLab-*-ID header6915 has X-GitLab-*-IID header if model has iid defined6916 has X-GitLab-Project headers6917 has X-GitLab-*-ID header6918 has X-GitLab-*-IID header if model has iid defined6919 has the characteristics of a threaded reply6920 when reply-by-email is enabled with incoming address with %{key}6921 has a Reply-To header6922 when reply-by-email is enabled with incoming address without %{key}6923 has X-GitLab-Project headers6924 has X-GitLab-*-ID header6925 has X-GitLab-*-IID header if model has iid defined6926 has the characteristics of a threaded reply6927 has a Reply-To header6928 behaves like it should show Gmail Actions View Merge request link6929 is expected to have body including "View Merge request"6930 behaves like it should have Gmail Actions links6931 is expected to have body including "ViewAction"6932 behaves like an unsubscribeable thread6933 has a List-Unsubscribe header in the correct format, and a body link6934 behaves like an unsubscribeable thread with incoming address without %{key}6935 has a List-Unsubscribe header in the correct format, and a body link6936 behaves like appearance header and footer enabled6937 contains header and footer6938 behaves like appearance header and footer not enabled6939 does not contain header and footer6940 #merge_when_pipeline_succeeds_email6941 has required details6942 #approved_merge_request_email6943 has the correct body6944 #unapproved_merge_request_email6945 has the correct body6946 #resolved_all_discussions_email6947 includes the name of the resolver6948 #merge_requests_csv_email6949 is expected to eq "Project-117 Name | Exported merge requests"6950 is expected to contain exactly "notifications@example.com"6951 is expected to have text "Your CSV export of 10 merge requests from project"6952 is expected to have text "Your CSV export of 10 merge requests from project"6953 when truncated6954 is expected to have text "attachment has been truncated to avoid exceeding the maximum allowed attachment size of 15 MiB."6955Creation of a new release6956 when the current user has access to create releases6957 when all available mutation arguments are provided6958 returns the new release data6959 behaves like no errors6960 returns no errors6961 when only the required mutation arguments are provided6962 returns the new release data6963 behaves like no errors6964 returns no errors6965 when the provided tag already exists6966 does not create a new tag6967 behaves like no errors6968 returns no errors6969 when the provided tag does not already exist6970 creates a new lightweight tag6971 behaves like no errors6972 returns no errors6973 and tag_message is provided6974 creates a new annotated tag with the message6975 behaves like no errors6976 returns no errors6977 when a local timezone is provided for releasedAt6978 returns the correct releasedAt date in UTC6979 behaves like no errors6980 returns no errors6981 when no releasedAt is provided6982 sets releasedAt to the current time6983 behaves like no errors6984 returns no errors6985 when a release asset doesn't include an explicit linkType6986 defaults the linkType to OTHER6987 behaves like no errors6988 returns no errors6989 when a release asset doesn't include a directAssetPath6990 returns the provided url as the directAssetUrl6991 behaves like no errors6992 returns no errors6993 empty milestones6994 when the milestones parameter is not provided6995 behaves like no associated milestones6996 creates a release with no associated milestones6997 behaves like no errors6998 returns no errors6999 when the milestones parameter is null7000 behaves like no associated milestones7001 creates a release with no associated milestones7002 behaves like no errors7003 returns no errors7004 when the milestones parameter is an empty array7005 behaves like no associated milestones7006 creates a release with no associated milestones7007 behaves like no errors7008 returns no errors7009 validation7010 when a release is already associated to the specified tag7011 behaves like errors-as-data with message7012 returns an error-as-data with message7013 when a provided milestone doesn't exist7014 behaves like errors-as-data with message7015 returns an error-as-data with message7016 when a provided milestone belongs to a different project than the release7017 behaves like errors-as-data with message7018 returns an error-as-data with message7019 when two release assets share the same name7020 behaves like errors-as-data with message7021 returns an error-as-data with message7022 when two release assets share the same URL7023 behaves like errors-as-data with message7024 returns an error-as-data with message7025 when the provided tag name is HEAD7026 behaves like errors-as-data with message7027 returns an error-as-data with message7028 when the provided tag name is empty7029 behaves like errors-as-data with message7030 returns an error-as-data with message7031 when the provided tag doesn't already exist, and no ref parameter was provided7032 behaves like errors-as-data with message7033 returns an error-as-data with message7034 when the current user doesn't have access to create releases7035 when the current user is a Reporter7036 behaves like top-level error with message7037 returns a top-level error with message7038 when the current user is a Guest7039 behaves like top-level error with message7040 returns a top-level error with message7041 when the current user is a public user7042 behaves like top-level error with message7043 returns a top-level error with message7044Updating the container expiration policy7045 post graphql mutation7046 with existing container expiration policy7047 user_role: :maintainer, shared_examples_name: "accepting the mutation request updating the container expiration policy"7048 behaves like accepting the mutation request updating the container expiration policy7049 behaves like updating the container expiration policy attributes7050 updates the container expiration policy7051 behaves like not creating the container expiration policy7052 doesn't create the container expiration policy7053 behaves like returning a success7054 returns the updated container expiration policy7055 behaves like returning response status7056 returns success7057 behaves like rejecting invalid regex for7058 for field name_regex7059 returns an error7060 behaves like returning response status7061 returns success7062 behaves like not creating the container expiration policy7063 doesn't create the container expiration policy7064 behaves like rejecting invalid regex for7065 for field name_regex_keep7066 returns an error7067 behaves like returning response status7068 returns success7069 behaves like not creating the container expiration policy7070 doesn't create the container expiration policy7071 behaves like rejecting blank name_regex when enabled7072 for blank name_regex7073 returns an error7074 behaves like returning response status7075 returns success7076 behaves like not creating the container expiration policy7077 doesn't create the container expiration policy7078 user_role: :developer, shared_examples_name: "denying the mutation request"7079 behaves like denying the mutation request7080 returns no response7081 behaves like not creating the container expiration policy7082 doesn't create the container expiration policy7083 behaves like returning response status7084 returns success7085 user_role: :reporter, shared_examples_name: "denying the mutation request"7086 behaves like denying the mutation request7087 returns no response7088 behaves like not creating the container expiration policy7089 doesn't create the container expiration policy7090 behaves like returning response status7091 returns success7092 user_role: :guest, shared_examples_name: "denying the mutation request"7093 behaves like denying the mutation request7094 returns no response7095 behaves like not creating the container expiration policy7096 doesn't create the container expiration policy7097 behaves like returning response status7098 returns success7099 user_role: :anonymous, shared_examples_name: "denying the mutation request"7100 behaves like denying the mutation request7101 returns no response7102 behaves like not creating the container expiration policy7103 doesn't create the container expiration policy7104 behaves like returning response status7105 returns success7106 without existing container expiration policy7107 user_role: :maintainer, shared_examples_name: "accepting the mutation request creating the container expiration policy"7108 behaves like accepting the mutation request creating the container expiration policy7109 behaves like creating the container expiration policy7110 behaves like updating the container expiration policy attributes7111 creates a new container expiration policy7112 updates the container expiration policy7113 behaves like returning a success7114 returns the updated container expiration policy7115 behaves like returning response status7116 returns success7117 behaves like returning a success7118 returns the updated container expiration policy7119 behaves like returning response status7120 returns success7121 behaves like rejecting invalid regex for7122 for field name_regex7123 returns an error7124 behaves like returning response status7125 returns success7126 behaves like not creating the container expiration policy7127 doesn't create the container expiration policy7128 behaves like rejecting invalid regex for7129 for field name_regex_keep7130 returns an error7131 behaves like returning response status7132 returns success7133 behaves like not creating the container expiration policy7134 doesn't create the container expiration policy7135 behaves like rejecting blank name_regex when enabled7136 for blank name_regex7137 returns an error7138 behaves like returning response status7139 returns success7140 behaves like not creating the container expiration policy7141 doesn't create the container expiration policy7142 user_role: :developer, shared_examples_name: "denying the mutation request"7143 behaves like denying the mutation request7144 returns no response7145 behaves like not creating the container expiration policy7146 doesn't create the container expiration policy7147 behaves like returning response status7148 returns success7149 user_role: :reporter, shared_examples_name: "denying the mutation request"7150 behaves like denying the mutation request7151 returns no response7152 behaves like not creating the container expiration policy7153 doesn't create the container expiration policy7154 behaves like returning response status7155 returns success7156 user_role: :guest, shared_examples_name: "denying the mutation request"7157 behaves like denying the mutation request7158 returns no response7159 behaves like not creating the container expiration policy7160 doesn't create the container expiration policy7161 behaves like returning response status7162 returns success7163 user_role: :anonymous, shared_examples_name: "denying the mutation request"7164 behaves like denying the mutation request7165 returns no response7166 behaves like not creating the container expiration policy7167 doesn't create the container expiration policy7168 behaves like returning response status7169 returns success7170Internal Project Pages Access7171 Project should be internal7172 #internal?7173 is expected to be truthy7174 GET /projects/:id/pages_access7175 access depends on the level7176 pages_access_level: 0, with_user: "admin", admin_mode: true, expected_result: 4037177 correct return value7178 pages_access_level: 0, with_user: "owner", admin_mode: false, expected_result: 4037179 correct return value7180 pages_access_level: 0, with_user: "master", admin_mode: false, expected_result: 4037181 correct return value7182 pages_access_level: 0, with_user: "developer", admin_mode: false, expected_result: 4037183 correct return value7184 pages_access_level: 0, with_user: "reporter", admin_mode: false, expected_result: 4037185 correct return value7186 pages_access_level: 0, with_user: "guest", admin_mode: false, expected_result: 4037187 correct return value7188 pages_access_level: 0, with_user: "user", admin_mode: false, expected_result: 4037189 correct return value7190 pages_access_level: 0, with_user: nil, admin_mode: false, expected_result: 4047191 correct return value7192 pages_access_level: 30, with_user: "admin", admin_mode: false, expected_result: 2007193 correct return value7194 pages_access_level: 30, with_user: "owner", admin_mode: false, expected_result: 2007195 correct return value7196 pages_access_level: 30, with_user: "master", admin_mode: false, expected_result: 2007197 correct return value7198 pages_access_level: 30, with_user: "developer", admin_mode: false, expected_result: 2007199 correct return value7200 pages_access_level: 30, with_user: "reporter", admin_mode: false, expected_result: 2007201 correct return value7202 pages_access_level: 30, with_user: "guest", admin_mode: false, expected_result: 2007203 correct return value7204 pages_access_level: 30, with_user: "user", admin_mode: false, expected_result: 2007205 correct return value7206 pages_access_level: 30, with_user: nil, admin_mode: false, expected_result: 4047207 correct return value7208 pages_access_level: 20, with_user: "admin", admin_mode: false, expected_result: 2007209 correct return value7210 pages_access_level: 20, with_user: "owner", admin_mode: false, expected_result: 2007211 correct return value7212 pages_access_level: 20, with_user: "master", admin_mode: false, expected_result: 2007213 correct return value7214 pages_access_level: 20, with_user: "developer", admin_mode: false, expected_result: 2007215 correct return value7216 pages_access_level: 20, with_user: "reporter", admin_mode: false, expected_result: 2007217 correct return value7218 pages_access_level: 20, with_user: "guest", admin_mode: false, expected_result: 2007219 correct return value7220 pages_access_level: 20, with_user: "user", admin_mode: false, expected_result: 2007221 correct return value7222 pages_access_level: 20, with_user: nil, admin_mode: false, expected_result: 4047223 correct return value7224 pages_access_level: 10, with_user: "admin", admin_mode: true, expected_result: 2007225 correct return value7226 pages_access_level: 10, with_user: "owner", admin_mode: false, expected_result: 2007227 correct return value7228 pages_access_level: 10, with_user: "master", admin_mode: false, expected_result: 2007229 correct return value7230 pages_access_level: 10, with_user: "developer", admin_mode: false, expected_result: 2007231 correct return value7232 pages_access_level: 10, with_user: "reporter", admin_mode: false, expected_result: 2007233 correct return value7234 pages_access_level: 10, with_user: "guest", admin_mode: false, expected_result: 2007235 correct return value7236 pages_access_level: 10, with_user: "user", admin_mode: false, expected_result: 4037237 correct return value7238 pages_access_level: 10, with_user: nil, admin_mode: false, expected_result: 4047239 correct return value7240Projects::BlobController7241 GET show7242 with file path7243 when the ref is ambiguous7244 and the redirect_with_ref_type flag is disabled7245 and explicitly requesting a branch7246 redirects to blob#show with sha for the branch7247 and explicitly requesting a tag7248 responds with success7249 and the redirect_with_ref_type flag is enabled7250 when the ref_type is nil7251 redirects to the tag7252 valid branch, valid file7253 is expected to respond with 2007254 valid branch, invalid file7255 redirects7256 invalid branch, valid file7257 is expected to respond with 4047258 when default branch was renamed7259 renamed default branch, valid file7260 is expected to redirect to "/namespace177/project-124/-/blob/master/README.md"7261 renamed default branch, invalid file7262 is expected to redirect to "/namespace177/project-124/-/blob/master/invalid-path.rb"7263 binary file7264 is expected to respond with 2007265 Markdown file7266 is expected to respond with 2007267 with file path and JSON format7268 valid branch, valid file7269 is expected to have key "raw_path"7270 with viewer=none7271 is expected to have key "raw_path"7272 with tree path7273 redirect to tree7274 redirects7275 GET diff7276 when essential params are missing7277 renders nothing7278 when essential params are present7279 when rendering for commit7280 renders the diff content7281 when rendering for merge request7282 renders diff context lines Gitlab::Diff::Line array7283 handles full being true7284 GET edit7285 anonymous7286 redirects to sign in and returns7287 as guest7288 redirects to blob show7289 as developer7290 redirects to blob show7291 as maintainer7292 redirects to blob show7293 PUT update7294 redirects to blob7295 ?from_merge_request_iid7296 redirects to MR diff7297 when user doesn't have access7298 redirects to blob7299 when user has forked project7300 when editing on the fork7301 redirects to blob7302 when editing on the original repository7303 redirects to forked project new merge request7304 events tracking7305 behaves like tracking unique hll events7306 tracks unique event7307 behaves like Snowplow event tracking with RedisHLL context7308 behaves like Snowplow event tracking7309 is emitted7310 DELETE destroy7311 for a file in a subdirectory7312 redirects to the sub directory7313 when a validation failure occurs7314 redirects to a valid page7315 if deleted file is the last one in a subdirectory7316 redirects to the project root7317 when deleting a file in a branch other than master7318 redirects to the project root of the branch7319 POST preview7320 is successful7321 POST create7322 redirects to blob7323 behaves like tracking unique hll events7324 tracks unique event7325 behaves like Snowplow event tracking with RedisHLL context7326 behaves like Snowplow event tracking7327 is emitted7328getting user information7329 no parameters are provided7330 mentions the missing required parameters7331 looking up a user by username7332 the user is an active user7333 can access user profile fields7334 behaves like a working graphql query7335 returns a successful response7336 assignedMergeRequests7337 can be found7338 behaves like a working graphql query7339 returns a successful response7340 applying filters7341 filtering by IID without specifying a project7342 return an argument error that mentions the missing fields7343 filtering by project path and IID7344 selects the correct MRs7345 filtering by project path7346 selects the correct MRs7347 filtering by author7348 finds the authored mrs7349 filtering by reviewer7350 finds the assigned mrs7351 the current user does not have access7352 cannot be found7353 reviewRequestedMergeRequests7354 can be found7355 behaves like a working graphql query7356 returns a successful response7357 applying filters7358 filtering by IID without specifying a project7359 return an argument error that mentions the missing fields7360 filtering by project path and IID7361 selects the correct MRs7362 filtering by project path7363 selects the correct MRs7364 filtering by author7365 finds the authored mrs7366 filtering by assignee7367 finds the authored mrs7368 the current user does not have access7369 cannot be found7370 authoredMergeRequests7371 can be found7372 behaves like a working graphql query7373 returns a successful response7374 applying filters7375 filtering by IID without specifying a project7376 return an argument error that mentions the missing fields7377 filtering by assignee7378 finds the assigned mrs7379 filtering by reviewer7380 finds the assigned mrs7381 filtering by project path and IID7382 selects the correct MRs7383 filtering by project path7384 selects the correct MRs7385 the current user does not have access7386 cannot be found7387 the user is private7388 we only request basic fields7389 behaves like a working graphql query7390 returns a successful response7391 we request the groupMemberships7392 cannot be found7393 behaves like a working graphql query7394 returns a successful response7395 the current user is the user7396 can be found7397 we request the projectMemberships7398 cannot be found7399 behaves like a working graphql query7400 returns a successful response7401 the current user is the user7402 can be found7403 we request the authoredMergeRequests7404 cannot be found7405 behaves like a working graphql query7406 returns a successful response7407 the current user is the user7408 can be found7409 we request the assignedMergeRequests7410 cannot be found7411 behaves like a working graphql query7412 returns a successful response7413 the current user is the user7414 can be found7415 the user is project bot7416 we only request basic fields7417 behaves like a working graphql query7418 returns a successful response7419 authored merge requests7420 returns merge requests for the current user for the specified group7421Projects::LabelsController7422 GET #index7423 @prioritized_labels7424 does not include labels without priority7425 is sorted by priority, then label title7426 @labels7427 is sorted by label title7428 does not include labels with priority7429 does not include group labels when project does not belong to a group7430 with subgroups7431 returns ancestor group labels7432 with views rendered7433 avoids N+1 queries7434 POST #generate7435 personal project7436 creates labels7437 project belonging to a group7438 creates labels7439 POST #toggle_subscription7440 allows user to toggle subscription on project labels7441 allows user to toggle subscription on group labels7442 POST #promote7443 not group reporters7444 denies access7445 group reporter7446 gives access7447 promotes the label7448 renders label name without parsing it as HTML7449 service raising InvalidRecord7450 returns to label list7451 #ensure_canonical_path7452 for a GET request7453 when requesting the canonical path7454 non-show path7455 with exactly matching casing7456 does not redirect7457 with different casing7458 redirects to the correct casing7459 when requesting a redirected path7460 redirects to the canonical path7461 with an AJAX request7462 redirects to the canonical path but does not set flash message7463 with JSON format7464 redirects to the canonical path but does not set flash message7465 for a non-GET request7466 when requesting the canonical path with different casing7467 does not 4047468 does not redirect to the correct casing7469 when requesting a redirected path7470 returns not found7471 PUT #update7472 when updating lock_on_merge7473 when feature flag is disabled7474 does not allow setting lock_on_merge7475 when feature flag is enabled7476 allows setting lock_on_merge7477 DELETE #destroy7478 when current user has ability to destroy the label7479 removes the label7480 does not remove the label if it is locked7481 when label is succesfuly destroyed7482 redirects to the project labels page7483 when current_user does not have ability to destroy the label7484 responds with status 4047485Updating an existing release7486 when the current user has access to update releases7487 name7488 when a new name is provided7489 behaves like updates release fields7490 updates the correct field and returns the release7491 behaves like no errors7492 returns no errors7493 when null is provided7494 behaves like updates release fields7495 updates the correct field and returns the release7496 behaves like no errors7497 returns no errors7498 description7499 when a new description is provided7500 behaves like updates release fields7501 updates the correct field and returns the release7502 behaves like no errors7503 returns no errors7504 when null is provided7505 behaves like updates release fields7506 updates the correct field and returns the release7507 behaves like no errors7508 returns no errors7509 releasedAt7510 when no time zone is provided7511 behaves like updates release fields7512 updates the correct field and returns the release7513 behaves like no errors7514 returns no errors7515 when a local time zone is provided7516 behaves like updates release fields7517 updates the correct field and returns the release7518 behaves like no errors7519 returns no errors7520 when null is provided7521 behaves like top-level error with message7522 returns a top-level error with message7523 milestones7524 when a new set of milestones is provided provided7525 behaves like updates release fields7526 updates the correct field and returns the release7527 behaves like no errors7528 returns no errors7529 when an empty array is provided7530 behaves like updates release fields7531 updates the correct field and returns the release7532 behaves like no errors7533 returns no errors7534 when null is provided7535 behaves like top-level error with message7536 returns a top-level error with message7537 when a non-existent milestone title is provided7538 behaves like errors-as-data with message7539 returns an error-as-data with message7540 when a milestone title from a different project is provided7541 behaves like errors-as-data with message7542 returns an error-as-data with message7543 validation7544 when no updated fields are provided7545 behaves like errors-as-data with message7546 returns an error-as-data with message7547 when the tag does not exist7548 behaves like errors-as-data with message7549 returns an error-as-data with message7550 when the project does not exist7551 behaves like top-level error with message7552 returns a top-level error with message7553 when the current user doesn't have access to update releases7554 when the current user is a Reporter7555 behaves like top-level error with message7556 returns a top-level error with message7557 when the current user is a Guest7558 behaves like top-level error with message7559 returns a top-level error with message7560 when the current user is a public user7561 behaves like top-level error with message7562 returns a top-level error with message7563API::ResourceMilestoneEvents7564 when eventable is an Issue7565 behaves like resource_milestone_events API7566 GET /projects/:id/issues/:noteable_id/resource_milestone_events7567 returns an array of resource milestone events7568 returns a 404 error when eventable id not found7569 returns 404 when not authorized7570 when there is an event with a milestone which is not visible for requesting user7571 returns the expected events7572 GET /projects/:id/issues/:noteable_id/resource_milestone_events/:event_id7573 returns a resource milestone event by id7574 returns 404 when not authorized7575 returns a 404 error if resource milestone event not found7576 pagination7577 returns the second page7578 when eventable is a Merge Request7579 behaves like resource_milestone_events API7580 GET /projects/:id/merge_requests/:noteable_id/resource_milestone_events7581 returns an array of resource milestone events7582 returns a 404 error when eventable id not found7583 returns 404 when not authorized7584 when there is an event with a milestone which is not visible for requesting user7585 returns the expected events7586 GET /projects/:id/merge_requests/:noteable_id/resource_milestone_events/:event_id7587 returns a resource milestone event by id7588 returns 404 when not authorized7589 returns a 404 error if resource milestone event not found7590 pagination7591 returns the second page7592getting dependency proxy settings for a group7593 with the settings model created7594 behaves like dependency proxy group setting query7595 behaves like a working graphql query7596 returns a successful response7597 with different permissions7598 group_visibility: :private, role: :owner, access_granted: true7599 return the proper response7600 group_visibility: :private, role: :maintainer, access_granted: false7601 return the proper response7602 with disabled admin_package feature flag7603 return the proper response7604 group_visibility: :private, role: :developer, access_granted: false7605 return the proper response7606 group_visibility: :private, role: :reporter, access_granted: false7607 return the proper response7608 group_visibility: :private, role: :guest, access_granted: false7609 return the proper response7610 group_visibility: :private, role: :anonymous, access_granted: false7611 return the proper response7612 group_visibility: :public, role: :owner, access_granted: true7613 return the proper response7614 group_visibility: :public, role: :maintainer, access_granted: false7615 return the proper response7616 with disabled admin_package feature flag7617 return the proper response7618 group_visibility: :public, role: :developer, access_granted: false7619 return the proper response7620 group_visibility: :public, role: :reporter, access_granted: false7621 return the proper response7622 group_visibility: :public, role: :guest, access_granted: false7623 return the proper response7624 group_visibility: :public, role: :anonymous, access_granted: false7625 return the proper response7626 without the settings model created7627 behaves like dependency proxy group setting query7628 behaves like a working graphql query7629 returns a successful response7630 with different permissions7631 group_visibility: :private, role: :owner, access_granted: true7632 return the proper response7633 group_visibility: :private, role: :maintainer, access_granted: false7634 return the proper response7635 with disabled admin_package feature flag7636 return the proper response7637 group_visibility: :private, role: :developer, access_granted: false7638 return the proper response7639 group_visibility: :private, role: :reporter, access_granted: false7640 return the proper response7641 group_visibility: :private, role: :guest, access_granted: false7642 return the proper response7643 group_visibility: :private, role: :anonymous, access_granted: false7644 return the proper response7645 group_visibility: :public, role: :owner, access_granted: true7646 return the proper response7647 group_visibility: :public, role: :maintainer, access_granted: false7648 return the proper response7649 with disabled admin_package feature flag7650 return the proper response7651 group_visibility: :public, role: :developer, access_granted: false7652 return the proper response7653 group_visibility: :public, role: :reporter, access_granted: false7654 return the proper response7655 group_visibility: :public, role: :guest, access_granted: false7656 return the proper response7657 group_visibility: :public, role: :anonymous, access_granted: false7658 return the proper response7659Groups::GroupLinksController7660 #update7661 returns a 4047662 when user has admin access to the shared group7663 updates existing link7664 updates project permissions7665 when `expires_at` is set7666 returns correct json response7667 when `expires_at` is not set7668 returns empty json response7669 when user does not have admin access to the shared group7670 renders 4047671 #destroy7672 returns a 4047673 when user has admin access to the shared group7674 deletes existing link7675 with skip_group_share_unlink_auth_refresh feature flag disabled7676 updates project permissions7677 with skip_group_share_unlink_auth_refresh feature flag enabled7678 maintains project authorization7679 when user does not have admin access to the shared group7680 renders 4047681API::ResourceLabelEvents7682 when eventable is an Issue7683 behaves like resource_label_events API7684 GET /projects/:id/issues/:noteable_id/resource_label_events7685 with local label reference7686 returns an array of resource label events7687 returns a 404 error when eventable id not found7688 returns 404 when not authorized7689 with cross-project label reference7690 returns cross references accessible by user7691 does not return cross references not accessible by user7692 GET /projects/:id/issues/:noteable_id/resource_label_events/:event_id7693 with local label reference7694 returns a resource label event by id7695 returns 404 when not authorized7696 returns a 404 error if resource label event not found7697 with cross-project label reference7698 returns a 404 error if cross-reference project is not accessible7699 pagination7700 returns the second page7701 when eventable is a Merge Request7702 behaves like resource_label_events API7703 GET /projects/:id/merge_requests/:noteable_id/resource_label_events7704 with local label reference7705 returns an array of resource label events7706 returns a 404 error when eventable id not found7707 returns 404 when not authorized7708 with cross-project label reference7709 returns cross references accessible by user7710 does not return cross references not accessible by user7711 GET /projects/:id/merge_requests/:noteable_id/resource_label_events/:event_id7712 with local label reference7713 returns a resource label event by id7714 returns 404 when not authorized7715 returns a 404 error if resource label event not found7716 with cross-project label reference7717 returns a 404 error if cross-reference project is not accessible7718 pagination7719 returns the second page7720Projects::MergeRequests::ContentController7721 user has access to the project7722 GET cached_widget7723 renders widget MR entity as json7724 closes an MR with moved source project7725 GET widget7726 checks whether the MR can be merged7727 merged merge request7728 renders widget MR entity as json7729 with coverage data7730 renders widget MR entity as json7731 user does not have access to the project7732 GET cached_widget7733 returns 4047734 GET widget7735 returns 4047736API::FeatureFlagsUserLists7737 GET /projects/:id/feature_flags_user_lists7738 forbids the request for a reporter7739 returns forbidden if the feature is unavailable7740 returns all the user lists7741 returns all the data for a user list7742 paginates user lists7743 returns the user lists for only the specified project7744 returns an empty list7745 when filtering7746 returns lists matching the search term7747 returns lists matching multiple search terms7748 returns all lists with no query7749 GET /projects/:id/feature_flags_user_lists/:iid7750 forbids the request for a reporter7751 returns forbidden if the feature is unavailable7752 returns the user list7753 returns the correct user list identified by the iid7754 scopes the iid search to the project7755 returns not found when the list does not exist7756 POST /projects/:id/feature_flags_user_lists7757 forbids the request for a reporter7758 returns forbidden if the feature is unavailable7759 creates the flag7760 requires name7761 requires user_xids7762 returns an error when name is already taken7763 does not create a flag for a project of which the developer is not a member7764 PUT /projects/:id/feature_flags_user_lists/:iid7765 forbids the request for a reporter7766 returns forbidden if the feature is unavailable7767 updates the list7768 preserves attributes not listed in the request7769 returns an error when the update is invalid7770 returns not found when the list does not exist7771 DELETE /projects/:id/feature_flags_user_lists/:iid7772 forbids the request for a reporter7773 returns forbidden if the feature is unavailable7774 returns not found when the list does not exist7775 deletes the list7776 does not delete the list if it is associated with a strategy7777API::GroupImport7778 POST /groups/import7779 with object storage disabled7780 without a file from workhorse7781 rejects the request7782 without a workhorse header7783 rejects request without a workhorse header7784 when params from workhorse are correct7785 when user is authorized to create new group7786 creates new group and accepts request7787 creates private group7788 when importing to a parent group7789 creates new group and accepts request7790 when parent group is private or internal7791 imports public group7792 imports internal group7793 when parent group is invalid7794 returns 404 and does not create new group7795 when user is not an owner of parent group7796 returns 403 Forbidden HTTP status7797 when group creation failed7798 returns 400 HTTP status7799 when user is not authorized to create new group7800 forbids the request7801 when required params are missing7802 returns 400 HTTP status7803 returns 400 HTTP status7804 with object storage enabled7805 with direct upload enabled7806 accepts the request and stores the file7807 when user is authorized to create new group7808 creates new group and accepts request7809 creates private group7810 when importing to a parent group7811 creates new group and accepts request7812 when parent group is private or internal7813 imports public group7814 imports internal group7815 when parent group is invalid7816 returns 404 and does not create new group7817 when user is not an owner of parent group7818 returns 403 Forbidden HTTP status7819 when group creation failed7820 returns 400 HTTP status7821 when user is not authorized to create new group7822 forbids the request7823 when required params are missing7824 returns 400 HTTP status7825 returns 400 HTTP status7826 POST /groups/import/authorize7827 authorizes importing group with workhorse header7828 rejects requests that bypassed gitlab-workhorse7829 when using remote storage7830 when direct upload is enabled7831 responds with status 200, location of file remote store and object details7832 when direct upload is disabled7833 handles as a local file7834Groups::RunnersController7835 #index7836 when user is owner7837 renders show with 200 status code7838 tracks the event7839 assigns variables7840 when user is not owner7841 renders a 4047842 does not track the event7843 #new7844 when user is owner7845 renders new with 200 status code7846 when user is not owner7847 renders a 4047848 #register7849 when user is owner7850 when runner can be registered after creation7851 renders a :register template7852 when runner cannot be registered after creation7853 returns :not_found7854 when user is not owner7855 when runner can be registered after creation7856 returns :not_found7857 #show7858 when user is owner7859 renders show with 200 status code7860 renders show with 200 status code instance runner7861 renders show with 200 status code project runner7862 when user is not owner7863 renders a 4047864 renders a 404 instance runner7865 renders a 404 project runner7866 #edit7867 when user is owner7868 renders edit with 200 status code7869 renders a 404 instance runner7870 renders edit with 200 status code project runner7871 when user is not owner7872 renders a 4047873 renders a 404 project runner7874 #update7875 when user is an owner7876 updates the runner, ticks the queue, and redirects7877 does not update the instance runner7878 updates the project runner, ticks the queue, and redirects project runner7879 when user is not an owner7880 rejects the update and responds 4047881 rejects the update and responds 404 instance runner7882 rejects the update and responds 404 project runner7883Gitlab::SidekiqCluster::CLI7884 #run7885 without any arguments7886 raises CommandError7887 with arguments7888 starts the Sidekiq workers7889 allows the special * selector7890 raises an error when the arguments contain newlines7891 with --negate flag7892 starts Sidekiq workers for all queues in all_queues.yml except the ones in argv7893 with --max-concurrency flag7894 starts Sidekiq workers for specified queues with a max concurrency7895 with --min-concurrency flag7896 starts Sidekiq workers for specified queues with a min concurrency7897 with --timeout flag7898 when given7899 when not given7900 with --list-queues flag7901 errors when given --list-queues and --dryrun7902 prints out a list of queues in alphabetical order7903 queue namespace expansion7904 starts Sidekiq workers for all queues in all_queues.yml with a namespace in argv7905 with --queue-selector7906 expands multiple queue groups correctly7907 allows the special * selector7908 errors when the selector matches no queues7909 errors on an invalid query multiple queue groups correctly7910 memory-bound queues7911 expands queues by attributes7912 works when negated7913 memory- or CPU-bound queues7914 expands queues by attributes7915 works when negated7916 high urgency CI queues7917 expands queues by attributes7918 works when negated7919 CPU-bound high urgency CI queues7920 expands queues by attributes7921 works when negated7922 CPU-bound high urgency non-CI queues7923 expands queues by attributes7924 works when negated7925 CI and SCM queues7926 expands queues by attributes7927 works when negated7928 with routing rules specified7929 starts Sidekiq workers only for given queues without any additional DEFAULT_QUEUES7930 with sidekiq settings not specified7931 does not throw an error7932 starts Sidekiq workers with given queues, and additional default and mailers queues (DEFAULT_QUEUES)7933 metrics server7934 starting the server7935 without --dryrun7936 wipes the metrics directory before starting workers7937 when sidekiq_exporter is not set up7938 does not start a sidekiq metrics server7939 with missing sidekiq_exporter setting7940 does not start a sidekiq metrics server7941 does not throw an error7942 when sidekiq_exporter is disabled7943 does not start a sidekiq metrics server7944 when sidekiq_exporter is enabled7945 starts the metrics server7946 when a PID is specified7947 writes the PID to a file7948 when no PID is specified7949 does not write a PID7950 with --dryrun set7951 does not start the server7952 supervising the cluster7953 stops the entire process cluster if one of the workers has been terminated7954 restarts the metrics server when it is down7955 when one of the workers has been terminated gracefully7956 stops the entire process cluster7957 when one of the workers has failed7958 stops the entire process cluster and exits with a non-zero code7959API::Clusters::Agents7960 GET /projects/:id/cluster_agents7961 avoids N+1 queries7962 authorized user7963 returns project agents7964 returns empty list when no agents registered7965 unauthorized user7966 unable to access agents7967 GET /projects/:id/cluster_agents/:agent_id7968 authorized user7969 returns a project agent7970 returns a 404 error if agent id is not available7971 unauthorized user7972 unable to access an existing agent7973 POST /projects/:id/cluster_agents7974 adds agent to project7975 returns a 400 error if name not given7976 returns a 400 error if name is invalid7977 returns 404 error if project does not exist7978 DELETE /projects/:id/cluster_agents/:agent_id7979 deletes agent from project7980 returns a 404 error when deleting non existent agent7981 returns a 404 error if agent id not given7982 returns a 403 if the user is unauthorized to delete7983 behaves like 412 response7984 for a modified resource7985 returns 412 with a JSON error7986 for an unmodified resource7987 returns 204 with an empty body7988API::GroupVariables7989 GET /groups/:id/variables7990 authorized user with proper permissions7991 returns group variables7992 authorized user with invalid permissions7993 does not return group variables7994 unauthorized user7995 does not return group variables7996 GET /groups/:id/variables/:key7997 authorized user with proper permissions7998 returns group variable details7999 responds with 404 Not Found if requesting non-existing variable8000 authorized user with invalid permissions8001 does not return group variable details8002 unauthorized user8003 does not return group variable details8004 POST /groups/:id/variables8005 authorized user with proper permissions8006 when the group is below the plan limit for variables8007 creates variable8008 masks the new value when logging8009 creates variable with optional attributes8010 does not allow to duplicate variable key8011 when the group is at the plan limit for variables8012 returns a variable limit error8013 authorized user with invalid permissions8014 does not create variable8015 unauthorized user8016 does not create variable8017 PUT /groups/:id/variables/:key8018 authorized user with proper permissions8019 updates variable data8020 masks the new value when logging8021 responds with 404 Not Found if requesting non-existing variable8022 responds with 400 if the update fails8023 authorized user with invalid permissions8024 does not update variable8025 unauthorized user8026 does not update variable8027 DELETE /groups/:id/variables/:key8028 authorized user with proper permissions8029 deletes variable8030 responds with 404 Not Found if requesting non-existing variable8031 behaves like 412 response8032 for a modified resource8033 returns 412 with a JSON error8034 for an unmodified resource8035 returns 204 with an empty body8036 authorized user with invalid permissions8037 does not delete variable8038 unauthorized user8039 does not delete variable8040API::ProtectedTags8041 GET /projects/:id/protected_tags8042 when authenticated as a maintainer8043 behaves like protected tags8044 returns the protected tags8045 when authenticated as a guest8046 behaves like 403 response8047 returns 4038048 GET /projects/:id/protected_tags/:tag8049 when authenticated as a maintainer8050 behaves like protected tag8051 returns the protected tag8052 when protected tag does not exist8053 behaves like 404 response8054 returns 4048055 when protected tag contains a wildcard8056 behaves like protected tag8057 returns the protected tag8058 when protected tag does not exist8059 behaves like 404 response8060 returns 4048061 when a deploy key is present8062 returns deploy key information8063 when a deploy key is not present8064 returns null deploy key field8065 when authenticated as a guest8066 behaves like 403 response8067 returns 4038068 POST /projects/:id/protected_tags8069 when authenticated as a maintainer8070 protects a single tag with maintainers can create tags8071 protects a single tag with developers can create tags8072 protects a single tag with no one can create tags8073 returns a 422 error if the same tag is protected twice8074 returns 201 if the same tag is proteted on different projects8075 when tag has a wildcard in its name8076 protects multiple tags with a wildcard in the name8077 when authenticated as a guest8078 returns a 403 error if guest8079 DELETE /projects/:id/protected_tags/unprotect/:tag8080 unprotects a single tag8081 returns 404 if tag does not exist8082 behaves like 412 response8083 for a modified resource8084 returns 412 with a JSON error8085 for an unmodified resource8086 returns 204 with an empty body8087 when tag has a wildcard in its name8088 unprotects a wildcard tag8089helm package details8090 has the correct file metadata8091 behaves like a package detail8092 behaves like a working graphql query8093 returns a successful response8094 behaves like matching the package details schema8095 matches the JSON schema8096 with pipelines8097 behaves like a working graphql query8098 returns a successful response8099 behaves like matching the package details schema8100 matches the JSON schema8101 behaves like a package with files8102 has the right amount of files8103 has the basic package files data8104 with package files pending destruction8105 does not return them8106Repositories::LfsStorageController8107 PUT #upload_authorize8108 with unauthorized roles8109 user_role: :guest, expected_status: :forbidden8110 behaves like returning response status8111 returns forbidden8112 user_role: :anonymous, expected_status: :unauthorized8113 behaves like returning response status8114 returns unauthorized8115 with at least developer role8116 sets Workhorse with a max limit8117 PUT #upload_finalize8118 with lfs enabled8119 with unauthorized roles8120 user_role: :guest, expected_status: :forbidden8121 behaves like returning response status8122 returns forbidden8123 user_role: :anonymous, expected_status: :unauthorized8124 behaves like returning response status8125 returns unauthorized8126 with at least developer role8127 creates the objects8128 without the workhorse header8129 is expected to raise JWT::DecodeError8130 without file8131 behaves like returning response status8132 returns unprocessable_entity8133 with an invalid file8134 behaves like returning response status8135 returns bad_request8136 when an expected error8137 ActiveRecord::RecordInvalid raised8138 renders lfs forbidden8139 UploadedFile::InvalidPathError raised8140 renders lfs forbidden8141 ObjectStorage::RemoteStoreError raised8142 renders lfs forbidden8143 when existing file has been deleted8144 replaces the file8145 with invalid file8146 renders bad request8147 when file is not stored8148 renders unprocessable entity8149 with lfs disabled8150 behaves like returning response status8151 returns not_implemented8152Projects::Settings::OperationsController8153 GET #show8154 renders show template8155 with insufficient permissions8156 renders 4048157 as an anonymous user8158 redirects to signup page8159 PATCH #update8160 with insufficient permissions8161 renders 4048162 as an anonymous user8163 redirects to signup page8164 incident management8165 GET #show8166 with existing setting8167 loads existing setting8168 without an existing setting8169 builds a new setting8170 PATCH #update8171 behaves like PATCHable8172 format json8173 when update succeeds8174 returns success status8175 when update fails8176 returns error8177 updating each incident management setting8178 behaves like a gitlab tracking event8179 creates a gitlab tracking event enabled_issue_auto_creation_on_alerts8180 behaves like a gitlab tracking event8181 creates a gitlab tracking event disabled_issue_auto_creation_on_alerts8182 behaves like a gitlab tracking event8183 creates a gitlab tracking event enabled_issue_template_on_alerts8184 behaves like a gitlab tracking event8185 creates a gitlab tracking event disabled_issue_template_on_alerts8186 behaves like a gitlab tracking event8187 creates a gitlab tracking event enabled_sending_emails8188 behaves like a gitlab tracking event8189 creates a gitlab tracking event disabled_sending_emails8190 behaves like a gitlab tracking event8191 creates a gitlab tracking event enabled_pagerduty_webhook8192 behaves like a gitlab tracking event8193 creates a gitlab tracking event disabled_pagerduty_webhook8194 behaves like a gitlab tracking event8195 creates a gitlab tracking event enabled_auto_close_incident8196 behaves like a gitlab tracking event8197 creates a gitlab tracking event disabled_auto_close_incident8198 POST #reset_pagerduty_token8199 with existing incident management setting has active PagerDuty webhook8200 returns newly reset token8201 without existing incident management setting8202 does not reset a token8203 when update fails8204 returns unprocessable_entity8205 with insufficient permissions8206 returns 4048207 as an anonymous user8208 returns a redirect8209 error tracking8210 GET #show8211 with existing setting8212 loads existing setting8213 without an existing setting8214 builds a new setting8215 PATCH #update8216 behaves like PATCHable8217 format json8218 when update succeeds8219 returns success status8220 when update fails8221 returns error8222 prometheus integration8223 POST #reset_alerting_token8224 with existing alerting setting8225 returns newly reset token8226 without existing alerting setting8227 creates a token8228 when update fails8229 returns unprocessable_entity8230 with insufficient permissions8231 returns 4048232 as an anonymous user8233 returns a redirect8234Query.project(fullPath).pipelines.job(id)8235 scalar fields8236 retrieves scalar fields8237 when fetching by name8238 retrieves scalar fields8239 .detailedStatus8240 retrieves detailed status8241 .stage8242 returns appropriate data8243API::Clusters::AgentTokens8244 GET /projects/:id/cluster_agents/:agent_id/tokens8245 avoids N+1 queries8246 with authorized user8247 only returns active agent tokens8248 returns a not_found error if agent_id does not exist8249 with unauthorized user8250 cannot access agent tokens8251 GET /projects/:id/cluster_agents/:agent_id/tokens/:token_id8252 with authorized user8253 returns an agent token8254 returns a 404 if agent token is revoked8255 returns a 404 if agent does not exist8256 returns a 404 error if agent token id is not available8257 with unauthorized user8258 cannot access single agent token8259 cannot access token from agent of another project8260 POST /projects/:id/cluster_agents/:agent_id/tokens8261 creates a new agent token8262 returns a 400 error if name not given8263 returns 404 error if project does not exist8264 returns 404 error if agent does not exist8265 with unauthorized user8266 prevents to create agent token8267 when the active agent tokens limit is reached8268 returns a bad request (400) error8269 DELETE /projects/:id/cluster_agents/:agent_id/tokens/:token_id8270 revokes agent token8271 returns a success response when revoking an already revoked agent token8272 returns a 404 error when given agent_id does not exist8273 returns a 404 error when revoking non existent agent token8274 returns a 404 if the user is unauthorized to revoke8275 cannot revoke token from agent of another project8276Creation of a new merge request8277 the user is not allowed to create a branch8278 behaves like a mutation that returns a top-level access error8279 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"8280 when user has permissions to create a merge request8281 creates a new merge request8282 when source branch is equal to the target branch8283 behaves like a mutation that returns errors in the response8284 is expected to contain exactly "Branch conflict You can't use same project/branch for source and target"8285Groups::Settings::CiCdController8286 GET #show8287 when user is owner8288 renders show with 200 status code8289 when user is not owner8290 renders a 4048291 external authorization8292 renders show with 200 status code8293 PATCH #update_auto_devops8294 when user does not have enough permission8295 is expected to respond with numeric status code not_found8296 when user has enough privileges8297 is expected to redirect to "/groups/group81/-/settings/ci_cd"8298 when service execution went wrong8299 returns a flash alert8300 when service execution was successful8301 returns a flash notice8302 when changing auto devops value8303 when explicitly enabling auto devops8304 updates group attribute8305 when explicitly disabling auto devops8306 updates group attribute8307 PATCH #update8308 when user is not an admin8309 is expected to respond with numeric status code not_found8310 when user is an admin8311 when admin mode is disabled8312 is expected to respond with numeric status code not_found8313 when admin mode is enabled8314 is expected to redirect to "/groups/group81/-/settings/ci_cd"8315 when service execution went wrong8316 returns a flash alert8317 when service execution was successful8318 returns a flash notice8319Updating the packages cleanup policy8320 post graphql mutation8321 with existing packages cleanup policy8322 user_role: :maintainer, shared_examples_name: "accepting the mutation request and updates the existing policy"8323 behaves like accepting the mutation request and updates the existing policy8324 returns the updated packages cleanup policy8325 user_role: :developer, shared_examples_name: "denying the mutation request"8326 behaves like denying the mutation request8327 returns an error8328 user_role: :reporter, shared_examples_name: "denying the mutation request"8329 behaves like denying the mutation request8330 returns an error8331 user_role: :guest, shared_examples_name: "denying the mutation request"8332 behaves like denying the mutation request8333 returns an error8334 user_role: :anonymous, shared_examples_name: "denying the mutation request"8335 behaves like denying the mutation request8336 returns an error8337 without existing packages cleanup policy8338 user_role: :maintainer, shared_examples_name: "accepting the mutation request and creates a policy"8339 behaves like accepting the mutation request and creates a policy8340 returns the created packages cleanup policy8341 user_role: :developer, shared_examples_name: "denying the mutation request"8342 behaves like denying the mutation request8343 returns an error8344 user_role: :reporter, shared_examples_name: "denying the mutation request"8345 behaves like denying the mutation request8346 returns an error8347 user_role: :guest, shared_examples_name: "denying the mutation request"8348 behaves like denying the mutation request8349 returns an error8350 user_role: :anonymous, shared_examples_name: "denying the mutation request"8351 behaves like denying the mutation request8352 returns an error8353API::Submodules8354 PUT /projects/:id/repository/submodule/:submodule8355 when unauthenticated8356 returns 4018357 when authenticated as a guest8358 returns 4038359 when authenticated as a developer8360 returns 400 if params is missing8361 returns 400 if branch is missing8362 returns 400 if commit_sha is missing8363 returns the commit8364 when the submodule name is urlencoded8365 returns the commit8366API::RemoteMirrors8367 GET /projects/:id/remote_mirrors8368 requires `admin_remote_mirror` permission8369 returns a list of remote mirrors8370 GET /projects/:id/remote_mirrors/:mirror_id8371 requires `admin_remote_mirror` permission8372 returns at remote mirror8373 POST /projects/:id/remote_mirrors8374 requires `admin_remote_mirror` permission8375 returns error if url is invalid8376 creates a remote mirror8377 disabled by default8378 behaves like creates a remote mirror8379 creates a remote mirror and returns reponse8380 enabled8381 behaves like creates a remote mirror8382 creates a remote mirror and returns reponse8383 PUT /projects/:id/remote_mirrors/:mirror_id8384 requires `admin_remote_mirror` permission8385 updates a remote mirror8386 DELETE /projects/:id/remote_mirrors/:mirror_id8387 requires `admin_remote_mirror` permission8388 when the user is a maintainer8389 returns 404 for non existing id8390 returns bad request if the update service fails8391 deletes a remote mirror8392Organizations::OrganizationsController8393 # order random8394 GET #groups_and_projects8395 behaves like basic organization controller action8396 when the user is not logged in8397 behaves like successful response8398 renders 200 OK8399 behaves like action disabled by `ui_for_organizations` feature flag8400 renders 4048401 when the user is logged in8402 with no association to an organization8403 behaves like successful response8404 renders 200 OK8405 behaves like action disabled by `ui_for_organizations` feature flag8406 renders 4048407 as as admin8408 behaves like successful response8409 renders 200 OK8410 behaves like action disabled by `ui_for_organizations` feature flag8411 renders 4048412 as an organization user8413 behaves like successful response8414 renders 200 OK8415 behaves like action disabled by `ui_for_organizations` feature flag8416 renders 4048417 GET #show8418 behaves like basic organization controller action8419 when the user is not logged in8420 behaves like successful response8421 renders 200 OK8422 behaves like action disabled by `ui_for_organizations` feature flag8423 renders 4048424 when the user is logged in8425 with no association to an organization8426 behaves like successful response8427 renders 200 OK8428 behaves like action disabled by `ui_for_organizations` feature flag8429 renders 4048430 as as admin8431 behaves like successful response8432 renders 200 OK8433 behaves like action disabled by `ui_for_organizations` feature flag8434 renders 4048435 as an organization user8436 behaves like successful response8437 renders 200 OK8438 behaves like action disabled by `ui_for_organizations` feature flag8439 renders 4048440Projects::Harbor::TagsController8441 behaves like a harbor tags controller8442 GET #index.json8443 with harbor registry feature flag enabled8444 behaves like responds with 200 status with json8445 renders the index template8446 with harbor registry feature flag disabled8447 behaves like responds with 404 status8448 returns 4048449 with anonymous user8450 behaves like responds with 302 status8451 returns 3028452 with unauthorized user8453 behaves like responds with 404 status8454 returns 4048455 with valid params8456 with valid repository8457 behaves like responds with 200 status with json8458 renders the index template8459 with valid page8460 behaves like responds with 200 status with json8461 renders the index template8462 with valid limit8463 behaves like responds with 200 status with json8464 renders the index template8465 with invalid params8466 with invalid page8467 behaves like responds with 422 status with json8468 returns 4228469 with invalid limit8470 behaves like responds with 422 status with json8471 returns 4228472project data transfers8473 # order random8474 with authorized user but without enough permissions8475 returns empty results8476 behaves like a working graphql query8477 returns a successful response8478 with anonymous access8479 returns no data8480 behaves like a working graphql query8481 returns a successful response8482 when user has enough permissions8483 when data_transfer_monitoring_mock_data is NOT enabled8484 returns real results8485 behaves like a working graphql query8486 returns a successful response8487 when data_transfer_monitoring_mock_data is enabled8488 returns mock results8489 behaves like a working graphql query8490 returns a successful response8491Delete a cluster agent8492 without project permissions8493 does not delete cluster agent8494 behaves like a mutation that returns top-level errors8495 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"8496 with project permissions8497 deletes a cluster agent8498Setting namespace commit email8499 # order random8500 when the user cannot access the namespace8501 returns the top level error8502 when the service returns an error8503 returns the error8504 when current_user is nil8505 returns the top level error8506 when namespace is a project8507 behaves like success8508 creates a namespace commit email8509 when namespace is a group8510 behaves like success8511 creates a namespace commit email8512 when namespace is a user8513 behaves like success8514 creates a namespace commit email8515Projects::IncidentsController8516 # order random8517 GET #show8518 renders incident page8519 with non existing id8520 behaves like not found8521 returns not_found8522 for issue8523 behaves like not found8524 returns not_found8525 when user is a guest8526 shows the page8527 when unauthorized8528 behaves like login required8529 redirects to the login page8530 GET #index8531 shows the page8532 when user is unauthorized8533 behaves like login required8534 redirects to the login page8535 when user is a guest8536 shows the page8537PipelineScheduleDelete8538 # order random8539 when unauthorized8540 returns an error8541 when authorized8542 when success8543 is expected to eq []8544 when failure8545 when destroy fails8546 is expected to contain exactly "Failed to remove the pipeline schedule"8547 when pipeline schedule not found8548 is expected to eq "Internal server error: Couldn't find Ci::PipelineSchedule with 'id'=0"8549Profiles::PersonalAccessTokensController8550 #create8551 allows creation of a token with scopes8552 allows creation of a token with an expiry date8553 does not allow creation when personal access tokens are disabled8554 behaves like #create access token8555 when POST is successful8556 renders JSON with a new token8557 when POST is unsuccessful8558 renders JSON with an error8559 GET /-/profile/personal_access_tokens8560 behaves like GET access tokens are paginated and ordered8561 when multiple access tokens are returned8562 returns paginated response8563 when access_token_pagination feature flag is disabled8564 returns all tokens in system8565 when tokens returned are ordered8566 orders token list ascending on expires_at8567 orders tokens on id in case token has same expires_at8568 #index8569 only includes details of the active personal access token8570 sets PAT name and scopes8571 returns 404 when personal access tokens are disabled8572 returns tokens for json format8573Projects::Settings::IntegrationHookLogsController8574 GET #show8575 is expected to be successful8576 renders a 404 if the hook does not exist8577 POST #retry8578 executes the hook and redirects to the service form8579 renders a 404 if the hook does not exist8580Query8581 .namespace8582 behaves like retrieving a namespace8583 authorised query8584 fetches the expected data8585 behaves like a working graphql query8586 returns a successful response8587 unauthorised query8588 anonymous user8589 does not retrieve the record8590 the current user does not have permission8591 does not retrieve the record8592 behaves like retrieving a namespace8593 authorised query8594 fetches the expected data8595 behaves like a working graphql query8596 returns a successful response8597 unauthorised query8598 anonymous user8599 does not retrieve the record8600 the current user does not have permission8601 does not retrieve the record8602 does not retrieve project namespace8603 does not retrieve the record8604Projects::Ci::DailyBuildGroupReportResultsController8605 GET index8606 when format is JSON8607 behaves like JSON results8608 serves the results in JSON8609 when given date range spans more than 90 days8610 limits the result to 90 days from the given start_date8611 behaves like validating param_type8612 when given param_type is invalid8613 responds with 422 error8614 behaves like ensuring policy8615 when user is not allowed to read build report results8616 responds with 404 error8617 when format is CSV8618 behaves like CSV results8619 serves the results in CSV8620 when given date range spans more than 90 days8621 limits the result to 90 days from the given start_date8622 behaves like validating param_type8623 when given param_type is invalid8624 responds with 422 error8625 behaves like ensuring policy8626 when user is not allowed to read build report results8627 responds with 404 error8628Create a new cluster agent8629 without project permissions8630 does not create cluster agent8631 behaves like a mutation that returns a top-level access error8632 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"8633 with user permissions8634 creates a new cluster agent8635Query.project.job8636 # order random8637 when the user cannot read jobs on the project8638 returns null8639 when the user can read jobs on the project8640 returns the job that matches the given ID8641 when no job matches the given ID8642 returns null8643API::Metrics::UserStarredDashboards8644 POST /projects/:id/metrics/user_starred_dashboards8645 with correct permissions8646 with invalid parameters8647 user is missing8648 returns 404 not found8649 project is missing8650 returns 404 not found8651 without correct permissions8652 returns 404 not found8653 when metrics dashboard feature is unavailable8654 returns 404 not found8655 DELETE /projects/:id/metrics/user_starred_dashboards8656 with correct permissions8657 with invalid parameters8658 user is missing8659 returns 404 not found8660 project is missing8661 returns 404 not found8662 without correct permissions8663 returns 404 not found8664 when metrics dashboard feature is unavailable8665 returns 404 not found8666Moving an issue8667 when the user is not allowed to read source project8668 returns an error8669 when the user is not allowed to move issue to target project8670 returns an error8671 when the user is allowed to move issue8672 moves the issue8673PipelineSchedulecreate8674 # order random8675 when unauthorized8676 returns an error8677 when authorized8678 when success8679 is expected to eq []8680 when failure8681 when params are invalid8682 is expected to contain exactly "Cron is invalid syntax" and "Cron timezone is invalid syntax"8683 when variables have duplicate name8684 returns error8685view user notifications8686 GET /-/profile/notifications8687 does not have an N+1 due to an additional groups (with no parent group)8688Delete a timelog8689 when the user is not allowed to delete a timelog8690 behaves like a mutation that returns a top-level access error8691 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"8692 when user has permissions to delete a timelog8693 deletes the timelog8694API::Admin::Sidekiq8695 DELETE /admin/sidekiq/queues/:queue_name8696 when the user is an admin8697 valid request8698 returns info about the deleted jobs8699 behaves like DELETE request permissions for admin mode8700 behaves like when admin8701 behaves like makes request8702 returns8703 behaves like makes request8704 returns8705 behaves like when user8706 returns8707 behaves like makes request8708 returns8709 when no required params are provided8710 returns a 4008711 when the queue does not exist8712 returns a 4048713Projects::Analytics::CycleAnalytics::SummaryController8714 GET "show"8715 succeeds8716 when analytics_disabled features are disabled8717 renders 4048718 when user is not part of the project8719 renders 4048720 when filters are applied8721 filters by author username8722 filters by milestone title8723Projects::UploadsController8724 # order random8725 behaves like uploads actions8726 GET #show8727 with file traversal in filename parameter8728 responds with status 4008729RepositoryCheckMailer8730 .notify8731 emails all admins8732 email with I18n.default_locale8733 omits blocked admins8734 mentions the number of failed checks8735 with footer and header8736 behaves like appearance header and footer enabled8737 contains header and footer8738 behaves like appearance header and footer not enabled8739 does not contain header and footer8740Query.project(fullPath).ciConfigVariables(ref)8741 # order random8742 when the user has the correct permissions8743 when the cache is not empty8744 returns the CI variables for the config8745 when the cache is empty8746 returns nothing8747 when the user is not authorized8748 returns nothing8749UploadsController8750 # order random8751 behaves like uploads actions8752 GET #show8753 with file traversal in filename parameter8754 responds with status 4008755Group Level Work Items8756 # order random8757 GET /groups/:group/-/work_items8758 when the user can read the group8759 renders index8760 when the namespace_level_work_items feature flag is disabled8761 returns not found8762 when the user cannot read the group8763 returns not found8764updating designs8765 # order random8766 updates design8767 when update fails8768 returns an error8769 when the user is not allowed to update designs8770 returns an error8771Export work items8772 # order random8773 when import_export_work_items_csv feature flag is disabled8774 behaves like a mutation that returns top-level errors8775 is expected to contain exactly "`import_export_work_items_csv` feature flag is disabled."8776 when user is not allowed to export work items8777 behaves like a mutation that returns a top-level access error8778 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"8779 when user has permissions to export work items8780 schedules export job with given arguments8781Projects::Integrations::ShimosController8782 GET #show8783 when Shimo integration is inactive8784 returns 404 status8785 when Shimo integration is active8786 renders the "show" template8787Admin::UsageTrendsController8788 GET #show8789 behaves like tracking unique visits8790 tracks unique visit if the format is HTML8791 tracks unique visit if DNT is not enabled8792 does not track unique visit if DNT is enabled8793 does not track unique visit if the format is JSON8794 behaves like Snowplow event tracking with RedisHLL context8795 behaves like Snowplow event tracking8796 is emitted8797getting project information8798 when there is a current_user8799 is expected to include {"name" => "Sidney Jones1132", "namespace" => {"id" => "gid://gitlab/Namespaces::UserNamespace/1530"}}8800 behaves like a working graphql query that returns data8801 contains data8802 behaves like a working graphql query8803 returns a successful response8804 when there is no current_user8805 behaves like a working graphql query that returns no data8806 contains no data8807 behaves like a working graphql query8808 returns a successful response8809Oauth::ApplicationsController8810 sets `@created` instance variable to `true`8811 GET #show8812 renders template8813Project callouts8814 POST /-/users/project_callouts8815 with valid feature name and project8816 when callout entry does not exist8817 creates a callout entry with dismissed state8818 returns success8819 when callout entry already exists8820 returns success8821 with invalid feature name8822 returns bad request8823Import::GithubGroupsController8824 # order random8825 GET status8826 when OAuth config is missing8827 returns missing config error8828 when OAuth config present8829 fetches organizations8830 with pagination8831 when no page is specified8832 requests first page8833 when page is specified8834 responds with organizations with specified page8835Projects::TerraformController8836 GET index8837 when user is authorized8838 renders content8839 when user is unauthorized8840 shows 4048841 when no user is present8842 shows 4048843Removing an HTTP Integration8844 removes the integration8845Projects::Ci::PrometheusMetrics::HistogramsController8846 POST /*namespace_id/:project_id/-/ci/prometheus_metrics/histograms8847 with known histograms8848 returns 201 Created8849 with unknown histograms8850 returns 404 Not Found8851Import::GithubController8852 # order random8853 GET details8854 responds with a 200 and shows the template8855Terraform::ServicesController8856 GET /.well-known/terraform.json8857 responds with terraform service discovery8858Remove items linked to a work item8859 # order random8860 when the user is not allowed to read the work item8861 behaves like a mutation that returns a top-level access error8862 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"8863 when user has permissions to read the work item8864 unlinks the work items8865 when some items fail8866 remove valid item and include failing ids in response message8867 when there are more than the max allowed items to unlink8868 returns an error message8869 when workItemsIds is empty8870 behaves like a mutation that returns top-level errors8871 is expected to contain exactly "workItemsIds cannot be empty"8872 when `linked_work_items` feature flag is disabled8873 behaves like a mutation that returns a top-level access error8874 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"8875Knapsack report was generated. Preview:8876{8877 "spec/requests/api/npm_project_packages_spec.rb": 643.1362502309998,8878 "spec/controllers/groups_controller_spec.rb": 53.8049287660001,8879 "spec/requests/api/tags_spec.rb": 60.81285686900037,8880 "spec/requests/users_controller_spec.rb": 57.2785228849998,8881 "spec/requests/api/ci/runners_spec.rb": 30.827319894000084,8882 "spec/requests/api/rpm_project_packages_spec.rb": 21.233205387999988,8883 "spec/controllers/sessions_controller_spec.rb": 29.7358056879998,8884 "spec/controllers/uploads_controller_spec.rb": 27.510085746000186,8885 "spec/mailers/emails/merge_requests_spec.rb": 19.60464292300003,8886 "spec/requests/api/graphql/mutations/releases/create_spec.rb": 23.796402365000176,8887 "spec/requests/api/graphql/mutations/container_expiration_policy/update_spec.rb": 15.199891362999551,8888 "spec/requests/api/pages/internal_access_spec.rb": 28.562567930000114,8889 "spec/controllers/projects/blob_controller_spec.rb": 19.280120075000013,8890 "spec/requests/api/graphql/user_query_spec.rb": 15.943497491000016,8891 "spec/controllers/projects/labels_controller_spec.rb": 17.80871266399936,8892 "spec/requests/api/graphql/mutations/releases/update_spec.rb": 14.835201367999616,8893 "spec/requests/api/resource_milestone_events_spec.rb": 13.307926683000005,8894 "spec/requests/api/graphql/group/dependency_proxy_group_setting_spec.rb": 9.342758781000157,8895 "spec/controllers/groups/group_links_controller_spec.rb": 12.908179000999553,8896 "spec/requests/api/resource_label_events_spec.rb": 13.579546976999154,8897 "spec/controllers/projects/merge_requests/content_controller_spec.rb": 10.133121625000058,8898 "spec/requests/api/feature_flags_user_lists_spec.rb": 6.987222929999916,8899 "spec/requests/api/group_import_spec.rb": 9.985634003000087,8900 "spec/controllers/groups/runners_controller_spec.rb": 10.222706124999604,8901 "spec/commands/sidekiq_cluster/cli_spec.rb": 2.2705518849998043,8902 "spec/requests/api/clusters/agents_spec.rb": 7.727636746999451,8903 "spec/requests/api/group_variables_spec.rb": 6.2606796540003415,8904 "spec/requests/api/protected_tags_spec.rb": 7.5842700180000975,8905 "spec/requests/api/graphql/packages/helm_spec.rb": 8.743858112999987,8906 "spec/controllers/repositories/lfs_storage_controller_spec.rb": 3.6347199350002484,8907 "spec/controllers/projects/settings/operations_controller_spec.rb": 6.135150662999877,8908 "spec/requests/api/graphql/ci/job_spec.rb": 4.092134751000231,8909 "spec/requests/api/clusters/agent_tokens_spec.rb": 4.472251483999571,8910 "spec/requests/api/graphql/mutations/merge_requests/create_spec.rb": 3.236743483999817,8911 "spec/controllers/groups/settings/ci_cd_controller_spec.rb": 4.533608540000387,8912 "spec/requests/api/graphql/mutations/packages/cleanup/policy/update_spec.rb": 3.1678835290003917,8913 "spec/requests/api/submodules_spec.rb": 5.5257032679992335,8914 "spec/requests/api/remote_mirrors_spec.rb": 3.812168102999749,8915 "spec/requests/organizations/organizations_controller_spec.rb": 3.241457973999786,8916 "spec/requests/projects/harbor/tags_controller_spec.rb": 2.94618215599985,8917 "spec/requests/api/graphql/project/data_transfer_spec.rb": 2.502346958000089,8918 "spec/requests/api/graphql/mutations/clusters/agents/delete_spec.rb": 2.290258822999931,8919 "spec/requests/api/graphql/users/set_namespace_commit_email_spec.rb": 3.5831348790006814,8920 "spec/requests/projects/incidents_controller_spec.rb": 3.725214858000072,8921 "spec/requests/api/graphql/mutations/ci/pipeline_schedule/delete_spec.rb": 1.3577179120002256,8922 "spec/controllers/profiles/personal_access_tokens_controller_spec.rb": 2.860588550999637,8923 "spec/controllers/projects/settings/integration_hook_logs_controller_spec.rb": 3.6759599520000847,8924 "spec/requests/api/graphql/namespace_query_spec.rb": 3.280342641000061,8925 "spec/controllers/projects/ci/daily_build_group_report_results_controller_spec.rb": 3.028413969000212,8926 "spec/requests/api/graphql/mutations/clusters/agents/create_spec.rb": 2.8378008529998624,8927 "spec/requests/api/graphql/project/job_spec.rb": 2.6901173140004175,8928 "spec/requests/api/metrics/user_starred_dashboards_spec.rb": 2.4740006390002236,8929 "spec/requests/api/graphql/mutations/issues/move_spec.rb": 2.3400382899999386,8930 "spec/requests/api/graphql/mutations/ci/pipeline_schedule/create_spec.rb": 1.5771632349997162,8931 "spec/requests/profiles/notifications_controller_spec.rb": 2.190522071000487,8932 "spec/requests/api/graphql/mutations/timelogs/delete_spec.rb": 1.4677027930001714,8933 "spec/requests/api/admin/sidekiq_spec.rb": 1.5142888890004542,8934 "spec/controllers/projects/analytics/cycle_analytics/summary_controller_spec.rb": 1.8796222030005083,8935 "spec/requests/projects/uploads_controller_spec.rb": 0.48241086500001984,8936 "spec/mailers/repository_check_mailer_spec.rb": 1.3385971930001688,8937 "spec/requests/api/graphql/ci/config_variables_spec.rb": 1.688475656999799,8938 "spec/requests/uploads_controller_spec.rb": 0.30818384699978196,8939 "spec/requests/groups/work_items_controller_spec.rb": 1.4090938680001273,8940 "spec/requests/api/graphql/mutations/design_management/update_spec.rb": 1.3232359530002213,8941 "spec/requests/api/graphql/mutations/work_items/export_spec.rb": 1.3287766630000988,8942 "spec/requests/projects/integrations/shimos_controller_spec.rb": 1.2007501630005208,8943 "spec/controllers/admin/usage_trends_controller_spec.rb": 0.9612367499994434,8944 "spec/requests/api/graphql/current_user_query_spec.rb": 0.8657687769991753,8945 "spec/requests/oauth/applications_controller_spec.rb": 0.8374449089997142,8946 "spec/requests/users/project_callouts_spec.rb": 0.8962337940001817,8947 "spec/requests/import/github_groups_controller_spec.rb": 0.6822543099997347,8948 "spec/controllers/projects/terraform_controller_spec.rb": 0.9221536429995467,8949 "spec/requests/api/graphql/mutations/alert_management/http_integration/destroy_spec.rb": 0.7206990269996822,8950 "spec/requests/projects/ci/promeheus_metrics/histograms_controller_spec.rb": 0.5770017280001412,8951 "spec/requests/import/github_controller_spec.rb": 0.4743919160000587,8952 "spec/requests/terraform/services_controller_spec.rb": 0.18502515699947253,8953 "spec/requests/api/graphql/mutations/work_items/linked_items/remove_spec.rb": 3.0021509419993898954}8955Knapsack global time execution for tests: 21m 47s8956Finished in 21 minutes 51 seconds (files took 1 minute 14.27 seconds to load)89573561 examples, 0 failures8958Randomized with seed 517448959[TEST PROF INFO] Time spent in factories: 04:48.808 (21.44% of total time)8960RSpec exited with 0.8961No examples to retry, congrats!8963Running after script...8964$ echo -e "\e[0Ksection_start:`date +%s`:report_results_section[collapsed=true]\r\e[0KReport results"8969Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy8971Uploading artifacts...8972WARNING: auto_explain/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 8973coverage/: found 5 matching artifact files and directories 8974crystalball/: found 2 matching artifact files and directories 8975deprecations/: found 4 matching artifact files and directories 8976knapsack/: found 4 matching artifact files and directories 8977rspec/: found 16 matching artifact files and directories 8978WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 8979log/*.log: found 19 matching artifact files and directories 8980WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4900739530/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com8981WARNING: Retrying... context=artifacts-uploader error=request redirected8982Uploading artifacts as "archive" to coordinator... 201 Created id=4900739530 responseStatus=201 Created token=64_zdM-z8983Uploading artifacts...8984rspec/rspec-*.xml: found 1 matching artifact files and directories 8985WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4900739530/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com8986WARNING: Retrying... context=artifacts-uploader error=request redirected8987Uploading artifacts as "junit" to coordinator... 201 Created id=4900739530 responseStatus=201 Created token=64_zdM-z8989Job succeeded