rspec-ee unit pg14 2/18
Passed Started
by
@edith007

Siddharth Asthana
1Running with gitlab-runner 16.1.0~beta.59.g83c66823 (83c66823)2 on green-3.shared-gitlab-org.runners-manager.gitlab.com/default EuhiQzPR, system ID: s_360bc95445273 feature flags: FF_NETWORK_PER_BUILD:true, FF_USE_FASTZIP:true, FF_USE_IMPROVED_URL_MASKING:true6Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 ...7Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...8Authenticating with credentials from job payload (GitLab Registry)9Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...10Using docker image sha256:2e09e9db92541ed81b1c00f1d5186f8c262d8b84e8d1755676ea4b25614f30c4 for registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:afc7bd7a60824044709543a6a700385e412d750d9ab4fc72b427e335e1d0f3ec ...11WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.12WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 is already created. Ignoring.13Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...14Authenticating with credentials from job payload (GitLab Registry)15Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 ...16Using docker image sha256:a9a90ece30d9630d694ab1997cd103ea8ec729789451b983a75c7b58b0062d45 for registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.2.12 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:7ef36177d5d0bc554fbb63d8210ae751bcc538bea7905b51d078d9ab90a755fa ...17Starting service redis:6.2-alpine ...18Pulling docker image redis:6.2-alpine ...19Using docker image sha256:d0675d033b87382205d08b598a004a99a1f6c4bd377cc86bb6df8957ce7dbb1c for redis:6.2-alpine with digest redis@sha256:740b5c973d1c9eea6e124a3905ba73d32354d0549f98ccc9e67af1af2a9ba478 ...20WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.2 is already created. Ignoring.21WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.2 is already created. Ignoring.22Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.2 ...23Authenticating with credentials from job payload (GitLab Registry)24Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.2 ...25Using docker image sha256:c635f6eed733b5c5a06d4a28aff99748c4cbefca04af192e08f10d87387c6485 for registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.2 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:b3cc177faa2dc274a32b66866536932c39be8578316b364363735fc0b8e1f9cb ...26Starting service elasticsearch:7.17.6 ...27Pulling docker image elasticsearch:7.17.6 ...28Using docker image sha256:5fad10241ffd65d817ed0ddfaf6e87eee1f7dc2a7db33db1047835560ea71fda for elasticsearch:7.17.6 with digest elasticsearch@sha256:6c128de5d01c0c130a806022d6bd99b3e4c27a9af5bfc33b6b81861ae117d028 ...29Waiting for services to be up and running (timeout 30 seconds)...30Authenticating with credentials from job payload (GitLab Registry)31Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 ...32Using docker image sha256:24a9e92645b17c878623efd51b7564f81e480bd281e94d7f33971082e0ca80e0 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14@sha256:ca349d228348f199cb57f574476584f42aca338747393ed93a9032a0261afc4d ...34Running on runner-euhiqzpr-project-27783254-concurrent-0 via runner-euhiqzpr-shared-gitlab-org-1691910261-bacec928...36Fetching changes with git depth set to 20...37Initialized empty Git repository in /builds/edith007/gitlab/.git/38Created fresh repository.39Checking out 199b254b as detached HEAD (ref is master)...40Skipping Git submodules setup41$ git remote set-url origin "${CI_REPOSITORY_URL}"43Checking cache for ruby-gems-debian-bullseye-ruby-3.0-protected...44WARNING: file does not exist 45Failed to extract cache47Downloading artifacts for compile-test-assets (4863613909)...48Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4863613909 responseStatus=200 OK token=64_wemy249Downloading artifacts for retrieve-tests-metadata (4863613915)...50Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4863613915 responseStatus=200 OK token=64_wemy251Downloading artifacts for setup-test-env (4863613912)...52Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4863613912 responseStatus=200 OK token=64_wemy254Using docker image sha256:24a9e92645b17c878623efd51b7564f81e480bd281e94d7f33971082e0ca80e0 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.20-rust-1.65-node-18.17-postgresql-14@sha256:ca349d228348f199cb57f574476584f42aca338747393ed93a9032a0261afc4d ...55$ echo $FOSS_ONLY56$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb57$ export GOPATH=$CI_PROJECT_DIR/.go58$ mkdir -p $GOPATH59$ source scripts/utils.sh60$ source scripts/prepare_build.sh1371Using decomposed database config (config/database.yml.decomposed-postgresql)1372Geo DB will be set up.1373Embedding DB will be set up.1389$ source ./scripts/rspec_helpers.sh1390$ run_timed_command "gem install knapsack --no-document"1391$ gem install knapsack --no-document1392Successfully installed knapsack-4.0.013931 gem installed1394==> 'gem install knapsack --no-document' succeeded in 0 seconds.1395$ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"1400$ export RSPEC_SKIPPED_TESTS_REPORT_PATH="rspec/skipped_tests-${CI_JOB_ID}.txt"1401$ export RSPEC_RETRIED_TESTS_REPORT_PATH="rspec/retried_tests-${CI_JOB_ID}.txt"1402$ rspec_paralellized_job "--fail-fast=${RSPEC_FAIL_FAST_THRESHOLD} --tag ~quarantine --tag ~level:background_migration --tag ~click_house"1403SKIP_FLAKY_TESTS_AUTOMATICALLY: 1404RETRY_FAILED_TESTS_IN_NEW_PROCESS: true1405KNAPSACK_GENERATE_REPORT: true1406FLAKY_RSPEC_GENERATE_REPORT: true1407KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{bin,channels,components,config,contracts,db,dependencies,elastic,elastic_integration,experiments,factories,finders,frontend,graphql,haml_lint,helpers,initializers,lib,metrics_server,models,policies,presenters,rack_servers,replicators,routing,rubocop,scripts,serializers,services,sidekiq,sidekiq_cluster,spam,support_specs,tasks,uploaders,validators,views,workers,tooling}{,/**/}*_spec.rb1408KNAPSACK_LOG_LEVEL: debug1409KNAPSACK_REPORT_PATH: knapsack/rspec-ee_unit_pg14_2_18_report.json1410FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json1411FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_unit_pg14_2_18_report.json1412NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_unit_pg14_2_18_report.json1413RSPEC_SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests-4863614089.txt1414CRYSTALBALL: 1415RSPEC_TESTS_MAPPING_ENABLED: 1416RSPEC_TESTS_FILTER_FILE: 1417Shell set options (set -o) enabled:1418braceexpand on1419hashall on1420interactive-comments on1421pipefail on1422Running command: bundle exec rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format Support::Formatters::JsonFormatter --out rspec/rspec-4863614089.json --format RspecJunitFormatter --out rspec/rspec-4863614089.xml --fail-fast=20 --tag ~quarantine --tag ~level:background_migration --tag ~click_house -- ee/spec/services/search/project_service_spec.rb ee/spec/services/ee/issues/update_service_spec.rb ee/spec/services/projects/create_from_template_service_spec.rb ee/spec/helpers/billing_plans_helper_spec.rb ee/spec/models/ee/merge_request_diff_spec.rb ee/spec/elastic/migrate/20230427555555_backfill_hidden_on_merge_requests_spec.rb ee/spec/lib/gitlab/checks/diff_check_spec.rb ee/spec/models/geo/design_management_repository_registry_spec.rb ee/spec/models/dast_site_profile_spec.rb ee/spec/services/groups/transfer_service_spec.rb ee/spec/models/ee/ci/pipeline_artifact_spec.rb ee/spec/finders/iterations_finder_spec.rb ee/spec/lib/analytics/devops_adoption/snapshot_calculator_spec.rb ee/spec/models/ee/project_statistics_spec.rb ee/spec/services/ci/create_pipeline_service/cross_needs_artifacts_spec.rb ee/spec/helpers/vulnerabilities_helper_spec.rb ee/spec/policies/requirements_management/requirement_policy_spec.rb ee/spec/helpers/search_helper_spec.rb ee/spec/services/resource_access_tokens/create_service_spec.rb ee/spec/services/ee/merge_requests/post_merge_service_spec.rb ee/spec/lib/gitlab/code_owners_spec.rb ee/spec/models/concerns/ee/mentionable_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/count_secure_pipelines_metric_spec.rb ee/spec/models/geo/dependency_proxy_manifest_registry_spec.rb ee/spec/graphql/resolvers/geo/package_file_registries_resolver_spec.rb ee/spec/workers/search/wiki/elastic_delete_group_wiki_worker_spec.rb ee/spec/lib/gitlab/subscription_portal/clients/rest_spec.rb ee/spec/presenters/ci/pipeline_presenter_spec.rb ee/spec/lib/elastic/latest/git_instance_proxy_spec.rb ee/spec/presenters/ci/minutes/usage_presenter_spec.rb ee/spec/elastic/migrate/20230613555555_add_schema_version_to_commits_spec.rb ee/spec/services/groups/create_service_spec.rb ee/spec/services/analytics/cycle_analytics/value_streams/create_service_spec.rb ee/spec/services/security/findings/dismiss_service_spec.rb ee/spec/finders/dast_site_profiles_finder_spec.rb ee/spec/lib/bulk_imports/groups/pipelines/epics_pipeline_spec.rb ee/spec/graphql/resolvers/dora_metrics_resolver_spec.rb ee/spec/lib/gitlab/auth/oidc/user_spec.rb ee/spec/services/app_sec/dast/scanner_profiles/update_service_spec.rb ee/spec/finders/groups_with_templates_finder_spec.rb ee/spec/graphql/mutations/dast/profiles/create_spec.rb ee/spec/services/merge_request_approval_settings/update_service_spec.rb ee/spec/graphql/resolvers/epics/children_resolver_spec.rb ee/spec/models/dast/scanner_profiles_build_spec.rb ee/spec/services/ee/users/update_service_spec.rb ee/spec/models/dependencies/dependency_list_export_spec.rb ee/spec/services/audit_events/export_csv_service_spec.rb ee/spec/services/todos/destroy/confidential_epic_service_spec.rb ee/spec/lib/ee/backup/repositories_spec.rb ee/spec/finders/clusters/environments_finder_spec.rb ee/spec/helpers/ee/personal_access_tokens_helper_spec.rb ee/spec/services/llm/chat_service_spec.rb ee/spec/services/llm/explain_code_service_spec.rb ee/spec/finders/concerns/epics/with_access_check_spec.rb ee/spec/graphql/resolvers/epic_ancestors_resolver_spec.rb ee/spec/views/shared/issuable/_approver_suggestion.html.haml_spec.rb ee/spec/models/ee/projects/wiki_repository_spec.rb ee/spec/lib/security/scan_result_policies/policy_violation_comment_spec.rb ee/spec/models/release_highlight_spec.rb ee/spec/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules_in_batch_spec.rb ee/spec/models/dependency_proxy/packages/setting_spec.rb ee/spec/lib/gitlab/usage/metrics/instrumentations/count_deployment_approvals_metric_spec.rb ee/spec/lib/gitlab/exclusive_lease_spec.rb ee/spec/lib/remote_development/workspaces/reconcile/input/params_validator_spec.rb ee/spec/lib/elastic/latest/epic_class_proxy_spec.rb ee/spec/lib/ee/api/entities/deployment_extended_spec.rb ee/spec/graphql/resolvers/geo/dependency_proxy_manifest_registries_resolver_spec.rb ee/spec/workers/concerns/update_orchestration_policy_configuration_spec.rb ee/spec/lib/system_check/geo/http_connection_check_spec.rb ee/spec/services/ee/notes/post_process_service_spec.rb ee/spec/models/dast/branch_spec.rb ee/spec/helpers/ee/labels_helper_spec.rb ee/spec/services/geo/move_repository_service_spec.rb ee/spec/models/ci/sources/project_spec.rb ee/spec/models/concerns/elastic/maintain_elasticsearch_on_group_update_spec.rb ee/spec/services/boards/epics/create_service_spec.rb ee/spec/models/group_merge_request_approval_setting_spec.rb ee/spec/services/ci/minutes/refresh_cached_data_service_spec.rb ee/spec/services/group_saml/identity/destroy_service_spec.rb ee/spec/models/incident_management/pending_escalations/issue_spec.rb ee/spec/lib/gitlab/auth/group_saml/membership_enforcer_spec.rb ee/spec/lib/ee/gitlab/rack_attack/request_spec.rb ee/spec/services/ee/merge_requests/close_service_spec.rb ee/spec/lib/gitlab/ci/reports/license_scanning/dependency_spec.rb ee/spec/services/security/ingestion/tasks/ingest_finding_evidence_spec.rb ee/spec/models/protected_branch/merge_access_level_spec.rb ee/spec/models/dora/performance_score_spec.rb ee/spec/models/user_permission_export_upload_spec.rb ee/spec/graphql/mutations/security_policy/create_security_policy_project_spec.rb ee/spec/graphql/resolvers/vulnerabilities/scanners_resolver_spec.rb ee/spec/helpers/ee/ci/pipelines_helper_spec.rb ee/spec/finders/autocomplete/project_invited_groups_finder_spec.rb ee/spec/services/alert_management/process_prometheus_alert_service_spec.rb ee/spec/serializers/ee/issue_entity_spec.rb ee/spec/graphql/types/vulnerability_request_type_spec.rb ee/spec/services/vulnerabilities/statistics/adjustment_service_spec.rb ee/spec/finders/geo/project_registry_status_finder_spec.rb ee/spec/services/arkose/record_user_data_service_spec.rb ee/spec/services/package_metadata/advisory_data_object_spec.rb ee/spec/lib/gitlab/contribution_analytics/postgresql_data_collector_spec.rb ee/spec/services/geo/container_repository_registry_removal_service_spec.rb ee/spec/graphql/resolvers/product_analytics/visualization_resolver_spec.rb ee/spec/models/namespaces/free_user_cap_spec.rb ee/spec/graphql/resolvers/ci/catalog/resources_resolver_spec.rb ee/spec/workers/ee/issuable_export_csv_worker_spec.rb ee/spec/services/sbom/ingestion/tasks/ingest_components_spec.rb ee/spec/lib/remote_development/workspaces/reconcile/output/desired_config_generator_spec.rb ee/spec/workers/ee/arkose/blocked_users_report_worker_spec.rb ee/spec/views/layouts/_page.html.haml_spec.rb ee/spec/lib/gitlab/status_page/storage/s3_client_spec.rb ee/spec/lib/ee/gitlab/omniauth_initializer_spec.rb ee/spec/helpers/ee/sorting_helper_spec.rb ee/spec/services/package_metadata/data_object_spec.rb ee/spec/lib/gitlab/insights/reducers/label_count_per_period_reducer_spec.rb ee/spec/models/gitlab_subscription_history_spec.rb ee/spec/lib/ee/gitlab/background_migration/populate_approval_merge_request_rules_with_security_orchestration_spec.rb ee/spec/serializers/pipeline_serializer_spec.rb ee/spec/lib/gitlab/insights/loader_spec.rb ee/spec/workers/security/generate_policy_violation_comment_worker_spec.rb ee/spec/models/vulnerabilities/remediation_spec.rb ee/spec/services/ee/labels/promote_service_spec.rb ee/spec/lib/gitlab/vulnerabilities/parser_spec.rb ee/spec/elastic/migrate/20210813134600_add_namespace_ancestry_to_issues_mapping_spec.rb ee/spec/services/ee/users/create_service_spec.rb ee/spec/lib/gitlab/ci/minutes/pipeline_consumption_spec.rb ee/spec/services/security/security_orchestration_policies/process_rule_service_spec.rb ee/spec/graphql/types/forecasting/forecast_status_enum_spec.rb ee/spec/finders/incident_management/issuable_resource_links_finder_spec.rb ee/spec/services/system_notes/escalations_service_spec.rb ee/spec/lib/ee/sidebars/your_work/panel_spec.rb ee/spec/workers/security/orchestration_configuration_create_bot_worker_spec.rb ee/spec/finders/ee/user_recent_events_finder_spec.rb ee/spec/graphql/resolvers/analytics/contribution_analytics/contributions_resolver_spec.rb ee/spec/finders/epics/with_issues_finder_spec.rb ee/spec/graphql/resolvers/boards/epic_lists_resolvers_spec.rb ee/spec/lib/gitlab/authority_analyzer_spec.rb ee/spec/services/feature_flag_issues/destroy_service_spec.rb ee/spec/lib/gitlab/audit/levels/group_spec.rb ee/spec/lib/ee/gitlab/scim/value_parser_spec.rb ee/spec/views/shared/billings/_billing_plan.html.haml_spec.rb ee/spec/services/geo/repository_deleted_event_store_spec.rb ee/spec/services/status_page/publish_details_service_spec.rb ee/spec/services/audit_events/streaming/instance_headers/destroy_service_spec.rb ee/spec/lib/ee/gitlab/verify/uploads_spec.rb ee/spec/models/dora/configuration_spec.rb ee/spec/presenters/dast/site_profile_presenter_spec.rb ee/spec/services/analytics/devops_adoption/enabled_namespaces/delete_service_spec.rb ee/spec/models/geo/push_user_spec.rb ee/spec/services/ee/ci/change_variable_service_spec.rb ee/spec/helpers/roadmaps_helper_spec.rb ee/spec/finders/app_sec/fuzzing/coverage/corpuses_finder_spec.rb ee/spec/lib/banzai/filter/jira_private_image_link_filter_spec.rb ee/spec/lib/gitlab/llm/chain/answer_spec.rb ee/spec/lib/gitlab/vulnerability_scanning/security_report_builder_spec.rb ee/spec/views/projects/security/discover/show.html.haml_spec.rb ee/spec/lib/gitlab/middleware/ip_restrictor_spec.rb ee/spec/services/boards/epic_boards/visits/create_service_spec.rb ee/spec/initializers/session_store_spec.rb ee/spec/views/admin/users/_credit_card_info.html.haml_spec.rb ee/spec/services/search/reindexing_service_spec.rb ee/spec/lib/ee/api/entities/member_role_spec.rb ee/spec/services/personal_access_tokens/groups/update_lifetime_service_spec.rb ee/spec/lib/gitlab/llm/open_ai/completions/explain_code_spec.rb ee/spec/graphql/types/geo/design_management_repository_registry_type_spec.rb ee/spec/workers/concerns/elastic/migration_remove_fields_helper_spec.rb ee/spec/elastic/migrate/20220613120500_migrate_commits_to_separate_index_spec.rb ee/spec/elastic/migrate/20220118150500_delete_orphaned_commits_spec.rb ee/spec/elastic/migrate/20220824133000_add_hidden_to_issues_spec.rb ee/spec/views/admin/application_settings/_git_abuse_rate_limit.html.haml_spec.rb ee/spec/elastic/migrate/20210112165500_delete_issues_from_original_index_spec.rb ee/spec/graphql/types/work_items/type_spec.rb ee/spec/services/remote_development/workspaces/create_service_spec.rb ee/spec/services/gitlab_subscriptions/create_lead_service_spec.rb ee/spec/graphql/types/work_items/widgets/progress_input_type_spec.rb ee/spec/lib/gitlab/llm/response_modifiers/empty_response_modifier_spec.rb ee/spec/lib/system_check/geo/current_node_check_spec.rb ee/spec/models/storage_shard_spec.rb ee/spec/graphql/types/vulnerability/issue_link_type_spec.rb ee/spec/graphql/types/ci/catalog/resource_sort_enum_spec.rb ee/spec/graphql/types/compliance_management/merge_requests/compliance_violation_sort_enum_spec.rb ee/spec/workers/elastic_delete_project_worker_spec.rb ee/spec/workers/geo/verification_cron_worker_spec.rb ee/spec/lib/gitlab/status_page/pipeline/post_process_pipeline_spec.rb ee/spec/graphql/types/security/finding_reports_comparer/report_type_spec.rb ee/spec/lib/gitlab/llm/vertex_ai/model_configurations/base_spec.rb ee/spec/lib/gitlab/llm/chain/tools/summarize_comments/prompts/anthropic_spec.rb ee/spec/graphql/types/vulnerability_location/dast_type_spec.rb ee/spec/graphql/ee/types/permission_types/deployment_spec.rb ee/spec/graphql/types/vulnerability_details/base_type_spec.rb ee/spec/graphql/ee/types/branch_protection_type_spec.rb ee/spec/graphql/types/alert_management/payload_alert_field_type_enum_spec.rb ee/spec/graphql/types/vulnerabilities_count_by_day_type_spec.rb ee/spec/graphql/types/vulnerability_details/text_type_spec.rb ee/spec/graphql/types/ci/code_quality_degradation_severity_enum_spec.rb ee/spec/services/search/group_service_spec.rbKnapsack report generator started!1423/builds/edith007/gitlab/ee/app/services/remote_development/service_response_factory.rb:41: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1424/builds/edith007/gitlab/ee/app/services/remote_development/workspaces/create_service.rb:28: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1425/builds/edith007/gitlab/ee/app/services/remote_development/workspaces/reconcile_service.rb:38: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1426/builds/edith007/gitlab/ee/app/services/remote_development/workspaces/update_service.rb:28: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1427/builds/edith007/gitlab/ee/lib/remote_development/agent_config/main.rb:32: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1428/builds/edith007/gitlab/ee/lib/remote_development/agent_config/updater.rb:11: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1429/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/authorizer.rb:12: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1430/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/authorizer.rb:13: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1431/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/creator.rb:17: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1432/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/creator.rb:24: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1433/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/creator.rb:25: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1434/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/creator.rb:28: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1435/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/devfile_fetcher.rb:15: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1436/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/devfile_fetcher.rb:16: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1437/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/devfile_flattener.rb:12: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1438/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/editor_component_injector.rb:12: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1439/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/editor_component_injector.rb:17: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1440/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/editor_component_injector.rb:18: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1441/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/post_flatten_devfile_validator.rb:43: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1442/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/post_flatten_devfile_validator.rb:54: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1443/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/post_flatten_devfile_validator.rb:102: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1444/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/post_flatten_devfile_validator.rb:126: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1445/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/post_flatten_devfile_validator.rb:159: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1446/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/post_flatten_devfile_validator.rb:202: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1447/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/post_flatten_devfile_validator.rb:235: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1448/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/pre_flatten_devfile_validator.rb:24: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1449/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/pre_flatten_devfile_validator.rb:52: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1450/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/project_cloner_component_injector.rb:12: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1451/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/project_cloner_component_injector.rb:17: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1452/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/project_cloner_component_injector.rb:18: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1453/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/project_cloner_component_injector.rb:23: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1454/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/volume_component_injector.rb:12: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1455/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/volume_component_injector.rb:13: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1456/builds/edith007/gitlab/ee/lib/remote_development/workspaces/create/volume_component_injector.rb:14: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1457/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/main.rb:43: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1458/builds/edith007/gitlab/ee/lib/remote_development/workspaces/update/authorizer.rb:12: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1459/builds/edith007/gitlab/ee/lib/remote_development/workspaces/update/updater.rb:12: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1460/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/input/agent_infos_observer.rb:15: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1461/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/input/params_extractor.rb:14: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1462/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/input/params_extractor.rb:16: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1463/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/input/params_to_infos_converter.rb:14: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1464/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/input/params_validator.rb:15: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1465/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/output/rails_infos_observer.rb:11: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1466/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/output/workspaces_to_rails_infos_converter.rb:15: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1467/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/persistence/orphaned_workspaces_observer.rb:12: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1468/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/persistence/workspaces_from_agent_infos_updater.rb:15: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1469/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/persistence/workspaces_to_be_returned_finder.rb:16: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1470/builds/edith007/gitlab/ee/lib/remote_development/workspaces/reconcile/persistence/workspaces_to_be_returned_updater.rb:11: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1471/builds/edith007/gitlab/ee/spec/lib/remote_development/workspaces/reconcile/input/params_validator_spec.rb:57: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1472/builds/edith007/gitlab/ee/spec/services/remote_development/workspaces/create_service_spec.rb:34: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!1473Run options: exclude {:quarantine=>true, :level=>"background_migration", :click_house=>true}1474Test environment set up in 0.588868889 seconds1475Search::ProjectService1476 when a single project provided1477 behaves like EE search service shared examples1478 #use_elasticsearch?1479 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?1480 when requesting basic_search1481 returns false1482 #execute1483 returns an Elastic result object when elasticsearch is enabled1484 returns an ordinary result object when elasticsearch is disabled1485 advanced syntax queries for all scopes1486 with query "display bug" and scope merge_requests1487 allows advanced query1488 with query "display bug" and scope notes1489 allows advanced query1490 with query "display bug" and scope commits1491 allows advanced query1492 with query "display bug" and scope blobs1493 allows advanced query1494 with query "display bug" and scope projects1495 allows advanced query1496 with query "display bug" and scope issues1497 allows advanced query1498 with query "display bug" and scope wiki_blobs1499 allows advanced query1500 with query "display bug" and scope milestones1501 allows advanced query1502 with query bug -display and scope merge_requests1503 allows advanced query1504 with query bug -display and scope notes1505 allows advanced query1506 with query bug -display and scope commits1507 allows advanced query1508 with query bug -display and scope blobs1509 allows advanced query1510 with query bug -display and scope projects1511 allows advanced query1512 with query bug -display and scope issues1513 allows advanced query1514 with query bug -display and scope wiki_blobs1515 allows advanced query1516 with query bug -display and scope milestones1517 allows advanced query1518 with query bug display | sound and scope merge_requests1519 allows advanced query1520 with query bug display | sound and scope notes1521 allows advanced query1522 with query bug display | sound and scope commits1523 allows advanced query1524 with query bug display | sound and scope blobs1525 allows advanced query1526 with query bug display | sound and scope projects1527 allows advanced query1528 with query bug display | sound and scope issues1529 allows advanced query1530 with query bug display | sound and scope wiki_blobs1531 allows advanced query1532 with query bug display | sound and scope milestones1533 allows advanced query1534 with query bug | (display +sound) and scope merge_requests1535 allows advanced query1536 with query bug | (display +sound) and scope notes1537 allows advanced query1538 with query bug | (display +sound) and scope commits1539 allows advanced query1540 with query bug | (display +sound) and scope blobs1541 allows advanced query1542 with query bug | (display +sound) and scope projects1543 allows advanced query1544 with query bug | (display +sound) and scope issues1545 allows advanced query1546 with query bug | (display +sound) and scope wiki_blobs1547 allows advanced query1548 with query bug | (display +sound) and scope milestones1549 allows advanced query1550 with query bug find_by_* and scope merge_requests1551 allows advanced query1552 with query bug find_by_* and scope notes1553 allows advanced query1554 with query bug find_by_* and scope commits1555 allows advanced query1556 with query bug find_by_* and scope blobs1557 allows advanced query1558 with query bug find_by_* and scope projects1559 allows advanced query1560 with query bug find_by_* and scope issues1561 allows advanced query1562 with query bug find_by_* and scope wiki_blobs1563 allows advanced query1564 with query bug find_by_* and scope milestones1565 allows advanced query1566 with query argument \-last and scope merge_requests1567 allows advanced query1568 with query argument \-last and scope notes1569 allows advanced query1570 with query argument \-last and scope commits1571 allows advanced query1572 with query argument \-last and scope blobs1573 allows advanced query1574 with query argument \-last and scope projects1575 allows advanced query1576 with query argument \-last and scope issues1577 allows advanced query1578 with query argument \-last and scope wiki_blobs1579 allows advanced query1580 with query argument \-last and scope milestones1581 allows advanced query1582 and project is archived1583 uses basic project search1584 #elasticsearchable_scope1585 is set to project1586 when the scope is users1587 is nil1588 when searching with Zoekt1589 searches with Zoekt1590 when project does not have Zoekt enabled1591 does not search with Zoekt1592 when scope is not blobs1593 does not search with Zoekt1594 when basic_search is requested1595 does not search with Zoekt1596 when user set enabled_zoekt preference to false1597 does not search with Zoekt1598 when a multiple projects provided1599 behaves like EE search service shared examples1600 #use_elasticsearch?1601 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?1602 when requesting basic_search1603 returns false1604 #execute1605 returns an Elastic result object when elasticsearch is enabled1606 returns an ordinary result object when elasticsearch is disabled1607 advanced syntax queries for all scopes1608 with query "display bug" and scope merge_requests1609 allows advanced query1610 with query "display bug" and scope notes1611 allows advanced query1612 with query "display bug" and scope commits1613 allows advanced query1614 with query "display bug" and scope blobs1615 allows advanced query1616 with query "display bug" and scope projects1617 allows advanced query1618 with query "display bug" and scope issues1619 allows advanced query1620 with query "display bug" and scope wiki_blobs1621 allows advanced query1622 with query "display bug" and scope milestones1623 allows advanced query1624 with query bug -display and scope merge_requests1625 allows advanced query1626 with query bug -display and scope notes1627 allows advanced query1628 with query bug -display and scope commits1629 allows advanced query1630 with query bug -display and scope blobs1631 allows advanced query1632 with query bug -display and scope projects1633 allows advanced query1634 with query bug -display and scope issues1635 allows advanced query1636 with query bug -display and scope wiki_blobs1637 allows advanced query1638 with query bug -display and scope milestones1639 allows advanced query1640 with query bug display | sound and scope merge_requests1641 allows advanced query1642 with query bug display | sound and scope notes1643 allows advanced query1644 with query bug display | sound and scope commits1645 allows advanced query1646 with query bug display | sound and scope blobs1647 allows advanced query1648 with query bug display | sound and scope projects1649 allows advanced query1650 with query bug display | sound and scope issues1651 allows advanced query1652 with query bug display | sound and scope wiki_blobs1653 allows advanced query1654 with query bug display | sound and scope milestones1655 allows advanced query1656 with query bug | (display +sound) and scope merge_requests1657 allows advanced query1658 with query bug | (display +sound) and scope notes1659 allows advanced query1660 with query bug | (display +sound) and scope commits1661 allows advanced query1662 with query bug | (display +sound) and scope blobs1663 allows advanced query1664 with query bug | (display +sound) and scope projects1665 allows advanced query1666 with query bug | (display +sound) and scope issues1667 allows advanced query1668 with query bug | (display +sound) and scope wiki_blobs1669 allows advanced query1670 with query bug | (display +sound) and scope milestones1671 allows advanced query1672 with query bug find_by_* and scope merge_requests1673 allows advanced query1674 with query bug find_by_* and scope notes1675 allows advanced query1676 with query bug find_by_* and scope commits1677 allows advanced query1678 with query bug find_by_* and scope blobs1679 allows advanced query1680 with query bug find_by_* and scope projects1681 allows advanced query1682 with query bug find_by_* and scope issues1683 allows advanced query1684 with query bug find_by_* and scope wiki_blobs1685 allows advanced query1686 with query bug find_by_* and scope milestones1687 allows advanced query1688 with query argument \-last and scope merge_requests1689 allows advanced query1690 with query argument \-last and scope notes1691 allows advanced query1692 with query argument \-last and scope commits1693 allows advanced query1694 with query argument \-last and scope blobs1695 allows advanced query1696 with query argument \-last and scope projects1697 allows advanced query1698 with query argument \-last and scope issues1699 allows advanced query1700 with query argument \-last and scope wiki_blobs1701 allows advanced query1702 with query argument \-last and scope milestones1703 allows advanced query1704 default branch support1705 #use_default_branch?1706 when repository_ref param is blank1707 is expected to be truthy1708 when repository_ref param provided1709 search_scope: "issues", default_branch_given: true, use_default_branch: true1710 is expected to eq true1711 search_scope: "issues", default_branch_given: false, use_default_branch: true1712 is expected to eq true1713 search_scope: "merge_requests", default_branch_given: true, use_default_branch: true1714 is expected to eq true1715 search_scope: "merge_requests", default_branch_given: false, use_default_branch: true1716 is expected to eq true1717 search_scope: "notes", default_branch_given: true, use_default_branch: true1718 is expected to eq true1719 search_scope: "notes", default_branch_given: false, use_default_branch: true1720 is expected to eq true1721 search_scope: "milestones", default_branch_given: true, use_default_branch: true1722 is expected to eq true1723 search_scope: "milestones", default_branch_given: false, use_default_branch: true1724 is expected to eq true1725 search_scope: "blobs", default_branch_given: true, use_default_branch: true1726 is expected to eq true1727 search_scope: "blobs", default_branch_given: false, use_default_branch: false1728 is expected to eq false1729 search_scope: "wiki_blobs", default_branch_given: true, use_default_branch: true1730 is expected to eq true1731 search_scope: "wiki_blobs", default_branch_given: false, use_default_branch: false1732 is expected to eq false1733 search_scope: "commits", default_branch_given: true, use_default_branch: true1734 is expected to eq true1735 search_scope: "commits", default_branch_given: false, use_default_branch: false1736 is expected to eq false1737 #execute1738 returns Elastic results when searching non-default branch1739 returns ordinary results when searching non-default branch1740 visibility1741 merge request1742 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11743 behaves like search respects visibility1744 respects visibility1745 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11746 behaves like search respects visibility1747 respects visibility1748 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11749 behaves like search respects visibility1750 respects visibility1751 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11752 behaves like search respects visibility1753 respects visibility1754 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11755 behaves like search respects visibility1756 respects visibility1757 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11758 behaves like search respects visibility1759 respects visibility1760 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11761 behaves like search respects visibility1762 respects visibility1763 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01764 behaves like search respects visibility1765 respects visibility1766 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11767 behaves like search respects visibility1768 respects visibility1769 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01770 behaves like search respects visibility1771 respects visibility1772 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01773 behaves like search respects visibility1774 respects visibility1775 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01776 behaves like search respects visibility1777 respects visibility1778 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01779 behaves like search respects visibility1780 respects visibility1781 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01782 behaves like search respects visibility1783 respects visibility1784 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01785 behaves like search respects visibility1786 respects visibility1787 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01788 behaves like search respects visibility1789 respects visibility1790 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11791 behaves like search respects visibility1792 respects visibility1793 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11794 behaves like search respects visibility1795 respects visibility1796 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 11797 behaves like search respects visibility1798 respects visibility1799 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11800 behaves like search respects visibility1801 respects visibility1802 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11803 behaves like search respects visibility1804 respects visibility1805 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01806 behaves like search respects visibility1807 respects visibility1808 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11809 behaves like search respects visibility1810 respects visibility1811 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01812 behaves like search respects visibility1813 respects visibility1814 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11815 behaves like search respects visibility1816 respects visibility1817 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01818 behaves like search respects visibility1819 respects visibility1820 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01821 behaves like search respects visibility1822 respects visibility1823 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01824 behaves like search respects visibility1825 respects visibility1826 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01827 behaves like search respects visibility1828 respects visibility1829 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01830 behaves like search respects visibility1831 respects visibility1832 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01833 behaves like search respects visibility1834 respects visibility1835 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01836 behaves like search respects visibility1837 respects visibility1838 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 11839 behaves like search respects visibility1840 respects visibility1841 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01842 behaves like search respects visibility1843 respects visibility1844 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 11845 behaves like search respects visibility1846 respects visibility1847 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 01848 behaves like search respects visibility1849 respects visibility1850 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01851 behaves like search respects visibility1852 respects visibility1853 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01854 behaves like search respects visibility1855 respects visibility1856 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01857 behaves like search respects visibility1858 respects visibility1859 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01860 behaves like search respects visibility1861 respects visibility1862 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01863 behaves like search respects visibility1864 respects visibility1865 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01866 behaves like search respects visibility1867 respects visibility1868 note1869 on issues1870 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 21871 behaves like search respects visibility1872 respects visibility1873 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11874 behaves like search respects visibility1875 respects visibility1876 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 21877 behaves like search respects visibility1878 respects visibility1879 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11880 behaves like search respects visibility1881 respects visibility1882 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11883 behaves like search respects visibility1884 respects visibility1885 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 11886 behaves like search respects visibility1887 respects visibility1888 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21889 behaves like search respects visibility1890 respects visibility1891 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01892 behaves like search respects visibility1893 respects visibility1894 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21895 behaves like search respects visibility1896 respects visibility1897 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11898 behaves like search respects visibility1899 respects visibility1900 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01901 behaves like search respects visibility1902 respects visibility1903 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01904 behaves like search respects visibility1905 respects visibility1906 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01907 behaves like search respects visibility1908 respects visibility1909 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01910 behaves like search respects visibility1911 respects visibility1912 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01913 behaves like search respects visibility1914 respects visibility1915 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01916 behaves like search respects visibility1917 respects visibility1918 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 21919 behaves like search respects visibility1920 respects visibility1921 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 11922 behaves like search respects visibility1923 respects visibility1924 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 21925 behaves like search respects visibility1926 respects visibility1927 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 11928 behaves like search respects visibility1929 respects visibility1930 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 11931 behaves like search respects visibility1932 respects visibility1933 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 01934 behaves like search respects visibility1935 respects visibility1936 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21937 behaves like search respects visibility1938 respects visibility1939 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01940 behaves like search respects visibility1941 respects visibility1942 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21943 behaves like search respects visibility1944 respects visibility1945 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11946 behaves like search respects visibility1947 respects visibility1948 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01949 behaves like search respects visibility1950 respects visibility1951 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01952 behaves like search respects visibility1953 respects visibility1954 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01955 behaves like search respects visibility1956 respects visibility1957 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01958 behaves like search respects visibility1959 respects visibility1960 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01961 behaves like search respects visibility1962 respects visibility1963 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01964 behaves like search respects visibility1965 respects visibility1966 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 21967 behaves like search respects visibility1968 respects visibility1969 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 01970 behaves like search respects visibility1971 respects visibility1972 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 21973 behaves like search respects visibility1974 respects visibility1975 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 11976 behaves like search respects visibility1977 respects visibility1978 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 01979 behaves like search respects visibility1980 respects visibility1981 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 01982 behaves like search respects visibility1983 respects visibility1984 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 01985 behaves like search respects visibility1986 respects visibility1987 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 01988 behaves like search respects visibility1989 respects visibility1990 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 01991 behaves like search respects visibility1992 respects visibility1993 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 01994 behaves like search respects visibility1995 respects visibility1996 on merge requests1997 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 11998 behaves like search respects visibility1999 respects visibility2000 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12001 behaves like search respects visibility2002 respects visibility2003 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12004 behaves like search respects visibility2005 respects visibility2006 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12007 behaves like search respects visibility2008 respects visibility2009 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12010 behaves like search respects visibility2011 respects visibility2012 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12013 behaves like search respects visibility2014 respects visibility2015 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12016 behaves like search respects visibility2017 respects visibility2018 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02019 behaves like search respects visibility2020 respects visibility2021 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12022 behaves like search respects visibility2023 respects visibility2024 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02025 behaves like search respects visibility2026 respects visibility2027 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02028 behaves like search respects visibility2029 respects visibility2030 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02031 behaves like search respects visibility2032 respects visibility2033 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02034 behaves like search respects visibility2035 respects visibility2036 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02037 behaves like search respects visibility2038 respects visibility2039 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02040 behaves like search respects visibility2041 respects visibility2042 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02043 behaves like search respects visibility2044 respects visibility2045 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12046 behaves like search respects visibility2047 respects visibility2048 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12049 behaves like search respects visibility2050 respects visibility2051 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12052 behaves like search respects visibility2053 respects visibility2054 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12055 behaves like search respects visibility2056 respects visibility2057 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12058 behaves like search respects visibility2059 respects visibility2060 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02061 behaves like search respects visibility2062 respects visibility2063 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12064 behaves like search respects visibility2065 respects visibility2066 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02067 behaves like search respects visibility2068 respects visibility2069 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12070 behaves like search respects visibility2071 respects visibility2072 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02073 behaves like search respects visibility2074 respects visibility2075 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02076 behaves like search respects visibility2077 respects visibility2078 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02079 behaves like search respects visibility2080 respects visibility2081 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02082 behaves like search respects visibility2083 respects visibility2084 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02085 behaves like search respects visibility2086 respects visibility2087 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02088 behaves like search respects visibility2089 respects visibility2090 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02091 behaves like search respects visibility2092 respects visibility2093 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12094 behaves like search respects visibility2095 respects visibility2096 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02097 behaves like search respects visibility2098 respects visibility2099 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12100 behaves like search respects visibility2101 respects visibility2102 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02103 behaves like search respects visibility2104 respects visibility2105 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02106 behaves like search respects visibility2107 respects visibility2108 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02109 behaves like search respects visibility2110 respects visibility2111 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02112 behaves like search respects visibility2113 respects visibility2114 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02115 behaves like search respects visibility2116 respects visibility2117 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02118 behaves like search respects visibility2119 respects visibility2120 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02121 behaves like search respects visibility2122 respects visibility2123 on commits2124 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12125 behaves like search respects visibility2126 respects visibility2127 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12128 behaves like search respects visibility2129 respects visibility2130 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12131 behaves like search respects visibility2132 respects visibility2133 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12134 behaves like search respects visibility2135 respects visibility2136 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12137 behaves like search respects visibility2138 respects visibility2139 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12140 behaves like search respects visibility2141 respects visibility2142 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12143 behaves like search respects visibility2144 respects visibility2145 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02146 behaves like search respects visibility2147 respects visibility2148 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12149 behaves like search respects visibility2150 respects visibility2151 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12152 behaves like search respects visibility2153 respects visibility2154 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02155 behaves like search respects visibility2156 respects visibility2157 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02158 behaves like search respects visibility2159 respects visibility2160 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02161 behaves like search respects visibility2162 respects visibility2163 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02164 behaves like search respects visibility2165 respects visibility2166 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02167 behaves like search respects visibility2168 respects visibility2169 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02170 behaves like search respects visibility2171 respects visibility2172 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12173 behaves like search respects visibility2174 respects visibility2175 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12176 behaves like search respects visibility2177 respects visibility2178 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12179 behaves like search respects visibility2180 respects visibility2181 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12182 behaves like search respects visibility2183 respects visibility2184 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12185 behaves like search respects visibility2186 respects visibility2187 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02188 behaves like search respects visibility2189 respects visibility2190 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12191 behaves like search respects visibility2192 respects visibility2193 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02194 behaves like search respects visibility2195 respects visibility2196 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12197 behaves like search respects visibility2198 respects visibility2199 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12200 behaves like search respects visibility2201 respects visibility2202 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02203 behaves like search respects visibility2204 respects visibility2205 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02206 behaves like search respects visibility2207 respects visibility2208 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02209 behaves like search respects visibility2210 respects visibility2211 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02212 behaves like search respects visibility2213 respects visibility2214 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02215 behaves like search respects visibility2216 respects visibility2217 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02218 behaves like search respects visibility2219 respects visibility2220 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12221 behaves like search respects visibility2222 respects visibility2223 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02224 behaves like search respects visibility2225 respects visibility2226 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12227 behaves like search respects visibility2228 respects visibility2229 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02230 behaves like search respects visibility2231 respects visibility2232 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02233 behaves like search respects visibility2234 respects visibility2235 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02236 behaves like search respects visibility2237 respects visibility2238 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02239 behaves like search respects visibility2240 respects visibility2241 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02242 behaves like search respects visibility2243 respects visibility2244 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02245 behaves like search respects visibility2246 respects visibility2247 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02248 behaves like search respects visibility2249 respects visibility2250 on snippets2251 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12252 behaves like search respects visibility2253 respects visibility2254 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12255 behaves like search respects visibility2256 respects visibility2257 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12258 behaves like search respects visibility2259 respects visibility2260 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12261 behaves like search respects visibility2262 respects visibility2263 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12264 behaves like search respects visibility2265 respects visibility2266 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12267 behaves like search respects visibility2268 respects visibility2269 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12270 behaves like search respects visibility2271 respects visibility2272 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02273 behaves like search respects visibility2274 respects visibility2275 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12276 behaves like search respects visibility2277 respects visibility2278 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12279 behaves like search respects visibility2280 respects visibility2281 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02282 behaves like search respects visibility2283 respects visibility2284 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02285 behaves like search respects visibility2286 respects visibility2287 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02288 behaves like search respects visibility2289 respects visibility2290 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02291 behaves like search respects visibility2292 respects visibility2293 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02294 behaves like search respects visibility2295 respects visibility2296 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02297 behaves like search respects visibility2298 respects visibility2299 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12300 behaves like search respects visibility2301 respects visibility2302 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12303 behaves like search respects visibility2304 respects visibility2305 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12306 behaves like search respects visibility2307 respects visibility2308 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12309 behaves like search respects visibility2310 respects visibility2311 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12312 behaves like search respects visibility2313 respects visibility2314 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02315 behaves like search respects visibility2316 respects visibility2317 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12318 behaves like search respects visibility2319 respects visibility2320 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02321 behaves like search respects visibility2322 respects visibility2323 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12324 behaves like search respects visibility2325 respects visibility2326 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12327 behaves like search respects visibility2328 respects visibility2329 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02330 behaves like search respects visibility2331 respects visibility2332 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02333 behaves like search respects visibility2334 respects visibility2335 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02336 behaves like search respects visibility2337 respects visibility2338 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02339 behaves like search respects visibility2340 respects visibility2341 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02342 behaves like search respects visibility2343 respects visibility2344 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02345 behaves like search respects visibility2346 respects visibility2347 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12348 behaves like search respects visibility2349 respects visibility2350 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02351 behaves like search respects visibility2352 respects visibility2353 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12354 behaves like search respects visibility2355 respects visibility2356 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12357 behaves like search respects visibility2358 respects visibility2359 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02360 behaves like search respects visibility2361 respects visibility2362 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02363 behaves like search respects visibility2364 respects visibility2365 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02366 behaves like search respects visibility2367 respects visibility2368 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02369 behaves like search respects visibility2370 respects visibility2371 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02372 behaves like search respects visibility2373 respects visibility2374 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02375 behaves like search respects visibility2376 respects visibility2377 issue2378 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12379 behaves like search respects visibility2380 respects visibility2381 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12382 behaves like search respects visibility2383 respects visibility2384 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12385 behaves like search respects visibility2386 respects visibility2387 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12388 behaves like search respects visibility2389 respects visibility2390 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12391 behaves like search respects visibility2392 respects visibility2393 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12394 behaves like search respects visibility2395 respects visibility2396 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12397 behaves like search respects visibility2398 respects visibility2399 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02400 behaves like search respects visibility2401 respects visibility2402 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12403 behaves like search respects visibility2404 respects visibility2405 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12406 behaves like search respects visibility2407 respects visibility2408 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02409 behaves like search respects visibility2410 respects visibility2411 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02412 behaves like search respects visibility2413 respects visibility2414 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02415 behaves like search respects visibility2416 respects visibility2417 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02418 behaves like search respects visibility2419 respects visibility2420 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02421 behaves like search respects visibility2422 respects visibility2423 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02424 behaves like search respects visibility2425 respects visibility2426 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12427 behaves like search respects visibility2428 respects visibility2429 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12430 behaves like search respects visibility2431 respects visibility2432 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12433 behaves like search respects visibility2434 respects visibility2435 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12436 behaves like search respects visibility2437 respects visibility2438 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12439 behaves like search respects visibility2440 respects visibility2441 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02442 behaves like search respects visibility2443 respects visibility2444 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12445 behaves like search respects visibility2446 respects visibility2447 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02448 behaves like search respects visibility2449 respects visibility2450 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12451 behaves like search respects visibility2452 respects visibility2453 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12454 behaves like search respects visibility2455 respects visibility2456 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02457 behaves like search respects visibility2458 respects visibility2459 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02460 behaves like search respects visibility2461 respects visibility2462 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02463 behaves like search respects visibility2464 respects visibility2465 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02466 behaves like search respects visibility2467 respects visibility2468 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02469 behaves like search respects visibility2470 respects visibility2471 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02472 behaves like search respects visibility2473 respects visibility2474 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12475 behaves like search respects visibility2476 respects visibility2477 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02478 behaves like search respects visibility2479 respects visibility2480 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12481 behaves like search respects visibility2482 respects visibility2483 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12484 behaves like search respects visibility2485 respects visibility2486 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02487 behaves like search respects visibility2488 respects visibility2489 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02490 behaves like search respects visibility2491 respects visibility2492 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02493 behaves like search respects visibility2494 respects visibility2495 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02496 behaves like search respects visibility2497 respects visibility2498 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02499 behaves like search respects visibility2500 respects visibility2501 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02502 behaves like search respects visibility2503 respects visibility2504 wiki2505 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12506 behaves like search respects visibility2507 respects visibility2508 project_level: :public, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12509 behaves like search respects visibility2510 respects visibility2511 project_level: :public, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12512 behaves like search respects visibility2513 respects visibility2514 project_level: :public, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12515 behaves like search respects visibility2516 respects visibility2517 project_level: :public, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12518 behaves like search respects visibility2519 respects visibility2520 project_level: :public, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12521 behaves like search respects visibility2522 respects visibility2523 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12524 behaves like search respects visibility2525 respects visibility2526 project_level: :public, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02527 behaves like search respects visibility2528 respects visibility2529 project_level: :public, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12530 behaves like search respects visibility2531 respects visibility2532 project_level: :public, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12533 behaves like search respects visibility2534 respects visibility2535 project_level: :public, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02536 behaves like search respects visibility2537 respects visibility2538 project_level: :public, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02539 behaves like search respects visibility2540 respects visibility2541 project_level: :public, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02542 behaves like search respects visibility2543 respects visibility2544 project_level: :public, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02545 behaves like search respects visibility2546 respects visibility2547 project_level: :public, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02548 behaves like search respects visibility2549 respects visibility2550 project_level: :public, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02551 behaves like search respects visibility2552 respects visibility2553 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12554 behaves like search respects visibility2555 respects visibility2556 project_level: :internal, feature_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12557 behaves like search respects visibility2558 respects visibility2559 project_level: :internal, feature_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12560 behaves like search respects visibility2561 respects visibility2562 project_level: :internal, feature_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12563 behaves like search respects visibility2564 respects visibility2565 project_level: :internal, feature_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12566 behaves like search respects visibility2567 respects visibility2568 project_level: :internal, feature_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02569 behaves like search respects visibility2570 respects visibility2571 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12572 behaves like search respects visibility2573 respects visibility2574 project_level: :internal, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02575 behaves like search respects visibility2576 respects visibility2577 project_level: :internal, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12578 behaves like search respects visibility2579 respects visibility2580 project_level: :internal, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12581 behaves like search respects visibility2582 respects visibility2583 project_level: :internal, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02584 behaves like search respects visibility2585 respects visibility2586 project_level: :internal, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02587 behaves like search respects visibility2588 respects visibility2589 project_level: :internal, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02590 behaves like search respects visibility2591 respects visibility2592 project_level: :internal, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02593 behaves like search respects visibility2594 respects visibility2595 project_level: :internal, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02596 behaves like search respects visibility2597 respects visibility2598 project_level: :internal, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02599 behaves like search respects visibility2600 respects visibility2601 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12602 behaves like search respects visibility2603 respects visibility2604 project_level: :private, feature_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02605 behaves like search respects visibility2606 respects visibility2607 project_level: :private, feature_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12608 behaves like search respects visibility2609 respects visibility2610 project_level: :private, feature_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12611 behaves like search respects visibility2612 respects visibility2613 project_level: :private, feature_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02614 behaves like search respects visibility2615 respects visibility2616 project_level: :private, feature_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02617 behaves like search respects visibility2618 respects visibility2619 project_level: :private, feature_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02620 behaves like search respects visibility2621 respects visibility2622 project_level: :private, feature_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02623 behaves like search respects visibility2624 respects visibility2625 project_level: :private, feature_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02626 behaves like search respects visibility2627 respects visibility2628 project_level: :private, feature_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02629 behaves like search respects visibility2630 respects visibility2631 milestone2632 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12633 respects visibility2634 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12635 respects visibility2636 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12637 respects visibility2638 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12639 respects visibility2640 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12641 respects visibility2642 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12643 respects visibility2644 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12645 respects visibility2646 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 12647 respects visibility2648 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12649 respects visibility2650 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12651 respects visibility2652 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 12653 respects visibility2654 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 12655 respects visibility2656 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12657 respects visibility2658 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 12659 respects visibility2660 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12661 respects visibility2662 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12663 respects visibility2664 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 12665 respects visibility2666 project_level: :public, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 12667 respects visibility2668 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12669 respects visibility2670 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12671 respects visibility2672 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12673 respects visibility2674 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12675 respects visibility2676 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12677 respects visibility2678 project_level: :public, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12679 respects visibility2680 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12681 respects visibility2682 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02683 respects visibility2684 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12685 respects visibility2686 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12687 respects visibility2688 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02689 respects visibility2690 project_level: :public, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02691 respects visibility2692 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12693 respects visibility2694 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02695 respects visibility2696 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12697 respects visibility2698 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12699 respects visibility2700 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02701 respects visibility2702 project_level: :public, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02703 respects visibility2704 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12705 respects visibility2706 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12707 respects visibility2708 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12709 respects visibility2710 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12711 respects visibility2712 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12713 respects visibility2714 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 12715 respects visibility2716 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12717 respects visibility2718 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02719 respects visibility2720 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12721 respects visibility2722 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02723 respects visibility2724 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02725 respects visibility2726 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02727 respects visibility2728 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02729 respects visibility2730 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02731 respects visibility2732 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02733 respects visibility2734 project_level: :public, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02735 respects visibility2736 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12737 respects visibility2738 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12739 respects visibility2740 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12741 respects visibility2742 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12743 respects visibility2744 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12745 respects visibility2746 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02747 respects visibility2748 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12749 respects visibility2750 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 12751 respects visibility2752 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12753 respects visibility2754 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12755 respects visibility2756 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 12757 respects visibility2758 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02759 respects visibility2760 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12761 respects visibility2762 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 12763 respects visibility2764 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12765 respects visibility2766 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12767 respects visibility2768 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 12769 respects visibility2770 project_level: :internal, issues_access_level: :enabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02771 respects visibility2772 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12773 respects visibility2774 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12775 respects visibility2776 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12777 respects visibility2778 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12779 respects visibility2780 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12781 respects visibility2782 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02783 respects visibility2784 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12785 respects visibility2786 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02787 respects visibility2788 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12789 respects visibility2790 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12791 respects visibility2792 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02793 respects visibility2794 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02795 respects visibility2796 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12797 respects visibility2798 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02799 respects visibility2800 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12801 respects visibility2802 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12803 respects visibility2804 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02805 respects visibility2806 project_level: :internal, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02807 respects visibility2808 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: true, expected_count: 12809 respects visibility2810 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :admin, admin_mode: false, expected_count: 12811 respects visibility2812 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :reporter, admin_mode: nil, expected_count: 12813 respects visibility2814 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :guest, admin_mode: nil, expected_count: 12815 respects visibility2816 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :non_member, admin_mode: nil, expected_count: 12817 respects visibility2818 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :enabled, membership: :anonymous, admin_mode: nil, expected_count: 02819 respects visibility2820 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12821 respects visibility2822 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02823 respects visibility2824 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12825 respects visibility2826 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02827 respects visibility2828 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02829 respects visibility2830 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02831 respects visibility2832 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02833 respects visibility2834 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02835 respects visibility2836 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02837 respects visibility2838 project_level: :internal, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02839 respects visibility2840 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12841 respects visibility2842 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02843 respects visibility2844 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12845 respects visibility2846 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 12847 respects visibility2848 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02849 respects visibility2850 project_level: :private, issues_access_level: :private, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02851 respects visibility2852 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: true, expected_count: 12853 respects visibility2854 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :admin, admin_mode: false, expected_count: 02855 respects visibility2856 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 12857 respects visibility2858 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 12859 respects visibility2860 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02861 respects visibility2862 project_level: :private, issues_access_level: :private, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02863 respects visibility2864 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: true, expected_count: 12865 respects visibility2866 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :admin, admin_mode: false, expected_count: 02867 respects visibility2868 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :reporter, admin_mode: nil, expected_count: 12869 respects visibility2870 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :guest, admin_mode: nil, expected_count: 02871 respects visibility2872 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :non_member, admin_mode: nil, expected_count: 02873 respects visibility2874 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :private, membership: :anonymous, admin_mode: nil, expected_count: 02875 respects visibility2876 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :reporter, admin_mode: nil, expected_count: 02877 respects visibility2878 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :guest, admin_mode: nil, expected_count: 02879 respects visibility2880 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :non_member, admin_mode: nil, expected_count: 02881 respects visibility2882 project_level: :private, issues_access_level: :disabled, merge_requests_access_level: :disabled, membership: :anonymous, admin_mode: nil, expected_count: 02883 respects visibility2884 sorting2885 issues2886 sort: created_desc2887 sorts results by created_at2888 sort: created_asc2889 sorts results by created_at2890 sort: updated_desc2891 sorts results by updated_desc2892 sort: updated_asc2893 sorts results by updated_asc2894 merge requests2895 sort: created_desc2896 sorts results by created_at2897 sort: created_asc2898 sorts results by created_at2899 sort: updated_desc2900 sorts results by updated_desc2901 sort: updated_asc2902 sorts results by updated_asc2903 #scope2904 when scope passed is included in allowed_scopes2905 returns that scope2906 when user does not have permission for the scope2907 chooses the first allowed scope which the user has permission for2908 when scope passed is not included in allowed_scopes2909 chooses the first allowed scope which the user has permission for2910Issues::UpdateService2911 execute2912 updating weight2913 when weight is changed2914 triggers 'issuableWeightUpdated' for issuable weight update subscription2915 when weight remains unchanged2916 does not trigger 'issuableWeightUpdated' for issuable weight update subscription2917 when weight param is not provided2918 does not trigger 'issuableWeightUpdated' for issuable weight update subscription2919 update health_status2920 when health_status has changed2921 triggers 'issuableHealthStatusUpdated' subscription2922 when health_status remains unchanged2923 does not trigger 'issuableHealthStatusUpdated' subscription2924 when health_status param is not provided2925 does not trigger 'issuableHealthStatusUpdated' subscription2926 refresh epic dates2927 updating milestone2928 calls UpdateDatesService2929 updating iteration2930 when issue does not already have an iteration2931 calls NotificationService#changed_iteration_issue2932 triggers 'issuableIterationUpdated' for issuable iteration update subscription2933 when issue already has an iteration2934 when iteration remains unchanged2935 does not trigger 'issuableIterationUpdated' for issuable iteration update subscription2936 setting to nil2937 calls NotificationService#removed_iteration_issue2938 setting to IssuableFinder::Params::NONE2939 calls NotificationService#removed_iteration_issue2940 removes the iteration properly2941 setting to another iteration2942 calls NotificationService#changed_iteration_issue2943 updating weight2944 when weight is integer2945 updates to the exact value2946 when weight is float2947 rounds the value down2948 when weight is zero2949 sets the value to zero2950 when weight is a string2951 sets the value to 02952 behaves like updating issuable health status2953 updating health_status2954 when feature is not available2955 does not update issue health status2956 when feature is available2957 when user has reporter permissions2958 updates issuable with given health_status2959 when user does not have permissions2960 does not update issuable status2961 updating other fields2962 does not call UpdateDatesService2963 assigning iteration2964 group iterations2965 behaves like creates iteration resource event2966 creates a system note2967 does not create a iteration change event2968 changing issue_type2969 from issue to incident2970 behaves like creates an SLA2971 is expected to be present2972 system note fails to be created2973 behaves like creates an SLA2974 is expected to be present2975 from incident to issue2976 does not remove the SLA or create a new one2977 destroys any pending escalations2978 from issue to restricted issue types2979 with permissions2980 changes the type2981 does not create or remove an SLA2982 without sufficient permissions2983 excludes the issue type param2984 assigning epic2985 when a user does not have permissions to assign an epic2986 raises an exception2987 when a user has permissions to assign an epic2988 when EpicIssues::CreateService returns failure2989 does not send usage data for added or changed epic action2990 when issue does not belong to an epic yet2991 assigns an issue to the provided epic2992 calls EpicIssues::CreateService2993 updates epic cache counts2994 events tracking2995 tracks usage data for added to epic action2996 behaves like internal event tracking2997 logs to Snowplow2998 when issue belongs to another epic2999 assigns the issue passed to the provided epic3000 calls EpicIssues::CreateService3001 updates epic cache counts3002 events tracking3003 tracks usage data for changed epic action3004 behaves like internal event tracking3005 logs to Snowplow3006 when updating issue epic and milestone and assignee attributes3007 assigns the issue passed to the provided epic3008 when milestone and epic attributes are changed from description3009 assigns the issue passed to the provided epic3010 when assigning epic raises an exception3011 assigns the issue passed to the provided epic3012 removing epic3013 when a user has permissions to assign an epic3014 when issue does not belong to an epic yet3015 does not do anything3016 events tracking3017 does not send usage data for removed epic action3018 does not send a Snowplow event3019 when issue belongs to an epic3020 unassigns the epic3021 calls EpicIssues::DestroyService3022 events tracking3023 tracks usage data for removed from epic action3024 behaves like internal event tracking3025 logs to Snowplow3026 but EpicIssues::DestroyService returns failure3027 does not send usage data for removed epic action3028 updating escalation status3029 with an existing escalation status record3030 when issue is an incident3031 setting the escalation policy3032 has correct values3033 triggers side-effects3034 with the policy value defined but unchanged3035 behaves like does not change the status record3036 is expected not to change `issue.reload.escalation_status`3037 does not trigger side-effects3038 unsetting the escalation policy3039 when the policy is already set3040 has correct values3041 triggers side-effects3042 in addition to other attributes3043 has correct values3044 triggers side-effects3045 with the policy value defined but unchanged3046 behaves like does not change the status record3047 is expected not to change `issue.reload.escalation_status`3048 does not trigger side-effects3049 when issue is not an incident3050 behaves like does not change the status record3051 is expected not to change `issue.reload.escalation_status`3052 does not trigger side-effects3053 without an existing escalation status record3054 has correct values3055 triggers side-effects3056 behaves like existing issuable with scoped labels3057 when scoped labels are available3058 when using label_ids parameter3059 adds only last selected exclusive scoped label3060 when using label_ids parameter3061 adds only last selected exclusive scoped label3062 when only removing labels3063 preserves multiple exclusive scoped labels3064 when scoped labels are not available3065 adds all scoped labels3066 behaves like issue with epic_id parameter3067 when epic_id does not exist3068 raises an exception3069 when epic_id is 03070 does not assign any epic3071 when user can not add issues to the epic3072 raises an exception3073 does not send usage data for added epic action3074 when user can add issues to the epic3075 when a project is a direct child of the epic group3076 creates epic issue link3077 calls EpicIssues::CreateService3078 events tracking3079 tracks usage data for added to epic action3080 behaves like internal event tracking3081 logs to Snowplow3082 when epic param is also present3083 when epic_id belongs to another valid epic3084 creates epic issue link based on the epic param3085 when epic_id is empty3086 creates epic issue link based on the epic param3087 when a project is from a subgroup of the epic group3088 creates epic issue link3089 events tracking3090 tracks usage data for added to epic action3091 behaves like internal event tracking3092 logs to Snowplow3093 when epic_id is nil3094 removes epic issue link3095 calls EpicIssues::DestroyService3096 promoting to epic3097 when promote_to_epic param is present3098 promotes issue to epic3099 when promote_to_epic param is not present3100 does not promote issue to epic3101 publish to status page3102 when update succeeds3103 triggers status page publish3104 when closing3105 triggers status page publish3106 when reopening3107 triggers status page publish3108 when update fails3109 does not trigger status page publish service3110 when issue is of requirement type3111 when updating last test report state3112 as passing3113 creates passing test report with null build_id3114 as failed3115 creates failing test report with null build_id3116 when user cannot create test reports3117 does not create test report3118 when something goes wrong3119 does not create a test report nor update issue3120Projects::CreateFromTemplateService3121 #execute3122 does not create project from custom template3123 when use_custom_template is not present or false3124 creates an empty project3125 when custom_project_templates feature is not enabled3126 creates an empty project3127 when custom_project_template does not exist3128 does not attempt to import a project3129 use_template_name: true3130 returns the created project3131 the result project3132 overrides template description3133 overrides template visibility_level3134 creating project from a Group project template3135 when the namespace is not a descendant of the Group owning the template3136 when project is created under a group that is outside the hierarchy its root ancestor group3137 behaves like a project that isn't persisted3138 isn't persisted3139 when project is created under a group that is a descendant of its root ancestor group3140 behaves like a project that isn't persisted3141 isn't persisted3142 when project is created under a subgroup that is a descendant of its root ancestor group3143 behaves like a project that isn't persisted3144 isn't persisted3145 when project is created outside of group hierarchy3146 behaves like a project that isn't persisted3147 isn't persisted3148 when the namespace is inside the hierarchy of the Group owning the template3149 when project is created under its parent group3150 behaves like a persisted project3151 is persisted3152 when project is created under the same group3153 behaves like a persisted project3154 is persisted3155 when project is created under its descendant group3156 behaves like a persisted project3157 is persisted3158 when project is created under a group that is a descendant of its parent group3159 behaves like a persisted project3160 is persisted3161 when project is created under a subgroup that is a descendant of its parent group3162 behaves like a persisted project3163 is persisted3164 use_template_name: false3165 returns the created project3166 the result project3167 overrides template description3168 overrides template visibility_level3169 creating project from a Group project template3170 when the namespace is not a descendant of the Group owning the template3171 when project is created under a group that is outside the hierarchy its root ancestor group3172 behaves like a project that isn't persisted3173 isn't persisted3174 when project is created under a group that is a descendant of its root ancestor group3175 behaves like a project that isn't persisted3176 isn't persisted3177 when project is created under a subgroup that is a descendant of its root ancestor group3178 behaves like a project that isn't persisted3179 isn't persisted3180 when project is created outside of group hierarchy3181 behaves like a project that isn't persisted3182 isn't persisted3183 when the namespace is inside the hierarchy of the Group owning the template3184 when project is created under its parent group3185 behaves like a persisted project3186 is persisted3187 when project is created under the same group3188 behaves like a persisted project3189 is persisted3190 when project is created under its descendant group3191 behaves like a persisted project3192 is persisted3193 when project is created under a group that is a descendant of its parent group3194 behaves like a persisted project3195 is persisted3196 when project is created under a subgroup that is a descendant of its parent group3197 behaves like a persisted project3198 is persisted3199BillingPlansHelper3200 #subscription_plan_data_attributes3201 when group and plan with ID present3202 returns data attributes3203 with refresh_billings_seats feature flag off3204 returns data attributes3205 when group not present3206 returns empty data attributes3207 when plan not present3208 returns attributes3209 with refresh_billings_seats feature flag off3210 returns data attributes3211 when plan with ID not present3212 returns data attributes without upgrade href3213 with refresh_billings_seats feature flag off3214 returns data attributes3215 with different namespaces3216 with namespace3217 does not return billable_seats_href3218 with group3219 returns billable_seats_href for group3220 when seats_last_updated is being assigned3221 when the subscription has a last_seat_refresh_at3222 is expected to eq "12:13:14"3223 when no last_seat_refresh_at is available3224 is expected to equal nil3225 #use_new_purchase_flow?3226 type: "Group", plan: "default", trial_active: true3227 is expected to equal true3228 type: "Group", plan: "default", trial_active: false3229 is expected to equal false3230 type: "Group", plan: "free", trial_active: true3231 is expected to equal true3232 type: "Group", plan: "free", trial_active: false3233 is expected to equal true3234 type: "Group", plan: "bronze", trial_active: true3235 is expected to equal true3236 type: "Group", plan: "bronze", trial_active: false3237 is expected to equal false3238 type: "Group", plan: "silver", trial_active: true3239 is expected to equal true3240 type: "Group", plan: "silver", trial_active: false3241 is expected to equal false3242 type: "Group", plan: "premium", trial_active: true3243 is expected to equal true3244 type: "Group", plan: "premium", trial_active: false3245 is expected to equal false3246 type: "Group", plan: "gold", trial_active: true3247 is expected to equal true3248 type: "Group", plan: "gold", trial_active: false3249 is expected to equal false3250 type: "Group", plan: "ultimate", trial_active: true3251 is expected to equal true3252 type: "Group", plan: "ultimate", trial_active: false3253 is expected to equal false3254 type: "Group", plan: "ultimate_trial", trial_active: true3255 is expected to equal true3256 type: "Group", plan: "ultimate_trial", trial_active: false3257 is expected to equal false3258 type: "Group", plan: "premium_trial", trial_active: true3259 is expected to equal true3260 type: "Group", plan: "premium_trial", trial_active: false3261 is expected to equal false3262 type: "Group", plan: "opensource", trial_active: true3263 is expected to equal true3264 type: "Group", plan: "opensource", trial_active: false3265 is expected to equal false3266 type: "User", plan: "default", trial_active: true3267 is expected to equal false3268 type: "User", plan: "default", trial_active: false3269 is expected to equal false3270 type: "User", plan: "free", trial_active: true3271 is expected to equal false3272 type: "User", plan: "free", trial_active: false3273 is expected to equal false3274 type: "User", plan: "bronze", trial_active: true3275 is expected to equal false3276 type: "User", plan: "bronze", trial_active: false3277 is expected to equal false3278 type: "User", plan: "silver", trial_active: true3279 is expected to equal false3280 type: "User", plan: "silver", trial_active: false3281 is expected to equal false3282 type: "User", plan: "premium", trial_active: true3283 is expected to equal false3284 type: "User", plan: "premium", trial_active: false3285 is expected to equal false3286 type: "User", plan: "gold", trial_active: true3287 is expected to equal false3288 type: "User", plan: "gold", trial_active: false3289 is expected to equal false3290 type: "User", plan: "ultimate", trial_active: true3291 is expected to equal false3292 type: "User", plan: "ultimate", trial_active: false3293 is expected to equal false3294 type: "User", plan: "ultimate_trial", trial_active: true3295 is expected to equal false3296 type: "User", plan: "ultimate_trial", trial_active: false3297 is expected to equal false3298 type: "User", plan: "premium_trial", trial_active: true3299 is expected to equal false3300 type: "User", plan: "premium_trial", trial_active: false3301 is expected to equal false3302 type: "User", plan: "opensource", trial_active: true3303 is expected to equal false3304 type: "User", plan: "opensource", trial_active: false3305 is expected to equal false3306 when the group is on a plan eligible for the new purchase flow3307 when the user has a last name3308 returns true3309 when the user does not have a last name3310 returns false3311 #upgrade_offer_type3312 when plan has a valid property3313 plan_name: "bronze", for_free: true, plan_id: "123456789", result: :upgrade_for_free3314 is expected to eq :upgrade_for_free3315 plan_name: "bronze", for_free: true, plan_id: "987654321", result: :no_offer3316 is expected to eq :no_offer3317 plan_name: "bronze", for_free: true, plan_id: nil, result: :no_offer3318 is expected to eq :no_offer3319 plan_name: "bronze", for_free: false, plan_id: "123456789", result: :upgrade_for_offer3320 is expected to eq :upgrade_for_offer3321 plan_name: "bronze", for_free: false, plan_id: nil, result: :no_offer3322 is expected to eq :no_offer3323 plan_name: "bronze", for_free: nil, plan_id: nil, result: :no_offer3324 is expected to eq :no_offer3325 plan_name: "premium", for_free: nil, plan_id: nil, result: :no_offer3326 is expected to eq :no_offer3327 plan_name: nil, for_free: true, plan_id: nil, result: :no_offer3328 is expected to eq :no_offer3329 #has_upgrade?3330 offer_type: :no_offer, result: false3331 is expected to eq false3332 offer_type: :upgrade_for_free, result: true3333 is expected to eq true3334 offer_type: :upgrade_for_offer, result: true3335 is expected to eq true3336 #can_edit_billing?3337 is false for guest3338 is false for developer3339 is true for admin3340 #show_contact_sales_button?3341 link_action: "upgrade", upgrade_offer: :no_offer, result: true3342 is expected to eq true3343 link_action: "upgrade", upgrade_offer: :upgrade_for_free, result: false3344 is expected to eq false3345 link_action: "upgrade", upgrade_offer: :upgrade_for_offer, result: true3346 is expected to eq true3347 link_action: "no_upgrade", upgrade_offer: :no_offer, result: false3348 is expected to eq false3349 link_action: "no_upgrade", upgrade_offer: :upgrade_for_free, result: false3350 is expected to eq false3351 link_action: "no_upgrade", upgrade_offer: :upgrade_for_offer, result: false3352 is expected to eq false3353 #show_upgrade_button?3354 link_action: "upgrade", upgrade_offer: :no_offer, allow_upgrade: true, result: true3355 is expected to eq true3356 link_action: "upgrade", upgrade_offer: :upgrade_for_free, allow_upgrade: true, result: true3357 is expected to eq true3358 link_action: "upgrade", upgrade_offer: :upgrade_for_offer, allow_upgrade: true, result: false3359 is expected to eq false3360 link_action: "upgrade", upgrade_offer: :no_offer, allow_upgrade: false, result: false3361 is expected to eq false3362 link_action: "upgrade", upgrade_offer: :upgrade_for_free, allow_upgrade: false, result: false3363 is expected to eq false3364 link_action: "upgrade", upgrade_offer: :upgrade_for_offer, allow_upgrade: false, result: false3365 is expected to eq false3366 link_action: "upgrade", upgrade_offer: :no_offer, allow_upgrade: nil, result: true3367 is expected to eq true3368 link_action: "upgrade", upgrade_offer: :upgrade_for_free, allow_upgrade: nil, result: true3369 is expected to eq true3370 link_action: "upgrade", upgrade_offer: :upgrade_for_offer, allow_upgrade: nil, result: false3371 is expected to eq false3372 link_action: "no_upgrade", upgrade_offer: :no_offer, allow_upgrade: true, result: false3373 is expected to eq false3374 link_action: "no_upgrade", upgrade_offer: :upgrade_for_free, allow_upgrade: true, result: false3375 is expected to eq false3376 link_action: "no_upgrade", upgrade_offer: :upgrade_for_offer, allow_upgrade: true, result: false3377 is expected to eq false3378 link_action: "no_upgrade", upgrade_offer: :no_offer, allow_upgrade: false, result: false3379 is expected to eq false3380 link_action: "no_upgrade", upgrade_offer: :upgrade_for_free, allow_upgrade: false, result: false3381 is expected to eq false3382 link_action: "no_upgrade", upgrade_offer: :upgrade_for_offer, allow_upgrade: false, result: false3383 is expected to eq false3384 link_action: "no_upgrade", upgrade_offer: :no_offer, allow_upgrade: nil, result: false3385 is expected to eq false3386 link_action: "no_upgrade", upgrade_offer: :upgrade_for_free, allow_upgrade: nil, result: false3387 is expected to eq false3388 link_action: "no_upgrade", upgrade_offer: :upgrade_for_offer, allow_upgrade: nil, result: false3389 is expected to eq false3390 #plan_feature_list3391 returns features list3392 #plan_purchase_or_upgrade_url3393 is upgradable3394 is purchasable3395 #plan_purchase_url3396 builds correct url with some source3397 builds correct url for the old purchase flow3398 #hand_raise_props3399 builds correct hash3400 #free_plan_billing_hand_raise_props3401 builds correct hash3402 #upgrade_button_text3403 plan_offer_type: :no_offer, result: "Upgrade"3404 is expected to eq "Upgrade"3405 plan_offer_type: :upgrade_for_free, result: "Upgrade for free"3406 is expected to eq "Upgrade for free"3407 plan_offer_type: :upgrade_for_offer, result: "Upgrade"3408 is expected to eq "Upgrade"3409 #upgrade_button_css_classes3410 is_current_plan: true, trial_active: true, plan_is_deprecated: true, use_new_purchase_flow: true3411 returns the expected list of CSS classes3412 is_current_plan: true, trial_active: true, plan_is_deprecated: true, use_new_purchase_flow: false3413 returns the expected list of CSS classes3414 is_current_plan: true, trial_active: true, plan_is_deprecated: false, use_new_purchase_flow: true3415 returns the expected list of CSS classes3416 is_current_plan: true, trial_active: true, plan_is_deprecated: false, use_new_purchase_flow: false3417 returns the expected list of CSS classes3418 is_current_plan: true, trial_active: false, plan_is_deprecated: true, use_new_purchase_flow: true3419 returns the expected list of CSS classes3420 is_current_plan: true, trial_active: false, plan_is_deprecated: true, use_new_purchase_flow: false3421 returns the expected list of CSS classes3422 is_current_plan: true, trial_active: false, plan_is_deprecated: false, use_new_purchase_flow: true3423 returns the expected list of CSS classes3424 is_current_plan: true, trial_active: false, plan_is_deprecated: false, use_new_purchase_flow: false3425 returns the expected list of CSS classes3426 is_current_plan: false, trial_active: true, plan_is_deprecated: true, use_new_purchase_flow: true3427 returns the expected list of CSS classes3428 is_current_plan: false, trial_active: true, plan_is_deprecated: true, use_new_purchase_flow: false3429 returns the expected list of CSS classes3430 is_current_plan: false, trial_active: true, plan_is_deprecated: false, use_new_purchase_flow: true3431 returns the expected list of CSS classes3432 is_current_plan: false, trial_active: true, plan_is_deprecated: false, use_new_purchase_flow: false3433 returns the expected list of CSS classes3434 is_current_plan: false, trial_active: false, plan_is_deprecated: true, use_new_purchase_flow: true3435 returns the expected list of CSS classes3436 is_current_plan: false, trial_active: false, plan_is_deprecated: true, use_new_purchase_flow: false3437 returns the expected list of CSS classes3438 is_current_plan: false, trial_active: false, plan_is_deprecated: false, use_new_purchase_flow: true3439 returns the expected list of CSS classes3440 is_current_plan: false, trial_active: false, plan_is_deprecated: false, use_new_purchase_flow: false3441 returns the expected list of CSS classes3442 #billing_available_plans3443 when namespace is not on a plan3444 returns plans without deprecated3445 when namespace is on an active plan3446 returns plans without deprecated3447 when namespace is on a deprecated plan3448 returns plans with a deprecated plan3449 when namespace is on a deprecated plan that has hide_deprecated_card set to true3450 returns plans without the deprecated plan3451 when namespace is on a plan that has hide_deprecated_card set to true, but deprecated? is false3452 returns plans with the deprecated plan3453 #subscription_plan_info3454 returns the current plan3455 returns nil if no plan matches the code3456 breaks a tie with the current_subscription_plan attribute if multiple plans have the same code3457 returns nil if no plan matches the code even if current_subscription_plan is true3458 returns the plan matching the plan code even if current_subscription_plan is false3459 #show_plans?3460 free_personal: false, trial_active: false, gold_plan: false, ultimate_plan: false, opensource_plan: false, expectations: true3461 returns boolean3462 free_personal: false, trial_active: true, gold_plan: false, ultimate_plan: false, opensource_plan: false, expectations: true3463 returns boolean3464 free_personal: false, trial_active: false, gold_plan: true, ultimate_plan: false, opensource_plan: false, expectations: false3465 returns boolean3466 free_personal: false, trial_active: true, gold_plan: true, ultimate_plan: false, opensource_plan: false, expectations: true3467 returns boolean3468 free_personal: false, trial_active: false, gold_plan: false, ultimate_plan: true, opensource_plan: false, expectations: false3469 returns boolean3470 free_personal: false, trial_active: true, gold_plan: false, ultimate_plan: true, opensource_plan: false, expectations: true3471 returns boolean3472 free_personal: false, trial_active: false, gold_plan: true, ultimate_plan: true, opensource_plan: false, expectations: false3473 returns boolean3474 free_personal: false, trial_active: true, gold_plan: true, ultimate_plan: true, opensource_plan: false, expectations: true3475 returns boolean3476 free_personal: true, trial_active: true, gold_plan: true, ultimate_plan: true, opensource_plan: false, expectations: false3477 returns boolean3478 free_personal: false, trial_active: false, gold_plan: false, ultimate_plan: false, opensource_plan: true, expectations: false3479 returns boolean3480 #show_start_free_trial_messages?3481 free_personal: false, eligible_for_trial: true, expected: true3482 returns correct boolean value3483 free_personal: true, eligible_for_trial: true, expected: false3484 returns correct boolean value3485 free_personal: false, eligible_for_trial: false, expected: false3486 returns correct boolean value3487 #billing_upgrade_button_data3488 has expected data3489 #start_free_trial_data3490 has expected data3491 #add_namespace_plan_to_group_instructions3492 with maintained or owned group3493 instructs to move the project to a group3494 without a group3495 instructs to create a group then move the project to a group3496MergeRequestDiff3497 is expected to respond to #log_geo_deleted_event3498 on a primary node3499 .with_verification_state3500 returns records with given scope3501 .checksummed3502 returns records with given scope3503 .not_checksummed3504 returns records with given scope3505 #save_verification_details3506 when model record is not part of verifiables scope3507 does not create verification details3508 when model_record is part of verifiables scope3509 creates verification details3510 when Geo is disabled3511 #save_verification_details3512 when model_record is part of verifiables scope3513 doesn't create verification details3514 #after_save3515 when diff is stored externally and locally3516 does not create verification details when diff is without files3517 does not create verification details when diff is empty3518 creates verification details3519 for a remote stored diff3520 does not create verification details3521 when diff is not stored externally3522 does not create verification details3523 preprare_diff_summary3524 when openai_experimentation feature flag is off3525 does not call the summarize worker3526 when summarize_diff_automatically feature flag is off3527 does not call the summarize worker3528 when summarize_mr_change feature not avaliable3529 does not call the summarize worker3530 when the llm_bot does not exist3531 does not call the summarize worker3532 when the diff is not merge_head3533 does not call the summarize worker3534 when llm merge requests diff service is not enabled3535 does not call the summarize worker3536 when all the feature flags are on and the bot available3537 calls the summarize worker3538 .search3539 when search query is empty3540 returns all records3541 when search query is not empty3542 without matches3543 filters all records3544 with matches by attributes3545 for external_diff attribute3546 returns merge_request_diffs limited to 1000 records3547 .with_files_stored_locally3548 includes states with local storage3549 excludes states with local storage3550 .has_external_diffs3551 only includes diffs with files3552 only includes externally stored diffs3553 .project_id_in3554 only includes diffs for the provided projects3555 .replicables_for_current_secondary3556 without selective sync or object storage3557 excludes diffs stored in the database3558 excludes empty diffs3559 selective_sync_enabled: true, object_storage_sync_enabled: true, diff_in_object_storage: true, synced_states: 13560 returns the proper number of merge request diff states3561 selective_sync_enabled: true, object_storage_sync_enabled: true, diff_in_object_storage: false, synced_states: 13562 returns the proper number of merge request diff states3563 selective_sync_enabled: true, object_storage_sync_enabled: false, diff_in_object_storage: true, synced_states: 03564 returns the proper number of merge request diff states3565 selective_sync_enabled: true, object_storage_sync_enabled: false, diff_in_object_storage: false, synced_states: 13566 returns the proper number of merge request diff states3567 selective_sync_enabled: false, object_storage_sync_enabled: false, diff_in_object_storage: false, synced_states: 23568 returns the proper number of merge request diff states3569 selective_sync_enabled: false, object_storage_sync_enabled: false, diff_in_object_storage: true, synced_states: 03570 returns the proper number of merge request diff states3571 selective_sync_enabled: false, object_storage_sync_enabled: true, diff_in_object_storage: true, synced_states: 23572 returns the proper number of merge request diff states3573 selective_sync_enabled: false, object_storage_sync_enabled: true, diff_in_object_storage: false, synced_states: 23574 returns the proper number of merge request diff states3575 selective_sync_enabled: true, object_storage_sync_enabled: true, diff_in_object_storage: false, synced_states: 13576 returns the proper number of merge request diff states3577 #latest_review_summary_from_reviewer3578 returns the latest review summary from reviewer3579BackfillHiddenOnMergeRequests3580 # order random3581 migration_options3582 has migration options set3583 .migrate3584 when migration is already completed3585 does not modify data3586 migration process3587 updates all documents3588 only updates documents missing a field3589 processes in batches3590 .completed?3591 when documents are missing field3592 is expected not to be completed3593 when no documents are missing field3594 is expected to be completed3595Gitlab::Checks::DiffCheck3596 #validate!3597 no push rules active3598 does not attempt to check commits3599 #validate_code_owners?3600 when user can not push to the branch3601 when not updated from web3602 checks if the branch requires code owner approval3603 when updated from the web3604 returns false3605 when a user can push to the branch3606 returns false3607 #validate_code_owners3608 the MR contains a renamed file matching a file path3609 returns an error message3610 the MR contains a matching file path3611 behaves like returns codeowners validation message3612 returns an error message3613 the MR doesn't contain a matching file path3614 returns nil3615 #file_paths_validations3616 when the feature isn't enabled on the project3617 returns an empty array3618 when the feature is enabled on the project3619 updated_from_web? == false3620 returns an array of Proc(s)3621 updated_from_web? == true3622 returns an empty array3623 file name rules3624 file name regex check3625 returns an error if a new or renamed filed doesn't match the file name regex3626 returns an error if the regex is invalid3627 behaves like check ignored when push rule unlicensed3628 is expected to be truthy3629 denylisted files check3630 returns true if there is no denylisted files3631 returns an error if a new or renamed filed doesn't match the file name regex3632 behaves like check ignored when push rule unlicensed3633 is expected to be truthy3634 when the repository was empty3635 when file contains secrets3636 returns an error if a new or renamed filed doesn't match the file name regex3637 when feature flag "verify_push_rules_for_first_commit" is disabled3638 does not raise an error3639 when file is permitted3640 does not raise an error3641 file lock rules3642 memoizes the validate_path_locks? call3643 when file has changes3644 behaves like a locked file3645 and path is locked by another user3646 returns an error3647 and path is locked by current user3648 is allows changes3649 when file is renamed3650 behaves like a locked file3651 and path is locked by another user3652 returns an error3653 and path is locked by current user3654 is allows changes3655 when file is deleted3656 behaves like a locked file3657 and path is locked by another user3658 returns an error3659 and path is locked by current user3660 is allows changes3661 when the branch is being deleted3662 does not run3663 when there is no valid change3664 does not run3665Geo::DesignManagementRepositoryRegistry3666 # order random3667 factory is valid3668 behaves like a Geo verifiable registry3669 state machine3670 when transitioning to synced3671 marks verification as pending3672 when the model_record cannot be verified3673 when the registry is already verification_disabled3674 changes verification to disabled3675 when the registry is verification_pending3676 changes verification to disabled3677 verification_state machine3678 when transitioning to verification_failed3679 changes state from synced to failed3680 .verification_pending_batch3681 returns IDs of rows which are synced and pending verification3682 excludes rows which are not synced or are not pending verification3683 marks verification as started3684 .verification_failed_batch3685 with a failed record with retry due3686 returns IDs of rows which are synced and have failed verification3687 excludes rows which are not synced or have not failed verification3688 marks verification as started3689 when verification_retry_at is in the future3690 does not return the row which failed verification3691 .needs_verification_count3692 returns the number of rows which are synced and pending verification3693 includes rows which are synced and failed verification and are due for retry3694 excludes rows which are synced and failed verification and have a future retry time3695 excludes rows which are not synced or are not (pending or failed) verification3696 #verification_succeeded!3697 clears checksum mismatch fields3698 #track_checksum_attempt!3699 yields to the checksum calculation3700 when verification was not yet started3701 starts verification3702 when the model record cannot be verified3703 when the registry is already verification_disabled3704 leaves verification as disabled3705 when the registry is verification_pending3706 changes verification to disabled3707 when the primary site is expected to checksum the model record3708 comparison with primary checksum3709 when the calculated checksum matches the primary checksum3710 transitions to verification_succeeded and updates the checksum3711 when the calculated checksum does not match the primary checksum3712 transitions to verification_failed and updates mismatch fields3713 when verification was started3714 does not update verification_started_at3715 when an error occurs while yielding3716 sets verification_failed3717 #synced!3718 mark as synced3719 when a sync was scheduled after the last sync finishes3720 does not reset state3721 resets the other sync state fields3722 finders3723 .find_registries_never_attempted_sync3724 returns unsynced items3725 returns items that never have an attempt to sync except some specific item ID3726 .find_registries_needs_sync_again3727 returns failed items3728 returns failed items except some specific item ID3729 orders records according to retry_at3730 .fail_sync_timeouts3731 marks started records as failed if they are expired3732 #pending!3733 when a sync is currently running3734 successfully moves state to pending3735 when the registry has recorded a failure3736 clears failure retry fields3737 scopes3738 sync_timed_out3739 return correct records3740 not_pending3741 returns registries that are not pending3742 #failed!3743 sets last_sync_failure with message3744 truncates a long last_sync_failure3745 increments retry_count3746 sets retry_at to a time in the future3747 when an error is given3748 includes error.message in last_sync_failure3749 when missing_on_primary is not given3750 caps retry_at to default 1 hour3751 when missing_on_primary is falsey3752 caps retry_at to default 1 hour3753 when missing_on_primary is truthy3754 caps retry_at to 4 hours3755 obligatory fields check3756 has expected fields or methods3757DastSiteProfile3758 behaves like sanitizable3759 includes Sanitizable3760 #name3761 when input includes javascript tags3762 gets sanitized3763 #name validation3764 when input contains pre-escaped html entities3765 is not valid3766 when it contains a path component3767 is not valid3768 #scan_file_path3769 when input includes javascript tags3770 gets sanitized3771 #scan_file_path validation3772 when input contains pre-escaped html entities3773 is not valid3774 when it contains a path component3775 is not valid3776 associations3777 is expected to belong to project required: false3778 is expected to belong to dast_site required: false3779 is expected to have many secret_variables class_name => Dast::SiteProfileSecretVariable3780 validations3781 is expected to be valid3782 is expected to validate that the length of :auth_password_field is at most 2553783 is expected to validate that the length of :auth_url is at most 10243784 is expected to validate that the length of :auth_username is at most 2553785 is expected to validate that the length of :auth_username_field is at most 2553786 is expected to validate that the length of :auth_submit_field is at most 2553787 is expected to validate that the length of :name is at most 2553788 is expected to validate that :dast_site_id cannot be empty/falsy3789 is expected to validate that :name cannot be empty/falsy3790 is expected to validate that :project_id cannot be empty/falsy3791 is expected to validate that :name is case-sensitively unique within the scope of :project_id3792 is expected to validate that the length of :scan_file_path is at most 10243793 #auth_url3794 when the auth_uri is nil3795 is valid3796 when the auth_url is not a valid uri3797 is not valid3798 when the auth_url is not public3799 is valid3800 #excluded_urls3801 is expected to allow :excluded_urls to be ‹["http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test", "http://example40.test",...›3802 is expected not to allow :excluded_urls to be ‹["http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test", "http://example41.test",...›3803 when there are some urls that are invalid3804 is not valid3805 #project3806 when the project_id and dast_site.project_id do not match3807 is not valid3808 #scan_file_path3809 when the scan_file_path is nil3810 when the target_type is website3811 is valid3812 when the target_type is api3813 returns the dast_site.url3814 when the scan_file_path is not nil3815 when the target_type is api3816 when the scan_method is openapi3817 behaves like invalid url3818 is not valid3819 when the scan_method is har3820 behaves like invalid url3821 is not valid3822 when the scan_method is postman3823 behaves like invalid url3824 is not valid3825 when the scan_method is graphql3826 when the scan_file_path is an file_path3827 is valid3828 scopes3829 .with_dast_site_and_validation3830 eager loads the association3831 .with_name3832 returns the dast_site_profiles with given name3833 enums3834 is expected to define :target_type as an enum backed by an integer with values ‹{website: 0, api: 1}›3835 is expected to define :scan_method as an enum backed by an integer with values ‹{site: 0, openapi: 1, har: 2, postman: 3, graphql: 4}›, prefix: true3836 .names3837 returns the names for the DAST site profiles with the given IDs3838 when a profile is not found3839 rescues the error and returns an empty array3840 instance methods3841 #destroy!3842 when the associated dast_site has no dast_site_profiles3843 is also destroyed3844 when the associated dast_site has dast_site_profiles3845 is not destroyed3846 #status3847 when dast_site_validation association does not exist3848 is none3849 when dast_site_validation association does exist3850 is dast_site_validation#state3851 #validation_started_at3852 when dast_site_validation association does not exist3853 is none3854 when dast_site_validation association does exist3855 is dast_site_validation#validation_started_at3856 #referenced_in_security_policies3857 there is no security_orchestration_policy_configuration assigned to project3858 returns empty array3859 there is security_orchestration_policy_configuration assigned to project3860 calls security_orchestration_policy_configuration.active_policy_names_with_dast_site_profile with profile name3861 returns the referenced policy name3862 #ci_variables3863 without_dast_submit_field3864 returns a collection of variables3865 with_dast_submit_field3866 returns a collection of variables3867 when target_type=api3868 when scan_method is openapi3869 behaves like an api target3870 has the correct collection of variables3871 when scan_file_path is blank3872 behaves like an api target3873 has the correct collection of variables3874 when scan_method is har3875 behaves like an api target3876 has the correct collection of variables3877 when scan_file_path is blank3878 behaves like an api target3879 has the correct collection of variables3880 when scan_method is postman3881 behaves like an api target3882 has the correct collection of variables3883 when scan_file_path is blank3884 behaves like an api target3885 has the correct collection of variables3886 when scan_method is graphql3887 behaves like an api target3888 has the correct collection of variables3889 when scan_file_path is blank3890 behaves like an api target3891 has the correct collection of variables3892 when auth is disabled3893 returns a collection of variables excluding any auth variables3894 when excluded_urls is empty3895 is removed from the collection3896 when a variable is set to nil3897 is removed from the collection3898 #secret_ci_variables3899 when user can read secrets3900 works with policy3901 checks the policy3902 when there are no secret_variables3903 returns an empty collection3904 when there are secret_variables3905 returns a collection containing that variable3906 when password is configured3907 returns a collection containing api password3908 when request headers are configured3909 returns a collection containing the api request headers3910 when user cannot read secrets3911 returns an empty collection3912 #ensure_scan_file_path3913 when the target_type is website3914 when the scan_file_path is nil3915 does not set the scan_file_path3916 when the scan_file_path is not nil3917 does set the scan_file_path to nil3918 when the target type is api3919 when the scan_file_path is nil3920 does set the scan_file_path to dast_site.url3921 when the scan_file_path is not nil3922 does not set the scan_file_path3923Groups::TransferService#execute3924 #execute3925 transfers a group successfully3926 when SAML provider or SCIM token is configured for the group3927 when the group has a scim token3928 adds an error on group3929 behaves like raises error for paid group3930 returns false3931 does not add saml provider error3932 when the group has a saml provider3933 adds an error on group3934 behaves like raises error for paid group3935 returns false3936 does not add saml provider error3937 with free user cap enforced3938 when transferring a subgroup into root group3939 ensures there is still an owner for the transferred group3940 elasticsearch indexing3941 when elasticsearch_limit_indexing is on3942 when moving from a non-indexed namespace to an indexed namespace3943 invalidates the namespace and project cache and indexes the project and all associated data3944 when both namespaces are indexed3945 invalidates the namespace and project cache and indexes the project and all associated data3946 when elasticsearch_limit_indexing is off3947 does not invalidate the namespace or project cache and reindexes projects and associated data3948 with epics3949 when epics feature is disabled3950 transfers a group successfully3951 when epics feature is enabled3952 when group is moved completely out of the main group3953 keeps relations between all epics3954 when group is moved some levels up3955 keeps relations between all epics3956 update cached metadata3957 does not schedule update of issue counts3958 .update_project_settings3959 sets `legacy_open_source_license_available` to false3960Ci::PipelineArtifact3961 #replicables_for_current_secondary3962 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:ci_pipeline_artifact], project_factory: [:project], include_expectation: true3963 when sync object storage is enabled3964 when the pipeline artifact is locally stored3965 is expected to eq true3966 when the pipeline artifact is object stored3967 is expected to eq true3968 when sync object storage is disabled3969 when the pipeline artifact is locally stored3970 is expected to eq true3971 when the pipeline artifact is object stored3972 is expected to be falsey3973 selective_sync_namespaces: nil, selective_sync_shards: :model, factory: [:ci_pipeline_artifact], project_factory: [:project], include_expectation: true3974 when sync object storage is enabled3975 when the pipeline artifact is locally stored3976 is expected to eq true3977 when the pipeline artifact is object stored3978 is expected to eq true3979 when sync object storage is disabled3980 when the pipeline artifact is locally stored3981 is expected to eq true3982 when the pipeline artifact is object stored3983 is expected to be falsey3984 selective_sync_namespaces: nil, selective_sync_shards: :other, factory: [:ci_pipeline_artifact], project_factory: [:project], include_expectation: false3985 when sync object storage is enabled3986 when the pipeline artifact is locally stored3987 is expected to eq false3988 when the pipeline artifact is object stored3989 is expected to eq false3990 when sync object storage is disabled3991 when the pipeline artifact is locally stored3992 is expected to eq false3993 when the pipeline artifact is object stored3994 is expected to be falsey3995 selective_sync_namespaces: :model_parent, selective_sync_shards: nil, factory: [:ci_pipeline_artifact], project_factory: [:project], include_expectation: true3996 when sync object storage is enabled3997 when the pipeline artifact is locally stored3998 is expected to eq true3999 when the pipeline artifact is object stored4000 is expected to eq true4001 when sync object storage is disabled4002 when the pipeline artifact is locally stored4003 is expected to eq true4004 when the pipeline artifact is object stored4005 is expected to be falsey4006 selective_sync_namespaces: :model_parent_parent, selective_sync_shards: nil, factory: [:ci_pipeline_artifact], project_factory: [:project, :in_subgroup], include_expectation: true4007 when sync object storage is enabled4008 when the pipeline artifact is locally stored4009 is expected to eq true4010 when the pipeline artifact is object stored4011 is expected to eq true4012 when sync object storage is disabled4013 when the pipeline artifact is locally stored4014 is expected to eq true4015 when the pipeline artifact is object stored4016 is expected to be falsey4017 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:ci_pipeline_artifact], project_factory: [:project], include_expectation: false4018 when sync object storage is enabled4019 when the pipeline artifact is locally stored4020 is expected to eq false4021 when the pipeline artifact is object stored4022 is expected to eq false4023 when sync object storage is disabled4024 when the pipeline artifact is locally stored4025 is expected to eq false4026 when the pipeline artifact is object stored4027 is expected to be falsey4028 selective_sync_namespaces: :other, selective_sync_shards: nil, factory: [:ci_pipeline_artifact], project_factory: [:project, :in_subgroup], include_expectation: false4029 when sync object storage is enabled4030 when the pipeline artifact is locally stored4031 is expected to eq false4032 when the pipeline artifact is object stored4033 is expected to eq false4034 when sync object storage is disabled4035 when the pipeline artifact is locally stored4036 is expected to eq false4037 when the pipeline artifact is object stored4038 is expected to be falsey4039 selective_sync_namespaces: nil, selective_sync_shards: nil, factory: [:ci_pipeline_artifact, :expired], project_factory: [:project], include_expectation: true4040 when sync object storage is enabled4041 when the pipeline artifact is locally stored4042 is expected to eq true4043 when the pipeline artifact is object stored4044 is expected to eq true4045 when sync object storage is disabled4046 when the pipeline artifact is locally stored4047 is expected to eq true4048 when the pipeline artifact is object stored4049 is expected to be falsey4050 .search4051 when search query is empty4052 returns all records4053 when search query is not empty4054 without matches4055 filters all pipeline artifacts4056 with matches4057 with project association4058 filters by project path4059 filters by project name4060 filters project description4061IterationsFinder4062 without permissions4063 with project as parent4064 returns none4065 with group as parent4066 returns none4067 when skipping authorization4068 returns iterations4069 with permissions4070 iterations fetched from project4071 returns iterations for projects4072 iterations fetched from group4073 returns iterations for groups4074 with filters4075 by iteration_wildcard_id4076 returns CURRENT iterations without ancestors4077 when iteration_cadence_id is provided4078 returns CURRENT iteration for the given cadence4079 iterations for project with ancestors4080 returns iterations for project and ancestor groups4081 orders iterations by due date and title4082 with filters4083 filters by all states4084 filters by current state4085 filters by invalid state4086 filters by opened state4087 filters by closed state4088 filters by title4089 filters by ID4090 filters by cadence4091 filters by multiple cadences4092 with search params4093 raises an error when `in` contains an invalid value4094 filters by title4095 search: "", fields_to_search: [], expected_iterations: lazy { all_iterations }4096 behaves like search returns correct items4097 is expected to contain exactly #<Iteration id:4 *iteration:4>, #<Iteration id:5 *iteration:"one test">, #<Iteration id:6 *iteration:"Iteration 1">, #<Iteration id:7 *iteration:7>, and #<Iteration id:8 *iteration:8>4098 search: "iteration", fields_to_search: [], expected_iterations: lazy { all_iterations }4099 behaves like search returns correct items4100 is expected to contain exactly #<Iteration id:4 *iteration:4>, #<Iteration id:5 *iteration:"one test">, #<Iteration id:6 *iteration:"Iteration 1">, #<Iteration id:7 *iteration:7>, and #<Iteration id:8 *iteration:8>4101 search: "iteration", fields_to_search: [:title], expected_iterations: lazy { [upcoming_group_iteration] }4102 behaves like search returns correct items4103 is expected to contain exactly #<Iteration id:6 *iteration:"Iteration 1">4104 search: "iteration", fields_to_search: [:title], expected_iterations: lazy { [upcoming_group_iteration] }4105 behaves like search returns correct items4106 is expected to contain exactly #<Iteration id:6 *iteration:"Iteration 1">4107 search: "iter 1", fields_to_search: [:title], expected_iterations: lazy { [upcoming_group_iteration] }4108 behaves like search returns correct items4109 is expected to contain exactly #<Iteration id:6 *iteration:"Iteration 1">4110 search: "iteration 1", fields_to_search: [:title], expected_iterations: lazy { [upcoming_group_iteration] }4111 behaves like search returns correct items4112 is expected to contain exactly #<Iteration id:6 *iteration:"Iteration 1">4113 search: "iteration test", fields_to_search: [:title], expected_iterations: lazy { [] }4114 behaves like search returns correct items4115 is expected to contain exactly4116 search: "one week iter", fields_to_search: [:cadence_title], expected_iterations: lazy { [upcoming_group_iteration] }4117 behaves like search returns correct items4118 is expected to contain exactly #<Iteration id:6 *iteration:"Iteration 1">4119 search: "iteration", fields_to_search: [:cadence_title], expected_iterations: lazy { all_iterations }4120 behaves like search returns correct items4121 is expected to contain exactly #<Iteration id:4 *iteration:4>, #<Iteration id:5 *iteration:"one test">, #<Iteration id:6 *iteration:"Iteration 1">, #<Iteration id:7 *iteration:7>, and #<Iteration id:8 *iteration:8>4122 search: "two week", fields_to_search: [:cadence_title], expected_iterations: lazy { [closed_iteration, started_group_iteration] }4123 behaves like search returns correct items4124 is expected to contain exactly #<Iteration id:4 *iteration:4> and #<Iteration id:5 *iteration:"one test">4125 search: "iteration test", fields_to_search: [:cadence_title], expected_iterations: lazy { [] }4126 behaves like search returns correct items4127 is expected to contain exactly4128 search: "one week", fields_to_search: [:title, :cadence_title], expected_iterations: lazy { [upcoming_group_iteration] }4129 behaves like search returns correct items4130 is expected to contain exactly #<Iteration id:6 *iteration:"Iteration 1">4131 search: "iteration", fields_to_search: [:title, :cadence_title], expected_iterations: lazy { all_iterations }4132 behaves like search returns correct items4133 is expected to contain exactly #<Iteration id:4 *iteration:4>, #<Iteration id:5 *iteration:"one test">, #<Iteration id:6 *iteration:"Iteration 1">, #<Iteration id:7 *iteration:7>, and #<Iteration id:8 *iteration:8>4134 search: "iteration 1", fields_to_search: [:title, :cadence_title], expected_iterations: lazy { [upcoming_group_iteration] }4135 behaves like search returns correct items4136 is expected to contain exactly #<Iteration id:6 *iteration:"Iteration 1">4137 by updated_at4138 returns iterations filtered only by updated_before4139 returns iterations filtered only by updated_after4140 returns iterations filtered by updated_after and updated_before4141 by iteration_wildcard_id4142 returns CURRENT iterations4143 returns CURRENT iteration for the specified cadence4144 by timeframe4145 returns iterations with start_date and due_date between timeframe4146 returns iterations which start before the timeframe4147 returns iterations which end after the timeframe4148 when one of the timeframe params are missing4149 does not filter by timeframe if start_date is missing4150 does not filter by timeframe if end_date is missing4151 sorting4152 sorts correctly by cadence_and_due_date_asc4153 sorts correctly by cadence_and_due_date_desc4154 behaves like sorted by the default order4155 sorts by the default order (due_date, title, id asc)4156 when an unsupported sorting param is provided4157 behaves like sorted by the default order4158 sorts by the default order (due_date, title, id asc)4159 #find_by4160 finds a single iteration4161Analytics::DevopsAdoption::SnapshotCalculator4162 end_time4163 equals to range_end4164 issue_opened4165 is expected to eq false4166 with an issue opened within month4167 is expected to eq true4168 merge_request_opened4169 is expected to eq false4170 with a merge request opened within month4171 is expected to eq true4172 merge_request_approved4173 is expected to eq false4174 with a merge request approved within month4175 is expected to eq true4176 runner_configured4177 is expected to eq false4178 with active runner present4179 is expected to eq true4180 pipeline_succeeded4181 is expected to eq false4182 with successful pipeline within month4183 is expected to eq true4184 deploy_succeeded4185 is expected to eq false4186 with successful deployment within month4187 is expected to eq true4188 total_projects_count4189 is expected to eq 24190 code_owners_used_count4191 is expected to eq 14192 when there is no default branch4193 uses HEAD as default value4194 sast_enabled_count4195 returns number of projects with at least 1 sast CI artifact created in given period4196 dast_enabled_count4197 returns number of projects with at least 1 dast CI artifact created in given period4198 dependency_scanning_enabled_count4199 returns number of projects with at least 1 dependency_scanning CI artifact created in given period4200 coverage_fuzzing_enabled_count4201 returns number of projects with at least 1 coverage_fuzzing CI artifact created in given period4202 vulnerability_management_used_count4203 returns number of projects with at least 1 vulnerability acted upon4204 when snapshot already exists4205 for boolean metrics4206 calculates metrics which are not true yet4207 doesn't change metrics which are true already4208 for numeric metrics4209 always recalculates metric4210ProjectStatistics4211 # order random4212 #update_storage_size4213 when should_check_namespace_plan? returns true4214 sums the relevant storage counters without uploads_size4215 when should_check_namespace_plan? returns false4216 sums the relevant storage counters along with uploads_size4217 #cost_factored_storage_size4218 when there is no cost factor for forks4219 plan: :free_plan, fork_visibility: :public4220 equals the storage size4221 plan: :free_plan, fork_visibility: :internal4222 equals the storage size4223 plan: :free_plan, fork_visibility: :private4224 equals the storage size4225 plan: :premium_plan, fork_visibility: :public4226 equals the storage size4227 plan: :premium_plan, fork_visibility: :internal4228 equals the storage size4229 plan: :premium_plan, fork_visibility: :private4230 equals the storage size4231 plan: :ultimate_plan, fork_visibility: :public4232 equals the storage size4233 plan: :ultimate_plan, fork_visibility: :internal4234 equals the storage size4235 plan: :ultimate_plan, fork_visibility: :private4236 equals the storage size4237 when there is a cost factor for forks4238 returns the storage size if the fork namespace is free and the fork is private4239 returns the storage size with the cost factor applied for a fork in a subgroup4240 returns the storage size if the project is not a fork4241 rounds to the nearest integer4242 plan: :free_plan, fork_visibility: :public4243 returns the storage size with the cost factor applied4244 plan: :free_plan, fork_visibility: :internal4245 returns the storage size with the cost factor applied4246 plan: :premium_plan, fork_visibility: :public4247 returns the storage size with the cost factor applied4248 plan: :premium_plan, fork_visibility: :internal4249 returns the storage size with the cost factor applied4250 plan: :premium_plan, fork_visibility: :private4251 returns the storage size with the cost factor applied4252 plan: :ultimate_plan, fork_visibility: :public4253 returns the storage size with the cost factor applied4254 plan: :ultimate_plan, fork_visibility: :internal4255 returns the storage size with the cost factor applied4256 plan: :ultimate_plan, fork_visibility: :private4257 returns the storage size with the cost factor applied4258Ci::CreatePipelineService4259 with license4260 behaves like supported cross project artifacts definitions4261 persists pipeline4262 persists job4263 persists cross_dependencies4264 returns empty dependencies with non existing projects4265 behaves like broken artifacts definitions4266 persists pipeline4267 has errors4268 behaves like mixed artifacts definitions4269 persists pipeline4270 persists jobs4271 persists needs4272 persists cross_dependencies4273 returns dependencies4274 without license4275 behaves like supported cross project artifacts definitions4276 persists pipeline4277 persists job4278 persists cross_dependencies4279 returns empty dependencies with non existing projects4280 behaves like broken artifacts definitions4281 persists pipeline4282 has errors4283 behaves like mixed artifacts definitions4284 persists pipeline4285 persists jobs4286 persists needs4287 persists cross_dependencies4288 returns dependencies4289VulnerabilitiesHelper4290 #vulnerability_details4291 [:can_modify_related_issues]4292 with security dashboard feature enabled4293 when user can manage related issues4294 is expected to include {:can_modify_related_issues => true}4295 when user cannot manage related issues4296 is expected to include {:can_modify_related_issues => false}4297 with security dashboard feature disabled4298 is expected to include {:can_modify_related_issues => false}4299 [:can_admin]4300 when user can admin vulnerabilities4301 is expected to include {:can_admin => true}4302 when user can not admin vulnerabilities4303 is expected to include {:can_admin => false}4304 when pipeline exists4305 has expected vulnerability properties4306 returns expected pipeline data4307 when the issues are disabled for the project4308 has `new_issue_url` set as nil4309 when pipeline is nil4310 has expected vulnerability properties4311 returns no pipeline data4312 when the issues are disabled for the project4313 has `new_issue_url` set as nil4314 dismissal descriptions4315 includes translated dismissal descriptions4316 #create_jira_issue_url_for4317 with jira vulnerabilities integration enabled4318 when the given object is a vulnerability4319 delegates rendering URL to Integrations::Jira4320 when scan property is empty4321 renders description using dedicated template without raising error4322 when the given object is an unpersisted finding4323 delegates rendering URL to Integrations::Jira4324 when the given object is a Security::Finding4325 delegates rendering URL to Integrations::Jira4326 with jira vulnerabilities integration disabled4327 is expected to be nil4328 #vulnerability_finding_data4329 returns finding information4330 when there is no file4331 does not have a blob_path if there is no file4332 with existing vulnerability_state_transition, issue link and merge request link4333 returns finding link associations4334 returns dismissal feedback information4335 with markdown field for description4336 when vulnerability has no description and finding has description4337 returns finding information4338 when vulnerability has description and finding has description4339 returns finding information4340 #vulnerability_scan_data?4341 scanner present4342 is expected to be truthy4343 scan present4344 is expected to be truthy4345 neither scan nor scanner being present4346 is expected to be falsey4347RequirementsManagement::RequirementPolicy4348 behaves like resource with requirement permissions4349 when requirements feature is enabled4350 with admin4351 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4352 with owner4353 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4354 with maintainer4355 behaves like user with manage permissions4356 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :create_requirement_test_report, and :export_requirements4357 is expected to be disallowed :destroy_requirement4358 with developer4359 behaves like user with manage permissions4360 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :create_requirement_test_report, and :export_requirements4361 is expected to be disallowed :destroy_requirement4362 with reporter4363 behaves like user with manage permissions4364 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :create_requirement_test_report, and :export_requirements4365 is expected to be disallowed :destroy_requirement4366 with guest4367 behaves like user with read-only permissions4368 is expected to be allowed :read_requirement4369 is expected to be disallowed :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4370 with non member4371 behaves like user with read-only permissions4372 is expected to be allowed :read_requirement4373 is expected to be disallowed :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4374 with private resource parent4375 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4376 when access level is disabled4377 with owner4378 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4379 with admin4380 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4381 when access level is private4382 with admin user4383 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4384 with admin mode enabled4385 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4386 with owner4387 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4388 with maintainer4389 behaves like user with manage permissions4390 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :create_requirement_test_report, and :export_requirements4391 is expected to be disallowed :destroy_requirement4392 with developer4393 behaves like user with manage permissions4394 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :create_requirement_test_report, and :export_requirements4395 is expected to be disallowed :destroy_requirement4396 with reporter4397 behaves like user with manage permissions4398 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :create_requirement_test_report, and :export_requirements4399 is expected to be disallowed :destroy_requirement4400 with guest4401 behaves like user with read-only permissions4402 is expected to be allowed :read_requirement4403 is expected to be disallowed :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4404 with non member4405 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4406 when requirements feature is disabled4407 with owner4408 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4409 with admin4410 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, :create_requirement_test_report, and :export_requirements4411SearchHelper4412 #search_filter_input_options4413 with multiple issue assignees feature4414 allows multiple assignees in project context4415 allows multiple assignees in group context4416 allows multiple assignees in dashboard context4417 without multiple issue assignees feature4418 does not allow multiple assignees in project context4419 does not allow multiple assignees in group context4420 allows multiple assignees in dashboard context4421 epics-endpoint4422 includes epics endpoint in project context4423 includes epics endpoint in group context4424 does not include epics endpoint for projects under a namespace4425 does not include epics endpoint in dashboard context4426 iterations-endpoint4427 when iterations are available4428 includes iteration endpoint in project context4429 includes iteration endpoint in group context4430 does not include iterations endpoint for projects under a namespace4431 does not include iterations endpoint in dashboard context4432 when iterations are not available4433 does not include iterations endpoint in project context4434 does not include iterations endpoint in group context4435 search_autocomplete_opts4436 with a user4437 includes the users recently viewed epics4438 with the filter parameter is present4439 filter is set to search4440 filter is set to generic4441 #search_entries_info_template4442 when all requirements are met4443 returns a custom message4444 when not in Gitlab.com4445 behaves like returns old message4446 is expected to eq "Showing %{count} %{scope} for %{term_element}"4447 when elastic search is not enabled4448 behaves like returns old message4449 is expected to eq "Showing %{count} %{scope} for %{term_element}"4450 when no user is present4451 behaves like returns old message4452 is expected to eq "Showing %{count} %{scope} for %{term_element}"4453 when not searching for snippets4454 behaves like returns old message4455 is expected to eq "Showing %{count} %{scope} for %{term_element}"4456 #highlight_and_truncate_issuable4457 when description is not present4458 does nothing4459 when description present4460 description: "test", search_highlight: {1=>{:description=>["gitlabelasticsearch→test←gitlabelasticsearch"]}}, expected: "<span class='gl-text-gray-900 gl-font-weight-bold'>test</span>"4461 sanitizes, truncates, and highlights the search term4462 description: "<span style=\"color: blue;\">this test should not be blue</span>", search_highlight: {1=>{:description=>["<span style=\"color: blue;\">this gitlabelasticsearch→test←gitlabelasticsearch should not be blue</span>"]}}, expected: "this <span class='gl-text-gray-900 gl-font-weight-bold'>test</span> should not be blue"4463 sanitizes, truncates, and highlights the search term4464 description: "<a href=\"#\" onclick=\"alert('XSS')\">Click Me test</a>", search_highlight: {1=>{:description=>["<a href=\"#\" onclick=\"alert('XSS')\">Click Me gitlabelasticsearch→test←gitlabelasticsearch</a>"]}}, expected: "<a href='#'>Click Me <span class='gl-text-gray-900 gl-font-weight-bold'>test</span></a>"4465 sanitizes, truncates, and highlights the search term4466 description: "<script type=\"text/javascript\">alert('Another XSS');</script> test", search_highlight: {1=>{:description=>["<script type=\"text/javascript\">alert('Another XSS');</script> gitlabelasticsearch→test←gitlabelasticsearch"]}}, expected: "alert('Another XSS'); <span class='gl-text-gray-900 gl-font-weight-bold'>test</span>"4467 sanitizes, truncates, and highlights the search term4468 description: "Lorem test ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec.", search_highlight: {1=>{:description=>["Lorem gitlabelasticsearch→test←gitlabelasticsearch ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec."]}}, expected: "Lorem <span class='gl-text-gray-900 gl-font-weight-bold'>test</span> ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Don..."4469 sanitizes, truncates, and highlights the search term4470 description: "<img src=\"https://random.foo.com/test.png\" width=\"128\" height=\"128\" />some image", search_highlight: {1=>{:description=>["<img src=\"https://random.foo.com/gitlabelasticsearch→test←gitlabelasticsearch.png\" width=\"128\" height=\"128\" />some image"]}}, expected: "some image"4471 sanitizes, truncates, and highlights the search term4472 description: "<h2 data-sourcepos=\"11:1-11:26\" dir=\"auto\"><a id=\"user-content-additional-information\" class=\"anchor\" href=\"#additional-information\" aria-hidden=\"true\"></a>Additional information test:</h2><textarea data-update-url=\"/freepascal.org/fpc/source/-/issues/6163.json\" dir=\"auto\" data-testid=\"textarea\" class=\"hidden js-task-list-field\"></textarea>", search_highlight: {1=>{:description=>["<h2 data-sourcepos=\"11:1-11:26\" dir=\"auto\"><a id=\"user-content-additional-information\" class=\"anchor\" href=\"#additional-information\" aria-hidden=\"true\"></a>Additional information gitlabelasticsearch→test←gitlabelasticsearch:</h2><textarea data-update-url=\"/freepascal.org/fpc/source/-/issues/6163.json\" dir=\"auto\" data-testid=\"textarea\" class=\"hidden js-task-list-field\"></textarea>"]}}, expected: "<a class='anchor' href='#additional-information'></a>Additional information <span class='gl-text-gray-900 gl-font-weight-bold'>test</span>:"4473 sanitizes, truncates, and highlights the search term4474 #search_sort_options_json4475 with advanced search enabled4476 returns the correct data4477 with basic search enabled4478 returns the correct data4479 .search_navigation_json4480 when all options enabled4481 returns items in order4482 .search_filter_link_json4483 with data4484 scope: "projects", label: "Projects", data: {:qa_selector=>"projects_tab"}, search: nil, active_scope: "projects"4485 converts correctly4486 scope: "snippet_titles", label: "Snippets", data: nil, search: {:snippets=>"test"}, active_scope: "code"4487 converts correctly4488 scope: "projects", label: "Projects", data: {:qa_selector=>"projects_tab"}, search: nil, active_scope: "issue"4489 converts correctly4490 scope: "snippet_titles", label: "Snippets", data: nil, search: {:snippets=>"test"}, active_scope: "snippet_titles"4491 converts correctly4492 #wiki_blob_link4493 is expected to eq "/groups/group258/-/wikis/test"4494ResourceAccessTokens::CreateService4495 #execute4496 with enforced group managed account enabled4497 behaves like token creation succeeds4498 does not cause an error4499 adds the project bot as a member4500 creates a project bot user4501 for SAML enabled groups4502 behaves like token creation succeeds4503 does not cause an error4504 adds the project bot as a member4505 creates a project bot user4506 project access token audit events4507 when project access token is successfully created4508 logs project access token details4509 behaves like audit event details4510 creates an audit event4511 logs author and resource info4512 behaves like sends correct event type in audit event stream4513 sends correct event type in audit event stream4514 when project access token is unsuccessfully created4515 with inadequate permissions4516 logs the permission error message4517 behaves like audit event details4518 creates an audit event4519 logs author and resource info4520 behaves like sends correct event type in audit event stream4521 sends correct event type in audit event stream4522 when access provisioning fails4523 logs the provisioning error message4524 behaves like audit event details4525 creates an audit event4526 logs author and resource info4527 behaves like sends correct event type in audit event stream4528 sends correct event type in audit event stream4529 when resource is project and reached project_access_token limit4530 causes an error and does not change bots or members count4531MergeRequests::PostMergeService4532 #execute4533 finalize approvals4534 executes ApprovalRules::FinalizeService4535 compliance violations4536 when the compliance center feature is unlicensed4537 behaves like does not call the compliance violations worker4538 is expected not to receive perform_async(*(any args)) 0 times4539 when the compliance center feature is licensed4540 calls the compliance violations worker asynchronously4541 auditing and tracking invalid logs4542 when the rule is code owner4543 when the rule is valid4544 does not audit or track the event4545 when invalid4546 audits and tracks logs the event4547 when the rule is any_approver4548 when the rule is valid4549 does not audit or track the event4550 when invalid4551 does not audit or track the event4552 when the rule is approval_merge_request_rule4553 when the rule is valid4554 does not audit or track the event4555 when invalid4556 audits and tracks logs the event4557 when the rule is report_approver4558 when the rule is valid4559 does not audit or track the event4560 when invalid4561 audits and tracks logs the event4562 security orchestration policy configuration4563 executes Security::SyncScanResultPolicyWorker for each configuration project4564 without licensed feature4565 does not execute Security::SyncScanResultPolicyWorker for each configuration project4566 with unrelated policy configurations4567 does not execute Security::SyncScanResultPolicyWorker for each configuration project4568 when merge request is a blocker for other merge requests4569 triggers GraphQL subscription mergeRequestMergeStatusUpdated for each blocked merge request4570 when a temporary unapproval is needed for the MR4571 removes the unmergeable flag after the service is run4572 for audit events4573 when licensed4574 does not log audit event if operation fails4575 does not log audit event if operation results in no change4576 when operation succeeds4577 logs an audit event4578 logs the audit event info4579 calls the audit method with the event type4580 when not licensed4581 does not log audit event4582Gitlab::CodeOwners4583 mocked4584 .for_blob4585 when the feature is available4586 returns users for a blob4587 when the feature is not available4588 returns no users4589 .sections4590 when the feature is available4591 returns sections4592 when the feature is not available4593 returns empty array4594 .optional_section?4595 when the feature is available4596 returns the optionality of the section4597 when the feature is not available4598 does not call Loader4599 .entries_for_merge_request4600 when the feature is available4601 when merge_head_diff exists4602 when the changed file paths have matching code owners4603 returns owners for merge request4604 when the changed file paths do not have matching code owners4605 returns an empty array4606 when merge_head_diff does not exist4607 falls back to merge_request_diff4608 when merge_request_diff is specified4609 returns owners at the specified ref4610 when the feature is not available4611 skips reading codeowners and returns an empty array4612 .entries_since_merge_request_commit4613 without sha4614 identifies single codeowner entry4615 when the single commit gets amended4616 identifies codeowner entries from the merge_request_diff4617 with sha4618 identifies single code owner entry4619 identifies multiple code owner entries4620 when the sha is the same as head_commit_sha4621 identifies codeowner entries from the merge_request_diff4622EE::Mentionable4623 Epic4624 #store_mentions!4625 behaves like mentions in description4626 when storing user mentions4627 when mentionable description has no mentions4628 stores no mentions4629 when mentionable description contains mentions4630 when `disable_all_mention` FF is disabled4631 stores mentions4632 when `disable_all_mention` FF is enabled4633 stores mentions4634 behaves like mentions in notes4635 when mentionable notes contain mentions4636 when `disable_all_mention` FF is enabled4637 returns all mentionable mentions4638 when `disable_all_mention` FF is disabled4639 returns all mentionable mentions4640 and note is confidential4641 returns only mentioned users that has permissions4642 load mentions4643 behaves like load mentions from DB4644 load stored mentions (when `disable_all_mention` is disabled)4645 when stored user mention contains ids of inexistent records4646 filters out inexistent mentions4647 and note is confidential4648 stores only mentioned users that has permissions4649 when private projects and groups are mentioned4650 when user has no access to some mentions4651 filters out inaccessible mentions4652 when user has access to all mentions4653 returns all mentions4654 when `disable_all_mention` is enabled4655 load stored mentions4656 when stored user mention contains ids of inexistent records4657 filters out inexistent mentions4658 and note is confidential4659 stores only mentioned users that has permissions4660 when private projects and groups are mentioned4661 when user has no access to some mentions4662 filters out inaccessible mentions4663 when user has access to the private project and group mentions4664 returns all mentions4665Gitlab::Usage::Metrics::Instrumentations::CountSecurePipelinesMetric4666 # order random4667 raises an error for invalid scan types4668 with scan_type dast4669 has correct value4670 behaves like a correct instrumented metric query4671 has correct generate query4672 with scan_type coverage_fuzzing4673 has correct value4674 behaves like a correct instrumented metric query4675 has correct generate query4676 with scan_type sast4677 has correct value4678 behaves like a correct instrumented metric query4679 has correct generate query4680 counts pipelines that have security jobs4681 for dependency_scanning4682 for sast4683 for container_scanning4684 for secret_detection4685 for dast4686 for coverage_fuzzing4687 for api_fuzzing4688 with scan_type container_scanning4689 has correct value4690 behaves like a correct instrumented metric query4691 has correct generate query4692 with scan_type dependency_scanning4693 has correct value4694 behaves like a correct instrumented metric query4695 has correct generate query4696 with scan_type secret_detection4697 has correct value4698 behaves like a correct instrumented metric query4699 has correct generate query4700 with scan_type api_fuzzing4701 has correct value4702 behaves like a correct instrumented metric query4703 has correct generate query4704 counts unique users correctly across multiple scanners4705 has correct value for sast4706 has correct value for dependency_scanning4707 has correct value for container_scanning4708 has correct value for dast4709 has correct value for secret_detection4710 has correct value for coverage_fuzzing4711 has correct value for api_fuzzing4712Geo::DependencyProxyManifestRegistry4713 # order random4714 factory is valid4715 scopes4716 sync_timed_out4717 return correct records4718 not_pending4719 returns registries that are not pending4720 #pending!4721 when a sync is currently running4722 successfully moves state to pending4723 when the registry has recorded a failure4724 clears failure retry fields4725 .fail_sync_timeouts4726 marks started records as failed if they are expired4727 behaves like a Geo verifiable registry4728 state machine4729 when transitioning to synced4730 marks verification as pending4731 when the model_record cannot be verified4732 when the registry is already verification_disabled4733 changes verification to disabled4734 when the registry is verification_pending4735 changes verification to disabled4736 verification_state machine4737 when transitioning to verification_failed4738 changes state from synced to failed4739 .verification_pending_batch4740 returns IDs of rows which are synced and pending verification4741 excludes rows which are not synced or are not pending verification4742 marks verification as started4743 .verification_failed_batch4744 with a failed record with retry due4745 returns IDs of rows which are synced and have failed verification4746 excludes rows which are not synced or have not failed verification4747 marks verification as started4748 when verification_retry_at is in the future4749 does not return the row which failed verification4750 .needs_verification_count4751 returns the number of rows which are synced and pending verification4752 includes rows which are synced and failed verification and are due for retry4753 excludes rows which are synced and failed verification and have a future retry time4754 excludes rows which are not synced or are not (pending or failed) verification4755 #verification_succeeded!4756 clears checksum mismatch fields4757 #track_checksum_attempt!4758 yields to the checksum calculation4759 when verification was not yet started4760 starts verification4761 when the model record cannot be verified4762 when the registry is already verification_disabled4763 leaves verification as disabled4764 when the registry is verification_pending4765 changes verification to disabled4766 when the primary site is expected to checksum the model record4767 comparison with primary checksum4768 when the calculated checksum matches the primary checksum4769 transitions to verification_succeeded and updates the checksum4770 when the calculated checksum does not match the primary checksum4771 transitions to verification_failed and updates mismatch fields4772 when verification was started4773 does not update verification_started_at4774 when an error occurs while yielding4775 sets verification_failed4776 obligatory fields check4777 has expected fields or methods4778 finders4779 .find_registries_never_attempted_sync4780 returns unsynced items4781 returns items that never have an attempt to sync except some specific item ID4782 .find_registries_needs_sync_again4783 returns failed items4784 returns failed items except some specific item ID4785 orders records according to retry_at4786 #failed!4787 sets last_sync_failure with message4788 truncates a long last_sync_failure4789 increments retry_count4790 sets retry_at to a time in the future4791 when an error is given4792 includes error.message in last_sync_failure4793 when missing_on_primary is not given4794 caps retry_at to default 1 hour4795 when missing_on_primary is falsey4796 caps retry_at to default 1 hour4797 when missing_on_primary is truthy4798 caps retry_at to 4 hours4799 #synced!4800 mark as synced4801 when a sync was scheduled after the last sync finishes4802 does not reset state4803 resets the other sync state fields4804Resolvers::Geo::PackageFileRegistriesResolver4805 behaves like a Geo registries resolver4806 #resolve4807 when the parent object is the current node4808 when the user has permission to view Geo data4809 when admin mode is enabled4810 when the ids argument is null4811 returns registries, in order4812 when the ids argument is present4813 returns the requested registries, in order4814 when the replication_state argument is present4815 returns registries with requested replication state, in order4816 with verification enabled4817 when the verification_state argument is present4818 returns registries with requested verification state, in order4819 with verification disabled4820 when the verification_state argument is present4821 raises ArgumentError (PENDING: Skipping because verification is enabled for Packages::PackageFile)4822 when admin mode is disabled4823 returns nothing4824 when the user does not have permission to view Geo data4825 returns nothing4826 when the parent object is not the current node4827 when the user has permission to view Geo data4828 returns nothing, because we can't query other nodes' tracking databases4829Search::Wiki::ElasticDeleteGroupWikiWorker4830 # order random4831 #perform4832 removes all the wikis in the Elastic of the passed group4833Gitlab::SubscriptionPortal::Clients::Rest4834 #generate_trial4835 nests in the trial_user param if needed4836 behaves like when response is successful4837 has a successful status4838 behaves like when response code is 4224839 has a unprocessable entity status4840 returns the error message along with the error_attribute_map4841 behaves like when response code is 5004842 has a server error status4843 behaves like when http call raises an exception4844 overrides the error message4845 #generate_lead4846 behaves like when response is successful4847 has a successful status4848 behaves like when response code is 4224849 has a unprocessable entity status4850 returns the error message along with the error_attribute_map4851 behaves like when response code is 5004852 has a server error status4853 behaves like when http call raises an exception4854 overrides the error message4855 #generate_iterable4856 behaves like when response is successful4857 has a successful status4858 behaves like when response code is 4224859 has a unprocessable entity status4860 returns the error message along with the error_attribute_map4861 behaves like when response code is 5004862 has a server error status4863 behaves like when http call raises an exception4864 overrides the error message4865 #create_subscription4866 behaves like when response is successful4867 has a successful status4868 behaves like when response code is 4224869 has a unprocessable entity status4870 returns the error message along with the error_attribute_map4871 behaves like when response code is 5004872 has a server error status4873 behaves like when http call raises an exception4874 overrides the error message4875 #create_customer4876 behaves like when response is successful4877 has a successful status4878 behaves like when response code is 4224879 has a unprocessable entity status4880 returns the error message along with the error_attribute_map4881 behaves like when response code is 5004882 has a server error status4883 behaves like when http call raises an exception4884 overrides the error message4885 #payment_form_params4886 behaves like when response is successful4887 has a successful status4888 behaves like when response code is 4224889 has a unprocessable entity status4890 returns the error message along with the error_attribute_map4891 behaves like when response code is 5004892 has a server error status4893 behaves like when http call raises an exception4894 overrides the error message4895 #payment_method4896 behaves like when response is successful4897 has a successful status4898 behaves like when response code is 4224899 has a unprocessable entity status4900 returns the error message along with the error_attribute_map4901 behaves like when response code is 5004902 has a server error status4903 behaves like when http call raises an exception4904 overrides the error message4905 #validate_payment_method4906 behaves like when response is successful4907 has a successful status4908 behaves like when response code is 4224909 has a unprocessable entity status4910 returns the error message along with the error_attribute_map4911 behaves like when response code is 5004912 has a server error status4913 behaves like when http call raises an exception4914 overrides the error message4915 #customers_oauth_app_uid4916 behaves like when response is successful4917 has a successful status4918 behaves like when response code is 4224919 has a unprocessable entity status4920 returns the error message along with the error_attribute_map4921 behaves like when response code is 5004922 has a server error status4923 behaves like when http call raises an exception4924 overrides the error message4925Ci::PipelinePresenter4926 #failure_reason4927 when pipeline has failure reason4928 represents a failure reason sentence4929 when pipeline does not have failure reason4930 returns nil4931 #expose_security_dashboard?4932 with developer4933 when features are available4934 calls latest_report_artifacts once4935 when there is an artifact of a right type4936 is expected to be truthy4937 when there is an artifact of a wrong type4938 is expected to be falsey4939 when there is no found artifact4940 is expected to be falsey4941 when all features are available4942 does not increase the number of queries4943 calls latest_report_artifacts once4944 when features are disabled4945 when there is an artifact of a right type4946 is expected to be falsey4947 with reporter4948 is expected to be falsey4949 #downloadable_path_for_report_type4950 with browser_performance artifact4951 when feature is available4952 returns the downloadable path4953 when feature is not available4954 doesn't return the downloadable path4955 when user is not authorized4956 doesn't return the downloadable path4957 with load_performance artifact4958 when feature is available4959 returns the downloadable path4960 when feature is not available4961 doesn't return the downloadable path4962 when user is not authorized4963 doesn't return the downloadable path4964 with license_scanning artifact4965 when feature is available4966 returns the downloadable path4967 when feature is not available4968 doesn't return the downloadable path4969 when user is not authorized4970 doesn't return the downloadable path4971 #degradation_threshold4972 when feature is available4973 returns the degradation threshold4974 when feature is not available4975 doesn't return the degradation threshold4976 when user is not authorized4977 doesn't return the degradation threshold4978 #retryable?4979 with pipeline for merge train4980 is expected to equal false4981 with branch pipeline4982 is expected to equal true4983Elastic::Latest::GitInstanceProxy4984 .methods_for_all_write_targets4985 contains extra method4986 #es_parent4987 for wiki is false4988 contains project id4989 for wiki is true4990 when migration reindex_wikis_to_fix_routing is finished4991 for ProjectWiki repository4992 contains project's root ancestor id4993 for GroupWiki repository4994 contains group's root ancestor id4995 when migration reindex_wikis_to_fix_routing is not finished4996 for ProjectWiki repository4997 returns nil4998 for GroupWiki repository4999 returns nil5000 #elastic_search5001 provides repository_id if not provided5002 uses provided repository_id5003 #elastic_search_as_found_blob5004 provides repository_id if not provided5005 uses provided repository_id5006 #blob_aggregations5007 provides repository_id if not provided5008 uses provided repository_id5009 #delete_index_for_commits_and_blobs5010 is forwarded to all write targets5011Ci::Minutes::UsagePresenter5012 #monthly_minutes_report5013 when the usage is not enabled5014 when the namespace is not eligible5015 returns not supported report with no usage5016 when the namespace is eligible5017 when minutes are not used5018 returns unlimited report with no usage5019 when minutes are used5020 returns unlimited report with usage5021 when limited5022 when minutes are not all used5023 returns report with under usage5024 when minutes are all used5025 returns report with over quota5026 #purchased_minutes_report5027 when limit enabled5028 when extra minutes have been purchased5029 when all monthly minutes are used and some puarchased minutes are used5030 returns report with under quota5031 when all monthly and all puarchased minutes have been used5032 returns report with over quota5033 when not all monthly minutes have been used5034 returns report with no usage5035 when no extra minutes have been purchased5036 when all monthly minutes have been used5037 returns report without usage5038 when not all monthly minutes have been used5039 returns report with no usage5040 #monthly_percent_used5041 limit not enabled5042 returns the percentage5043 monthly limit set and no usage5044 returns the percentage5045 monthly limit set and usage lower than 100%5046 returns the percentage5047 monthly limit set and usage at 100%5048 returns the percentage5049 monthly limit set and usage above 100%5050 returns the percentage5051 monthly limit not set and no usage5052 returns the percentage5053 monthly limit not set and some usage5054 returns the percentage5055 monthly and purchased limits set and no usage5056 returns the percentage5057 monthly and purchased limits set and low usage5058 returns the percentage5059 usage capped to 100% and overflows into purchased minutes5060 returns the percentage5061 #purchased_percent_used5062 limit not enabled5063 returns the percentage5064 monthly limit not set and purchased limit set and low usage5065 returns the percentage5066 monthly limit set and purchased limit not set and usage below monthly5067 returns the percentage5068 monthly limit set and purchased limit not set and usage above monthly5069 returns the percentage5070 monthly and purchased limits set and no usage5071 returns the percentage5072 monthly and purchased limits set and usage below monthly5073 returns the percentage5074 monthly and purchased limits set and monthly minutes maxed out5075 returns the percentage5076 monthly and purchased limits set and some purchased minutes used5077 returns the percentage5078 monthly and purchased limits set and all minutes used5079 returns the percentage5080 monthly and purchased limits set and usage beyond all limits5081 returns the percentage5082 #any_project_enabled?5083 does not trigger additional queries when called multiple times5084 when namespace has any project with shared runners enabled5085 returns true5086 when namespace has no projects with shared runners enabled5087 returns false5088 #display_shared_runners_data?5089 when the namespace is root and it has a project with shared runners enabled5090 is expected to be truthy5091 when the namespace is not root5092 is expected to be falsey5093 when the namespaces has no project with shared runners enabled5094 is expected to be falsey5095AddSchemaVersionToCommits5096 # order random5097 .migrate5098 when migration is already completed5099 does not modify data5100 migration process5101 updates the issues index mappings5102 .completed?5103 mapping has been updated5104 is expected to be completed5105 mapping has not been updated5106 is expected not to be completed5107Groups::CreateService#execute5108 audit events5109 when licensed5110 does not log audit event if operation fails5111 does not log audit event if operation results in no change5112 when operation succeeds5113 logs an audit event5114 logs the audit event info5115 calls the audit method with the event type5116 when not licensed5117 does not log audit event5118 when created group is a sub-group5119 sends the audit streaming event5120 repository_size_limit assignment as Bytes5121 when param present5122 assign repository_size_limit as Bytes5123 when param not present5124 assign nil value5125 updating protected params5126 as an admin5127 updates the attributes5128 as a regular user5129 ignores the attributes5130 creating group push rule5131 when feature is available5132 when there are push rules settings5133 uses the configured push rules settings5134 when there are not push rules settings5135 is not creating the group push rule5136 when feature not is available5137 ignores the group push rule5138 when create_event is true5139 enqueues a create event worker5140 when user can not create a group5141 doesn't enqueue a create event worker5142 when create_event is NOT true5143 doesn't enqueue a create event worker5144Analytics::CycleAnalytics::ValueStreams::CreateService5145 when group is given5146 behaves like common value stream service examples5147 when the user has no permission5148 returns error5149 when the license is missing5150 returns error5151 behaves like when the feature is available5152 when stage params are passed5153 persists the value stream record5154 persists the stages5155 calculates and sets relative_position for the stages based on the incoming stages array5156 when the stage is invalid5157 propagates validation errors5158 when value stream is invalid5159 returns error message5160 when stage names are not unique5161 validates that stages have unique names5162 when stage names are not present5163 invalidates the stream object5164 when creating a default stage5165 persists the stage as custom stage5166 when no stage params are passed5167 persists the value stream record5168 when project namespace is given5169 behaves like common value stream service examples5170 when the user has no permission5171 returns error5172 when the license is missing5173 returns error5174 behaves like when the feature is available5175 when stage params are passed5176 persists the value stream record5177 persists the stages5178 calculates and sets relative_position for the stages based on the incoming stages array5179 when the stage is invalid5180 propagates validation errors5181 when value stream is invalid5182 returns error message5183 when stage names are not unique5184 validates that stages have unique names5185 when stage names are not present5186 invalidates the stream object5187 when creating a default stage5188 persists the stage as custom stage5189 when no stage params are passed5190 persists the value stream record5191Security::Findings::DismissService5192 # order random5193 #execute5194 when the user is authorized5195 when comment is added5196 dismisses a finding with comment5197 when dismissal feedback already exists for finding5198 updates comment for dismissed finding feedback5199 when deleting a comment5200 removes the comment5201 when the dismissal_reason is added5202 dismisses a finding5203 when Vulnerabilities::Feedback creation fails5204 returns the error5205 when security dashboard feature is disabled5206 raises an "access denied" error5207 when Vulnerabilities::FindOrCreateFromSecurityFindingService returns vulnerability successfully5208 returns security finding with success reponse5209 when the user is not authorized5210 raises an "access denied" error5211DastSiteProfilesFinder5212 #execute5213 returns all dast_site_profiles5214 eager loads the dast_site association5215 eager loads the dast_site_validation association5216 filtering by id5217 returns a single dast_site_profile5218 filtering by name5219 returns a single dast_site_profile5220 filtering by names5221 returns a single dast_site_profile5222 when the dast_site_profile1 does not exist5223 returns an empty relation5224BulkImports::Groups::Pipelines::EpicsPipeline5225 #run5226 imports group epics into destination group5227 imports epic award emoji5228 imports epic notes5229 imports epic labels5230 imports epic system note metadata5231 #load5232 when epic is not persisted5233 saves the epic5234 when epic is missing5235 returns5236 pipeline parts5237 is expected to includes the BulkImports::NdjsonPipeline module5238 is expected to includes the BulkImports::Pipeline::Runner module5239 has extractor5240Resolvers::DoraMetricsResolver5241 when the user is querying for project-level metrics5242 behaves like dora metrics5243 #resolve5244 returns metrics from production for the last 3 months from the production environment, grouped by day5245 when the user has no access to DORA metrics5246 is expected to be nil5247 when DORA metrics are not licensed5248 is expected to be nil5249 with legacy metric param5250 returns metrics rows with added deprecated "value" field5251 with interval: "daily"5252 returns the metrics grouped by day (the default)5253 with interval: "monthly"5254 returns the metrics grouped by month5255 with interval: "all"5256 returns the metrics grouped into a single bucket with a nil date5257 with a start_date5258 returns metrics for data on or after the provided date5259 with an end_date5260 returns metrics for data on or before the provided date5261 with both a start_date and an end_date5262 returns metrics between the provided dates (inclusive)5263 when the requested date range is too large5264 generates an error5265 when the start date equal to or later than the end date5266 generates an error5267 with multiple environment_tiers5268 returns metrics for all environments combined5269 when the user is querying for group-level metrics5270 behaves like dora metrics5271 #resolve5272 returns metrics from production for the last 3 months from the production environment, grouped by day5273 when the user has no access to DORA metrics5274 is expected to be nil5275 when DORA metrics are not licensed5276 is expected to be nil5277 with legacy metric param5278 returns metrics rows with added deprecated "value" field5279 with interval: "daily"5280 returns the metrics grouped by day (the default)5281 with interval: "monthly"5282 returns the metrics grouped by month5283 with interval: "all"5284 returns the metrics grouped into a single bucket with a nil date5285 with a start_date5286 returns metrics for data on or after the provided date5287 with an end_date5288 returns metrics for data on or before the provided date5289 with both a start_date and an end_date5290 returns metrics between the provided dates (inclusive)5291 when the requested date range is too large5292 generates an error5293 when the start date equal to or later than the end date5294 generates an error5295 with multiple environment_tiers5296 returns metrics for all environments combined5297Gitlab::Auth::Oidc::User5298 # order random5299 #save5300 for required groups5301 when not defined5302 lets anyone in5303 when defined5304 when user has correct required groups membership5305 lets members in5306 when user is missing required groups membership5307 does not allow non-members5308 for admin groups5309 when not defined5310 does not promote to admin5311 does not demote existing admin user5312 when defined5313 when user has correct admin groups membership5314 promotes to admin5315 when user is missing admin groups membership5316 does not promote to admin5317 when user has admin and external groups membership5318 does not promote to admin5319 for auditor groups5320 when not defined5321 does not set user as auditor5322 does not demote existing auditor user5323 when defined5324 when user has correct auditor groups membership5325 promotes to auditor5326 when user is missing auditor groups membership5327 does not promote to auditor5328 when user has auditor and external groups membership5329 does not promote to auditor5330 for external groups5331 when not defined5332 does not set user as external5333 does not demote existing external user5334 when defined5335 when user has correct external groups membership5336 promotes to external5337 when user is missing external groups membership5338 does not promote to external5339AppSec::Dast::ScannerProfiles::UpdateService5340 #execute5341 when a user does not have access to the project5342 returns an error status5343 populates message5344 when the dast_scanner_profile exists on a different project5345 returns an error status5346 when the user can run a dast scan5347 returns a success status5348 updates the dast_scanner_profile5349 audits the update5350 returns a dast_scanner_profile payload5351 when the user omits unrequired elements5352 does not update those elements5353 omits those elements from the audit5354 when setting properties to false5355 updates the dast_scanner_profile5356 when the dast_scanner_profile doesn't exist5357 returns an error status5358 populates message5359 when on demand scan licensed feature is not available5360 returns an error status5361 populates message5362 when project has security policies enabled5363 when there is no policy that is referencing the profile5364 returns a success status5365 when there is a policy that is referencing the profile5366 returns an error status5367 populates message5368GroupsWithTemplatesFinder5369 without group id5370 returns all groups5371 when namespace checked5372 returns groups on ultimate/premium plan5373 with subgroup with template5374 returns groups on ultimate/premium plan5375 with group id5376 returns given group with it descendants5377 with subgroup with template5378 returns only chosen group5379 when namespace checked5380 does not return the group5381 with subgroup with template5382 returns only chosen group5383 returns only chosen subgroup5384Mutations::Dast::Profiles::Create5385 is expected to require graphql authorizations :create_on_demand_dast_scan5386 #resolve5387 when the feature is licensed5388 when the user can run a dast scan5389 returns the dast_profile5390 returns the dast_profile_schedule5391 when run_after_create=true5392 behaves like it checks branch permissions before creating a DAST on-demand scan pipeline5393 when the user does not have access to the branch5394 communicates failure5395 behaves like it creates a DAST on-demand scan pipeline5396 creates a new ci_pipeline for the given project5397 creates a single build associated with the ci_pipeline5398 creates an association between the dast_profile and the ci_pipeline5399 returns the pipeline_url5400 behaves like it delegates scan creation to another service5401 calls AppSec::Dast::Scans::CreateService5402MergeRequestApprovalSettings::UpdateService5403 execute with a Project as container5404 user does not have permissions5405 responds with an error response5406 does not change any of the approval settings5407 user has permissions5408 responds with a successful service response5409 run_compliance_standard_checks5410 when feature flag is enabled5411 invokes prevent approval by author and committer workers5412 when feature flag is disabled5413 does not invoke PreventApprovalByAuthorWorker and PreventApprovalByCommitterWorker5414 execute with a Group as container5415 user does not have permissions5416 responds with an error response5417 user has permissions5418 creates a new setting5419 responds with a successful service response5420 run_compliance_standard_checks5421 when feature flag is enabled5422 invokes GroupWorkers5423 when feature flag is disabled5424 does not invoke GroupWorkers5425 behaves like call audit changes service5426 executes GroupMergeRequestApprovalSettingChangesAuditor5427 when group has an existing setting5428 does not create a new setting5429 responds with a successful service response5430 behaves like call audit changes service5431 executes GroupMergeRequestApprovalSettingChangesAuditor5432 when saving fails5433 responds with an error service response5434Resolvers::Epics::ChildrenResolver5435 # order random5436 #resolve5437 returns nothing when feature disabled5438 does not return child epics when user has no access to group epics5439 when user has access to the base epic group5440 returns only accessible children5441 returns only accessible confidential children5442 calls the correct finder5443 when user has access to all child epics groups5444 returns all children5445 returns confidential children5446 with subgroups5447 returns all children5448 when user is a guest in the base epic group5449 returns accessible non confidential children5450 does not return confidential children5451Dast::ScannerProfilesBuild5452 associations5453 is expected to belong to ci_build class_name => Ci::Build required: true5454 is expected to belong to dast_scanner_profile class_name => DastScannerProfile required: true5455 validations5456 is expected to be valid5457 is expected to validate that :ci_build_id cannot be empty/falsy5458 is expected to validate that :dast_scanner_profile_id cannot be empty/falsy5459 when the ci_build.project_id and dast_scanner_profile.project_id do not match5460 is not valid5461 behaves like cleanup by a loose foreign key5462 cleans up (delete or nullify) the model5463Users::UpdateService5464 #execute5465 does not update email if an user has group managed account5466 does not update commit email if an user has group managed account5467 does not update public email if an user has group managed account5468 does not update notification email if an user has group managed account5469 updating name5470 when `disable_name_update_for_users` feature is available5471 when the ability to update their name is not disabled for users5472 behaves like a user can update the name5473 updates the name5474 when admin mode is enabled5475 behaves like a user can update the name5476 updates the name5477 when the ability to update their name is disabled for users5478 as a regular user5479 behaves like a user cannot update the name5480 does not update the name5481 when admin mode is enabled5482 behaves like a user can update the name5483 updates the name5484 when admin mode is disabled5485 behaves like a user cannot update the name5486 does not update the name5487 when force: true parameter is passed to service5488 updates the name5489 when `disable_name_update_for_users` feature is not available5490 behaves like a user can update the name5491 updates the name5492 when admin mode is enabled5493 behaves like a user can update the name5494 updates the name5495 when admin mode is disabled5496 behaves like a user cannot update the name5497 does not update the name5498 audit events5499 licensed5500 updating administrator status5501 logs making a user an administrator5502 logs making an administrator a user5503 updating username5504 logs audit event5505 with an admin user5506 allowed params5507 with identity5508 adds identity to user5509 adds two different identities to user5510Dependencies::DependencyListExport5511 # order random5512 validations5513 is expected to validate that :project cannot be empty/falsy5514 is expected to validate that :group cannot be empty/falsy5515 is expected to validate that :status cannot be empty/falsy5516 is expected not to validate that :file cannot be empty/falsy5517 when export is finished5518 is expected to validate that :file cannot be empty/falsy5519 when the export is for a project5520 is expected not to validate that :group cannot be empty/falsy5521 when the export is for a group5522 is expected not to validate that :project cannot be empty/falsy5523 only one exportable can be set5524 when both project and group is set5525 is expected to include {:error => "Project & Group can not be assigned at the same time"}5526 when only project is set5527 is expected not to include {:error => "Project & Group can not be assigned at the same time"}5528 when only group is set5529 is expected not to include {:error => "Project & Group can not be assigned at the same time"}5530 #exportable5531 when the exportable is a project5532 is expected to eq #<Project id:594 group420/project-607>>5533 when the exportable is a group5534 is expected to eq #<Group id:2576 @group420>5535 #retrieve_upload5536 is expected to be present5537 #exportable=5538 when the given argument is a project5539 assigns the project and unassigns the group5540 when the given argument is a group5541 assigns the group and unassigns the project5542 when the given argument is neither a project nor a group5543 raises an error5544 #status5545 when the export is new5546 is expected to have attributes {:status => 0}5547 and it fails5548 is expected to have attributes {:status => -1}5549 when the export starts5550 is expected to have attributes {:status => 1}5551 when the export is running5552 and it finishes5553 is expected to have attributes {:status => 2}5554 and it fails5555 is expected to have attributes {:status => -1}5556 associations5557 is expected to belong to project required: false5558 is expected to belong to group required: false5559 is expected to belong to author class_name => User required: false5560AuditEvents::ExportCsvService5561 includes the appropriate headers5562 data verification5563 ID5564 Author ID5565 Author Name5566 Author Email5567 Entity ID5568 Entity Type5569 Entity Path5570 Target ID5571 Target Type5572 Target Details5573 Action5574 IP Address5575 Created At (UTC)5576 when the author user has been deleted5577 returns CSV without error5578 with preloads5579 preloads fields to avoid N+1 queries5580Todos::Destroy::ConfidentialEpicService5581 #execute5582 removes epic todos for users who can not access the confidential epic5583 when provided epic is not confidential5584 does not remove any todos5585Backup::Repositories5586 #dump5587 calls enqueue for each repository type5588 avoids N+1 database queries5589 command failure5590 enqueue_group raises an error5591 group query raises an error5592 storages5593 calls enqueue for all repositories on the specified storage5594 #restore5595 calls enqueue for each repository type5596 storages5597 calls enqueue for all repositories on the specified storage5598 paths5599 calls enqueue for all descendant repositories on the specified group5600Clusters::EnvironmentsFinder#execute5601 current_user can read cluster environments5602 is expected to include #<Environment id: 5, project_id: 611, name: "environment3", created_at: "2023-08-13 07:46:49.47311600...", merge_request_id: nil, cluster_agent_id: nil, kubernetes_namespace: nil, flux_resource_path: nil>5603 environment is not available5604 is expected not to include #<Environment id: 7, project_id: 613, name: "environment5", created_at: "2023-08-13 07:46:52.00639861...", merge_request_id: nil, cluster_agent_id: nil, kubernetes_namespace: nil, flux_resource_path: nil>5605 current_user cannot read cluster environments5606 is expected to be empty5607EE::PersonalAccessTokensHelper5608 #personal_access_token_expiration_policy_enabled?5609 with `personal_access_token_expiration_policy` licensed5610 when the current user belongs to a managed group5611 when the managed group has a PAT expiry policy5612 is expected to be truthy5613 when the managed group does not have a PAT expiry setting5614 behaves like instance level PAT expiry setting5615 the instance has an expiry setting5616 is expected to be truthy5617 the instance does not have an expiry setting5618 is expected to be falsey5619 when the current user does not belong to a managed group5620 behaves like instance level PAT expiry setting5621 the instance has an expiry setting5622 is expected to be truthy5623 the instance does not have an expiry setting5624 is expected to be falsey5625 with `personal_access_token_expiration_policy` not licensed5626 when the current user belongs to a managed group5627 when the managed group has a PAT expiry policy5628 is expected to be falsey5629 when the managed group does not have a PAT expiry setting5630 behaves like instance level PAT expiry setting5631 the instance has an expiry setting5632 is expected to be falsey5633 the instance does not have an expiry setting5634 is expected to be falsey5635 when the current user does not belong to a managed group5636 behaves like instance level PAT expiry setting5637 the instance has an expiry setting5638 is expected to be falsey5639 the instance does not have an expiry setting5640 is expected to be falsey5641 #personal_access_token_max_expiry_date5642 when the current user belongs to a managed group5643 when the managed group has a PAT expiry policy5644 is expected to eq Wed, 23 Aug 20235645 when the managed group does not have a PAT expiry setting5646 behaves like instance level PAT expiry setting5647 the instance has an expiry setting5648 is expected to eq Sat, 02 Sep 20235649 the instance does not have an expiry setting5650 is expected to be nil5651 when the current user does not belong to a managed group5652 behaves like instance level PAT expiry setting5653 the instance has an expiry setting5654 is expected to eq Sat, 02 Sep 20235655 the instance does not have an expiry setting5656 is expected to be nil5657 #personal_access_token_expiration_policy_licensed?5658 behaves like feature availability5659 when feature is licensed5660 is expected to be truthy5661 with `personal_access_token_expiration_policy` not licensed5662 is expected to be falsey5663 #token_expiry_banner_message5664 when user has an expiring token requiring rotation5665 is expected to eq "At least one of your Personal Access Tokens will expire soon. %{generate_new}"5666 when user has an expired token requiring rotation5667 is expected to eq "At least one of your Personal Access Tokens is expired. %{generate_new}"5668Llm::ChatService5669 # order random5670 #perform5671 when ai features are enabled for the group5672 when user is part of the group5673 when resource is an issue5674 behaves like completion worker sync and async5675 when running synchronously5676DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5677from Rails 7.1 will use the default Ruby implementation.5678You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5679to enable the new behavior now.5680 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5681DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5682from Rails 7.1 will use the default Ruby implementation.5683You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5684to enable the new behavior now.5685 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5686 worker runs synchronously5687 when running asynchronously5688DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5689from Rails 7.1 will use the default Ruby implementation.5690You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5691to enable the new behavior now.5692 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5693DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5694from Rails 7.1 will use the default Ruby implementation.5695You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5696to enable the new behavior now.5697 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5698 worker runs asynchronously with correct params5699 behaves like llm service caches user request5700DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5701from Rails 7.1 will use the default Ruby implementation.5702You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5703to enable the new behavior now.5704 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5705DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5706from Rails 7.1 will use the default Ruby implementation.5707You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5708to enable the new behavior now.5709 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5710 caches response5711 when a special reset message is used5712DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5713from Rails 7.1 will use the default Ruby implementation.5714You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5715to enable the new behavior now.5716 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5717DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5718from Rails 7.1 will use the default Ruby implementation.5719You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5720to enable the new behavior now.5721 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5722 only stores the message in cache5723 behaves like service emitting message for user prompt5724 triggers graphql subscription message5725 when resource is a user5726 behaves like completion worker sync and async5727 when running synchronously5728DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5729from Rails 7.1 will use the default Ruby implementation.5730You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5731to enable the new behavior now.5732 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5733DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5734from Rails 7.1 will use the default Ruby implementation.5735You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5736to enable the new behavior now.5737 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5738 worker runs synchronously5739 when running asynchronously5740DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5741from Rails 7.1 will use the default Ruby implementation.5742You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5743to enable the new behavior now.5744 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5745DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5746from Rails 7.1 will use the default Ruby implementation.5747You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5748to enable the new behavior now.5749 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5750 worker runs asynchronously with correct params5751 behaves like llm service caches user request5752DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5753from Rails 7.1 will use the default Ruby implementation.5754You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5755to enable the new behavior now.5756 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5757DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5758from Rails 7.1 will use the default Ruby implementation.5759You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5760to enable the new behavior now.5761 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5762 caches response5763 when a special reset message is used5764DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5765from Rails 7.1 will use the default Ruby implementation.5766You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5767to enable the new behavior now.5768 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5769DEPRECATION WARNING: ActiveSupport::TimeWithZone.name has been deprecated and5770from Rails 7.1 will use the default Ruby implementation.5771You can set `config.active_support.remove_deprecated_time_with_zone_name = true`5772to enable the new behavior now.5773 (called from execute_all at /builds/edith007/gitlab/lib/gitlab/graphql/subscriptions/action_cable_with_load_balancing.rb:16)5774 only stores the message in cache5775 behaves like service emitting message for user prompt5776 triggers graphql subscription message5777 when gitlab_duo feature flag is disabled5778 returns an error5779 when user is not part of the group5780 returns an error5781Llm::ExplainCodeService5782 # order random5783 #perform5784 when is a member of the group5785 returns an error when messages are too big5786 when feature flag is enabled5787 behaves like service not emitting message for user prompt5788 does not trigger graphql subscription message5789 behaves like completion worker sync and async5790 when running synchronously5791 worker runs synchronously5792 when running asynchronously5793 worker runs asynchronously with correct params5794 behaves like llm service does not cache user request5795 does not cache the request5796 when explain_code_vertex_ai feature flag is disabled5797 behaves like service not emitting message for user prompt5798 does not trigger graphql subscription message5799 behaves like completion worker sync and async5800 when running synchronously5801 worker runs synchronously5802 when running asynchronously5803 worker runs asynchronously with correct params5804 behaves like llm service does not cache user request5805 does not cache the request5806 when explain_code_snippet feature flag is disabled5807 returns an error5808 when explain_code licensed feature is disabled5809 returns an error5810 when experimental features are not enabled5811 returns an error5812 when third-party features are not enabled5813 returns an error5814 when is not a member5815 returns an error if user is not a member of the project5816Epics::WithAccessCheck5817 # order random5818 when required methods are not implemented5819 when `epics_collection` is not defined in inheriting class5820 raises NotImplementedError5821 when `base_epic` is not defined in inheriting class5822 raises NotImplementedError5823 when user has reporter access to all groups5824 returns only visible epics5825 when user has reporter access to base epic's group5826 returns only visible epics5827 when param include_ancestor_groups is false5828 excludes epics from ancestor groups5829 when param include_descendant_groups is false5830 excludes epics from descendant groups5831 when user is not authenticated5832 returns only epics with public access5833 when user has guest access to base epic's group5834 returns only visible epics5835Resolvers::EpicAncestorsResolver5836 behaves like same hierarchy epic ancestors resolver5837 #resolve5838 returns nothing when feature disabled5839 does not return ancestor epics when user has no access to group epics5840 when user has access to the group epics5841 returns non confidential ancestor epics5842 returns confidential ancestors5843 with subgroups5844 returns all ancestors in the correct order5845 does not return parent group epics when include_ancestor_groups is false5846 when user is a guest5847 returns non confidential ancestor epics5848 does not return confidential epics5849 when there is a cross-hierarchy ancestor5850 returns only ancestors up to the last accessible ancestor5851 when user can access also cross-hierarchy ancestor5852 returns all ancestors5853shared/issuable/_approver_suggestion.html.haml5854 when the approval feature is enabled5855 renders the MR approvals promo5856 when the approval feature is not enabled5857 when the check_namespace_plan setting is on5858 when the user is an owner of the root group5859 renders the MR approvals promo5860 when the user is not an owner of the root group5861 renders nothing5862 when the check_namespace_plan setting is off5863 renders nothing5864Projects::WikiRepository5865 # order random5866 on a primary node5867 .with_verification_state5868 returns records with given scope5869 .checksummed5870 returns records with given scope5871 .not_checksummed5872 returns records with given scope5873 #save_verification_details5874 when model record is not part of verifiables scope5875 does not create verification details (PENDING: Skipping because all Project Wiki Repositories are records that can be checksummed)5876 when model_record is part of verifiables scope5877 creates verification details5878 associations5879 is expected to have one wiki_repository_state class_name => Geo::WikiRepositoryState inverse_of => project_wiki_repository5880 when Geo is disabled5881 #save_verification_details5882 when model_record is part of verifiables scope5883 doesn't create verification details5884 behaves like a project has a custom repo5885 .replicables_for_current_secondary5886 without selective sync5887 returns all replicables5888 with selective sync by namespace5889 returns replicables that belong to the namespaces5890 excludes replicables outside the primary key ID range5891 with selective sync by shard5892 returns replicables that belong to the shards5893 excludes replicables outside the primary key ID range5894Security::ScanResultPolicies::PolicyViolationComment5895 # order random5896 #reports5897 existing_comment: nil, expected: []5898 is expected to contain exactly5899 existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected: ["scan_finding"]5900 is expected to contain exactly "scan_finding"5901 existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected: ["scan_finding", "license_scanning"]5902 is expected to contain exactly "scan_finding" and "license_scanning"5903 existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected: ["scan_finding"]5904 is expected to contain exactly "scan_finding"5905 existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected: []5906 is expected to contain exactly5907 #body5908 when there is no existing comment and no reports5909 is expected to be nil5910 report_type_to_add: "scan_finding", report_type_to_remove: nil, existing_comment: nil, expected_body: violations_detected5911 is expected to start with "<!-- policy_violation_comment -->"5912 is expected to include "Policy violation(s) detected"5913 report_type_to_add: "scan_finding", report_type_to_remove: nil, existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected_body: violations_detected5914 is expected to start with "<!-- policy_violation_comment -->"5915 is expected to include "Policy violation(s) detected"5916 report_type_to_add: nil, report_type_to_remove: "scan_finding", existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected_body: violations_detected5917 is expected to start with "<!-- policy_violation_comment -->"5918 is expected to include "Policy violation(s) detected"5919 report_type_to_add: nil, report_type_to_remove: "license_scanning", existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected_body: violations_resolved5920 is expected to start with "<!-- policy_violation_comment -->"5921 is expected to include "Security policy violations have been resolved."5922 #add_report_type5923 report_type: "scan_finding", existing_comment: nil, expected: ["scan_finding"]5924 is expected to contain exactly "scan_finding"5925 report_type: "scan_finding", existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected: ["scan_finding"]5926 is expected to contain exactly "scan_finding"5927 report_type: "scan_finding", existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected: ["scan_finding", "license_scanning"]5928 is expected to contain exactly "scan_finding" and "license_scanning"5929 report_type: "invalid", existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected: ["license_scanning"]5930 is expected to contain exactly "license_scanning"5931 #remove_report_type5932 report_type: "scan_finding", existing_comment: nil, expected: []5933 is expected to contain exactly5934 report_type: "scan_finding", existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected: []5935 is expected to contain exactly5936 report_type: "scan_finding", existing_comment: #<Note note: [FILTERED], noteable_type: "Issue", author_id: nil, created_at: nil, updated_at: nil, project_id: nil, attachment: nil, line_code: nil, commit_id: nil, noteable_id: nil, system: false, st_diff: nil, updated_by_id: nil, type: nil, position: nil, original_position: nil, resolved_at: nil, resolved_by_id: nil, discussion_id: nil, note_html: nil, cached_markdown_version: nil, change_position: nil, resolved_by_push: nil, review_id: nil, confidential: nil, last_edited_at: nil, internal: false, id: nil, namespace_id: nil>, expected: ["license_scanning"]5937 is expected to contain exactly "license_scanning"5938ReleaseHighlight5939 .load_items5940 whats new for current tier only5941 returns all items5942 whats new for current tier only5943 with no license5944 returns items with available_in=Free5945 with Starter license5946 returns items with available_in=Free5947 with Premium license5948 returns items with available_in=Premium5949 with Ultimate license5950 returns items with available_in=Ultimate5951 .current_package5952 returns package for no license5953 returns package for Starter license5954 returns package for Premium license5955 returns package for Ultimate license5956DependencyProxy::Packages::Setting5957 # order random5958 validations5959 is expected to validate that :project cannot be empty/falsy5960 for maven registry url5961 url: "http://test.maven", valid: true, error_message: nil5962 is expected to be valid5963 url: "https://test.maven", valid: true, error_message: nil5964 is expected to be valid5965 url: "git://test.maven", valid: false, error_message: "Maven external registry url is blocked: Only allowed schemes are http, https"5966 is expected to contain exactly "Maven external registry url is blocked: Only allowed schemes are http, https"5967 url: nil, valid: false, error_message: "At least one field of [\"maven_external_registry_url\"] must be present"5968 is expected to contain exactly "At least one field of [\"maven_external_registry_url\"] must be present"5969 url: "", valid: false, error_message: "At least one field of [\"maven_external_registry_url\"] must be present"5970 is expected to contain exactly "At least one field of [\"maven_external_registry_url\"] must be present"5971 url: "http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", valid: false, error_message: "Maven external registry url is too long (maximum is 255 characters)"5972 is expected to contain exactly "Maven external registry url is too long (maximum is 255 characters)"5973 for maven credentials5974 maven_username: "user", maven_password: "password", valid: true, error_message: nil5975 is expected to be valid5976 maven_username: "", maven_password: "", valid: true, error_message: nil5977 is expected to be valid5978 maven_username: "", maven_password: nil, valid: true, error_message: nil5979 is expected to be valid5980 maven_username: nil, maven_password: "", valid: true, error_message: nil5981 is expected to be valid5982 maven_username: nil, maven_password: "password", valid: false, error_message: "Maven external registry username can't be blank"5983 is expected to contain exactly "Maven external registry username can't be blank"5984 maven_username: "user", maven_password: nil, valid: false, error_message: "Maven external registry password can't be blank"5985 is expected to contain exactly "Maven external registry password can't be blank"5986 maven_username: "", maven_password: "password", valid: false, error_message: "Maven external registry username can't be blank"5987 is expected to contain exactly "Maven external registry username can't be blank"5988 maven_username: "user", maven_password: "", valid: false, error_message: "Maven external registry password can't be blank"5989 is expected to contain exactly "Maven external registry password can't be blank"5990 maven_username: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", maven_password: "password", valid: false, error_message: "Maven external registry username is too long (maximum is 255 characters)"5991 is expected to contain exactly "Maven external registry username is too long (maximum is 255 characters)"5992 maven_username: "user", maven_password: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", valid: false, error_message: "Maven external registry password is too long (maximum is 255 characters)"5993 is expected to contain exactly "Maven external registry password is too long (maximum is 255 characters)"5994 relationships5995 is expected to belong to project required: false inverse_of => dependency_proxy_packages_setting5996 .enabled5997 is expected to contain exactly #<DependencyProxy::Packages::Setting created_at: "2023-08-13 07:47:24.943834040 +0000", updated_at: "...stry_password_iv: nil, maven_external_registry_username: nil, maven_external_registry_password: nil>5998Gitlab::Usage::Metrics::Instrumentations::CountDeploymentApprovalsMetric5999 for all time frame6000 behaves like a correct instrumented metric value and query6001 behaves like a correct instrumented metric value6002 has correct value6003 behaves like a correct instrumented metric query6004 has correct generate query6005 for 28d time frame6006 behaves like a correct instrumented metric value and query6007 behaves like a correct instrumented metric value6008 has correct value6009 behaves like a correct instrumented metric query6010 has correct generate query6011Gitlab::ExclusiveLease6012 #try_obtain_with_ttl6013 cannot obtain twice before the lease has expired6014 can obtain after the lease has expired6015 #same_uuid?6016 returns true for an existing lease6017 returns false for a lease that does not exist6018RemoteDevelopment::Workspaces::Reconcile::Input::ParamsValidator6019 # order random6020 when original_params are valid6021 returns an ok Result containing the original value which was passed6022 when error_details nil6023 returns an ok Result containing the original value which was passed6024 when original_params are invalid6025 when missing required entries6026 behaves like err result6027 returns an err Result containing error details nil original_params and an error6028 for workspace_agent_infos6029 when not an array6030 behaves like err result6031 returns an err Result containing error details nil original_params and an error6032 for update_type6033 when not "partial" or "full"6034 behaves like err result6035 returns an err Result containing error details nil original_params and an error6036 for error_details6037 when error_type is missing6038 behaves like err result6039 returns an err Result containing error details nil original_params and an error6040 when error_type has an invalid value6041 behaves like err result6042 returns an err Result containing error details nil original_params and an error6043 for termination_progress6044 when termination_progress is invalid6045 behaves like err result6046 returns an err Result containing error details nil original_params and an error6047Elastic::Latest::EpicClassProxy6048 # order random6049 #groups_filter6050 when the user is allowed to read confidential epics for the top-level group6051 returns the original query_hash6052 when the user is not allowed to read confidential epics for the top-level group6053 returns a filter for confidential: false6054 if the user is able to read confidential epics from a child group6055 has a filter for either confidential:false OR (confidential:true AND group_id is authorized)6056 #elastic_search6057 calls search with the correct arguments6058 when the user is authorized to view the group6059 calls search with the correct arguments6060 #allowed?6061 when there is no group6062 returns false6063 when there is a group6064 returns false if the user is not authorized to view epics for the group6065 when the user is authorized to view the group6066 returns true6067 #find_group_by_id6068 when the group_ids array contains a group6069 returns the group6070 when the group_ids array does not contain a valid group id6071 returns nil6072 when the group_ids array is not passed6073 returns nil6074 routing6075 is equal to root_ancestor_id6076EE::API::Entities::DeploymentExtended6077 #as_json6078 includes fields from deployment entity6079 includes pending_approval_count6080 includes approvals6081 includes approval summary6082Resolvers::Geo::DependencyProxyManifestRegistriesResolver6083 # order random6084 behaves like a Geo registries resolver6085 #resolve6086 when the parent object is the current node6087 when the user has permission to view Geo data6088 when admin mode is enabled6089 when the ids argument is null6090 returns registries, in order6091 when the ids argument is present6092 returns the requested registries, in order6093 when the replication_state argument is present6094 returns registries with requested replication state, in order6095 with verification enabled6096 when the verification_state argument is present6097 returns registries with requested verification state, in order6098 with verification disabled6099 when the verification_state argument is present6100 raises ArgumentError (PENDING: Skipping because verification is enabled for DependencyProxy::Manifest)6101 when admin mode is disabled6102 returns nothing6103 when the user does not have permission to view Geo data6104 returns nothing6105 when the parent object is not the current node6106 when the user has permission to view Geo data6107 returns nothing, because we can't query other nodes' tracking databases6108UpdateOrchestrationPolicyConfiguration6109 .update_policy_configuration6110 when policy is valid6111 updates configuration.configured_at to the current time6112 executes SyncScanResultPoliciesService6113 executes ProcessRuleService for each policy6114 with one schedule rule per policy6115 creates a rule schedule for each schedule rule in the scan execution policies6116 deletes existing rule schedules6117 with multiple schedule rules per policy6118 creates a rule schedule for each schedule rule in the scan execution policies6119 deletes existing rule schedules6120 when policy is invalid6121 does not execute process for any policy6122SystemCheck::Geo::HttpConnectionCheck6123 skip?6124 skips when Geo is disabled6125 skips when Geo is enabled but its a primary node6126 multi_check6127 connection success6128 puts yes if check works6129 redirects6130 connection succeeds after 9 redirects6131 puts yes6132 connection would succeed after 10 redirects6133 puts no6134 connection errored6135 puts no if check errored6136 connection exceptions6137 calls try_fixing_it for econnrefused6138 calls try_fixing_it for econnrefused6139 calls try_fixing_it for openssl errors6140Notes::PostProcessService6141 #execute6142 analytics6143 invokes Analytics::RefreshCommentsData6144 for audit events6145 when note author is a project bot6146 audits with correct name6147 does not persist the audit event to database6148 when note author is not a project bot6149 does not invoke Gitlab::Audit::Auditor6150 does not create an audit event6151Dast::Branch6152 when repository does not exist6153 #name6154 returns nil6155 #exists6156 returns false6157 when repository exists6158 #name6159 returns profile.branch_name6160 when branch exists6161 returns true6162 when branch does not exist6163 returns false6164LabelsHelper6165 #render_label6166 with scoped labels disabled6167 does not include link to scoped documentation6168 #wrap_label_html6169 when label is scoped label6170 html-escapes the label color6171 when label is not scoped label6172 does not include the color6173 #label_dropdown_data6174 when edit_context is a project6175 is expected to eq {:default_label=>"Labels", :field_name=>"label_name[]", :namespace_path=>"namespace631", :project_id=...h=>"project-685", :scoped_labels=>"false", :show_any=>"true", :show_no=>"true", :toggle=>"dropdown"}6176 when edit_context is a group6177 is expected to eq {:default_label=>"Labels", :field_name=>"label_name[]", :group_id=>2831, :scoped_labels=>"false", :show_any=>"true", :show_no=>"true", :toggle=>"dropdown"}6178 #labels_function_introduction6179 when epics is unavailable6180 is expected to eq "Labels can be applied to issues and merge requests. Group labels are available for any project within the group."6181 when epics is available6182 is expected to eq "Labels can be applied to issues, merge requests, and epics. Group labels are available for any project within the group."6183Geo::MoveRepositoryService6184 #execute6185 renames the project repositories6186 returns false when project repository can not be renamed6187 returns false when wiki repository can not be renamed6188 when design repository exists6189 returns false when design repository can not be renamed6190 wiki disabled6191 tries to move wiki even if it is not enabled without reporting error6192Ci::Sources::Project6193 Relations6194 is expected to belong to pipeline required: true6195 is expected to belong to source_project class_name => ::Project required: true6196 Validations6197 is expected to validate that :pipeline_id is case-sensitively unique within the scope of :source_project_id6198 loose foreign key on ci_sources_projects.source_project_id6199 behaves like cleanup by a loose foreign key6200 cleans up (delete or nullify) the model6201Elastic::MaintainElasticsearchOnGroupUpdate6202 # order random6203 callbacks6204 .after_create_commit6205 when elastic is enabled and Wiki uses separate indices6206 when Wiki uses separate indices and feature maintain_group_wiki_index is enabled6207 calls ElasticWikiIndexerWorker6208 when Wiki does not use separate indices6209 does not call ElasticWikiIndexerWorker6210 when feature flag maintain_group_wiki_index is disabled6211DEPRECATION WARNING: Invalid Feature Flag maintain_group_wiki_index stubbed (called from each at /builds/edith007/gitlab/spec/support/helpers/stub_feature_flags.rb:39)6212 does not call ElasticWikiIndexerWorker6213 when elasticsearch is disabled6214 does not call ElasticWikiIndexerWorker6215 .after_update_commit6216 when should_index_group_wiki? is true6217 calls ElasticWikiIndexerWorker when group visibility_level is changed6218 does not call ElasticWikiIndexerWorker when attribute other than visibility_level is changed6219 when should_index_group_wiki? is false6220 does not call ElasticWikiIndexerWorker6221 when visibility_level is changed6222 calls Elastic::ProcessBookkeepingService.maintain_indexed_group_associations!6223 when visibility_level is not changed6224 does not call Elastic::ProcessBookkeepingService.maintain_indexed_group_associations!6225 .after_destroy_commit6226 enqueues Search::ElasticGroupAssociationDeletionWorker6227 when should_index_group_wiki? is true6228 calls Search::Wiki::ElasticDeleteGroupWikiWorker6229 when should_index_group_wiki? is false6230 does not call Search::Wiki::ElasticDeleteGroupWikiWorker6231Boards::Epics::CreateService6232 #execute6233 when epics feature is available6234 behaves like success epic creation6235 creates an epic6236 is expected to change `Epic.count` by 16237 when board is in an ancestor group6238 behaves like success epic creation6239 creates an epic6240 is expected to change `Epic.count` by 16241 when arguments are not valid6242 when board id is bogus6243 behaves like epic creation error6244 does not create epic6245 when list id is for a different board6246 behaves like epic creation error6247 does not create epic6248 when board id is for a different group6249 behaves like epic creation error6250 does not create epic6251 when epics feature is not available6252 behaves like epic creation error6253 does not create epic6254GroupMergeRequestApprovalSetting6255 Associations6256 is expected to belong to group required: false6257 Validations6258 is expected to validate that :group cannot be empty/falsy6259 is expected not to allow :allow_author_approval to be ‹nil›6260 is expected to allow :allow_author_approval to be ‹true› or ‹false›6261 is expected not to allow :allow_committer_approval to be ‹nil›6262 is expected to allow :allow_committer_approval to be ‹true› or ‹false›6263 is expected not to allow :allow_overrides_to_approver_list_per_merge_request to be ‹nil›6264 is expected to allow :allow_overrides_to_approver_list_per_merge_request to be ‹true› or ‹false›6265 is expected not to allow :retain_approvals_on_push to be ‹nil›6266 is expected to allow :retain_approvals_on_push to be ‹true› or ‹false›6267 is expected not to allow :require_password_to_approve to be ‹nil›6268 is expected to allow :require_password_to_approve to be ‹true› or ‹false›6269 .find_or_initialize_by_group6270 with no existing setting6271 is expected to be a new record6272 with existing setting6273 is expected to eq #<GroupMergeRequestApprovalSetting created_at: "2023-08-13 07:48:07.427579777 +0000", updated_at: "20..._per_merge_request: false, retain_approvals_on_push: false, require_password_to_approve: [FILTERED]>6274Ci::Minutes::RefreshCachedDataService6275 #execute6276 when root_namespace is nil6277 does nothing6278 when user purchases more ci minutes for a given namespace6279 updates relevant pending builds6280 expires the CachedQuota6281 when running multiple updates6282 runs 2 SQL update queries6283GroupSaml::Identity::DestroyService6284 prevents future Group SAML logins6285 does not use a transaction6286 uses a transaction when transactional is set6287 removes access to the group6288 doesn't remove the last group owner6289 logs an audit event6290IncidentManagement::PendingEscalations::Issue6291 # order random6292 shared pending escalation features6293 is expected to be valid6294 validations6295 is expected to validate that :process_at cannot be empty/falsy6296 is expected to validate that :rule_id cannot be empty/falsy6297 is expected to delegate #project to the #issue object6298 is expected to validate that :rule_id is case-sensitively unique within the scope of :issue_id6299 associations6300 is expected to belong to issue required: false6301 is expected to belong to rule required: false6302 scopes6303 with escalations scheduled for various times6304 .processable6305 is expected to contain exactly #<IncidentManagement::PendingEscalations::Issue id: 6, rule_id: 21, issue_id: 279, process_at: "2023-...reated_at: "2023-08-13 07:48:14.137745558 +0000", updated_at: "2023-08-13 07:48:14.137745558 +0000"> and #<IncidentManagement::PendingEscalations::Issue id: 7, rule_id: 21, issue_id: 280, process_at: "2023-...reated_at: "2023-08-13 07:48:14.193256057 +0000", updated_at: "2023-08-13 07:48:14.193256057 +0000">6306 .upcoming6307 is expected to contain exactly #<IncidentManagement::PendingEscalations::Issue id: 6, rule_id: 21, issue_id: 279, process_at: "2023-...reated_at: "2023-08-13 07:48:14.137745558 +0000", updated_at: "2023-08-13 07:48:14.137745558 +0000">, #<IncidentManagement::PendingEscalations::Issue id: 7, rule_id: 21, issue_id: 280, process_at: "2023-...reated_at: "2023-08-13 07:48:14.193256057 +0000", updated_at: "2023-08-13 07:48:14.193256057 +0000">, and #<IncidentManagement::PendingEscalations::Issue id: 8, rule_id: 21, issue_id: 281, process_at: "2023-...reated_at: "2023-08-13 07:48:14.247139116 +0000", updated_at: "2023-08-13 07:48:14.247139116 +0000">6308 .for_target6309 is expected to contain exactly #<IncidentManagement::PendingEscalations::Issue id: 10, rule_id: 23, issue_id: 283, process_at: "2023...reated_at: "2023-08-13 07:48:14.756188044 +0000", updated_at: "2023-08-13 07:48:14.756188044 +0000">6310 .delete_by_target6311 removes the escalations for the provided target(s)6312 #escalatable6313 is expected to eq #<IncidentManagement::IssuableEscalationStatus id: 17, created_at: "2023-08-13 07:48:15.195054785 +00...785 +0000", issue_id: 276, policy_id: nil, escalations_started_at: nil, resolved_at: nil, status: 0>6314 .class_for_check_worker6315 is expected to eq IncidentManagement::PendingEscalations::IssueCheckWorker6316 #type6317 is expected to eq :incident6318Gitlab::Auth::GroupSaml::MembershipEnforcer6319 allows adding a user linked to the SAML account as member6320 does not allow adding a user not linked to the SAML account as member6321 does not allow adding a user with an inactive scim identity for the group6322 does allow adding a user with an active scim identity for the group6323 allows adding a project bot as member6324 when skip_saml_identity_destroy_during_scim_deprovision disabled6325 allows adding a user with an inactive scim identity for the group6326Gitlab::RackAttack::Request6327 #should_be_skipped?6328 super_value: true, geo: true6329 returns true if any condition is true6330 super_value: true, geo: false6331 returns true if any condition is true6332 super_value: false, geo: true6333 returns true if any condition is true6334 super_value: false, geo: false6335 returns true if any condition is true6336 #geo?6337 env: {}, geo_auth_attempt: false, expected: false6338 is expected to equal false6339 env: {}, geo_auth_attempt: true, expected: false6340 is expected to equal false6341 env: {"HTTP_AUTHORIZATION"=>"secret"}, geo_auth_attempt: false, expected: false6342 is expected to equal false6343 env: {"HTTP_AUTHORIZATION"=>"secret"}, geo_auth_attempt: true, expected: true6344 is expected to equal true6345MergeRequests::CloseService6346 # order random6347 #execute6348 executes the close service6349 when a temporary unapproval is needed for the MR6350 removes the unmergeable flag after the service is run6351 when the service fails6352 does not remove the unmergeable flag6353 for audit events6354 when licensed6355 does not log audit event if operation fails6356 does not log audit event if operation results in no change6357 when operation succeeds6358 logs an audit event6359 logs the audit event info6360 calls the audit method with the event type6361 when not licensed6362 does not log audit event6363Gitlab::Ci::Reports::LicenseScanning::Dependency6364 object equality6365 when all fields are the same6366 is expected to eql #<Gitlab::Ci::Reports::LicenseScanning::Dependency:0x00007e418cff9b40 @name="bundler", @package_manager="rubygems", @path=nil, @purl_type="gem", @version="1.0.0">6367 implies hashes match6368 when name fields are different6369 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::Dependency:0x00007e4174582670 @name="another-name", @package_manager="rubygems", @path=nil, @purl_type="gem", @version="1.0.0">6370 implies hashes do not match6371 when package_manager fields are different6372 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::Dependency:0x00007e41765c8ee8 @name="bundler", @package_manager="another-name", @path=nil, @purl_type="gem", @version="1.0.0">6373 implies hashes do not match6374 when purl_type fields are different6375 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::Dependency:0x00007e418ddceef0 @name="bundler", @package_manager="rubygems", @path=nil, @purl_type="another-name", @version="1.0.0">6376 implies hashes do not match6377 when version fields are different6378 is expected not to eql #<Gitlab::Ci::Reports::LicenseScanning::Dependency:0x00007e41794a4848 @name="bundler", @package_manager="rubygems", @path=nil, @purl_type="gem", @version="another-name">6379 implies hashes do not match6380 set6381 when attempting to add an object that already exists in the set6382 does not add a duplicate object6383 #blob_path_for6384 when a project, sha and path are provided6385 is expected to eql "/namespace651/project-705/-/blob/b83d6e391c22777fca1ed3012fce84f633d7fed0/Gemfile.lock"6386 when a path is not available6387 is expected to be nil6388 when a project is not provided6389 is expected to eql "Gemfile.lock"6390 when a sha is not provided6391 is expected to eql "/namespace653/project-707/-/blob/master/Gemfile.lock"6392Security::Ingestion::Tasks::IngestFindingEvidence6393 #execute6394 creates finding evidence for the new records6395ProtectedBranch::MergeAccessLevel6396 # order random6397 #check_access6398 when user is assigned6399 when current_user is the user6400 is expected to eq true6401 when current_user is another user6402 is expected to eq false6403 when group is assigned6404 when current_user is in the group6405 is expected to eq true6406 when current_user is not in the group6407 is expected to eq false6408Dora::PerformanceScore6409 # order random6410 is expected to validate that :project cannot be empty/falsy6411 is expected to validate that :date cannot be empty/falsy6412 is expected to belong to project required: false6413 is expected to validate that :date is case-sensitively unique within the scope of :project_id6414 scopes6415 .for_projects6416 includes only the given projects6417 .for_dates6418 when given a single date6419 includes only the scores from that given date6420 when given a date range6421 includes only the scores from that given date6422 .group_counts_by_metric6423 when given a valid metric6424 groups the metrics6425 combining scopes6426 filters properly6427 .refresh!6428 creates new record with calculated scores6429 when record already exists6430 updates existing one6431UserPermissionExportUpload6432 associations6433 is expected to belong to user required: false6434 validations6435 is expected to validate that :status cannot be empty/falsy6436 when status is finished6437 validates file presence6438 state transitions6439 status: 0, can_start: true, can_finish: false, can_fail: true6440 adheres to state machine rules6441 status: 1, can_start: false, can_finish: true, can_fail: true6442 adheres to state machine rules6443 status: 2, can_start: false, can_finish: false, can_fail: false6444 adheres to state machine rules6445 status: 3, can_start: false, can_finish: false, can_fail: false6446 adheres to state machine rules6447Mutations::SecurityPolicy::CreateSecurityPolicyProject6448 #resolve6449 when both fullPath and projectPath are not provided6450 raises exception6451 for project6452 behaves like creates security policy project6453 when licensed feature is available6454 when user is an owner of the container6455 returns project6456 when user is not an owner6457 raises exception6458 when feature is not licensed6459 raises exception6460 for namespace6461 behaves like creates security policy project6462 when licensed feature is available6463 when user is an owner of the container6464 returns project6465 when user is not an owner6466 raises exception6467 when feature is not licensed6468 raises exception6469Resolvers::Vulnerabilities::ScannersResolver6470 #resolve6471 when listing scanners for group6472 is expected to contain exactly #<Representation::VulnerabilityScannerEntry(#<Vulnerabilities::Scanner id: 16, created_at: "2023-08-1...t_id: 692, external_id: "find_sec_bugs_17", name: "Find Security Bugs", vendor: "Security Vendor">)>6473 when listing scanners for project6474 is expected to contain exactly #<Representation::VulnerabilityScannerEntry(#<Vulnerabilities::Scanner id: 17, created_at: "2023-08-1...t_id: 693, external_id: "find_sec_bugs_18", name: "Find Security Bugs", vendor: "Security Vendor">)>6475 when listing scanners for instance dashboard6476 is expected to contain exactly #<Representation::VulnerabilityScannerEntry(#<Vulnerabilities::Scanner id: 17, created_at: "2023-08-1...t_id: 693, external_id: "find_sec_bugs_18", name: "Find Security Bugs", vendor: "Security Vendor">)>6477EE::Ci::PipelinesHelper6478 #show_cc_validation_alert?6479 user_not_verified?: true, has_required_cc?: false, result: true6480 is expected to eq true6481 user_not_verified?: false, has_required_cc?: true, result: false6482 is expected to eq false6483 user_not_verified?: true, has_required_cc?: true, result: false6484 is expected to eq false6485 user_not_verified?: false, has_required_cc?: false, result: false6486 is expected to eq false6487 without current user6488 is expected to be falsy6489 when not in dev env or com6490 is expected to be falsy6491Autocomplete::ProjectInvitedGroupsFinder6492 #execute6493 raises ActiveRecord::RecordNotFound if the project does not exist6494 raises ActiveRecord::RecordNotFound if the user is not authorized to see the project6495 returns an empty relation without a project ID6496 with a project the user is authorized to see6497 returns groups invited to the project that the user can see6498AlertManagement::ProcessPrometheusAlertService6499 #execute6500 when alert payload is valid6501 behaves like does not create or delete any escalations6502 is expected to not change `IncidentManagement::PendingEscalations::Alert.count` and not change `IncidentManagement::PendingEscalations::Issue.count`6503 with escalation policies feature enabled6504 is expected to receive perform_async(a kind of Integer) 1 time6505 with an existing alert6506 behaves like does not create or delete any escalations6507 is expected to not change `IncidentManagement::PendingEscalations::Alert.count` and not change `IncidentManagement::PendingEscalations::Issue.count`6508 with resolving payload6509 is expected to change `target.pending_escalations.reload.count` from 1 to 06510 with HTTP integration provided6511 ignores the custom mapping6512 with custom mappings feature enabled6513 respects the custom mapping6514IssueEntity6515 when with_blocking_issues option is not present6516 exposes blocking issues6517 when with_blocking_issues option is present6518 exposes blocking issues6519 exposes only iid and web_url6520Types::VulnerabilityRequestType6521 is expected to eq "VulnerabilityRequest"6522 is expected to have graphql fields :body, :method, :url, and :headers6523 checking field contents6524 evidence.request fields6525 checks the contents of the fields6526 evidence.supportingMessages[].request fields6527 checks the contents of the fields6528Vulnerabilities::Statistics::AdjustmentService6529 .execute6530 instantiates the service object for given project ids and calls `execute` on them6531 #execute6532 when more than 1000 projects is provided6533 raises error6534 when there is no vulnerability_statistic record for project6535 creates a new record6536 sets the correct values for the record6537 when there is already a vulnerability_statistic record for project6538 does not create a new record in database6539 sets the correct values for the record6540Geo::ProjectRegistryStatusFinder6541 #all_projects6542 returns all registries6543 #synced_projects6544 returns only synced registry6545 #pending_projects6546 returns only pending registry6547 #failed_projects6548 returns only failed registry6549Arkose::RecordUserDataService6550 # order random6551 #execute6552 adds new custom attributes to the user6553 adds arkose data to custom attributes6554 stores risk scores in abuse trust scores6555 returns a success response6556 when response is from failed verification6557 does not add any custom attributes6558 does not store the arkose risk scores in abuse trust scores6559 returns an error response6560 when user is nil6561 returns an error response6562PackageMetadata::AdvisoryDataObject6563 # order random6564 .create6565 is expected to be a kind of PackageMetadata::AdvisoryDataObject6566 is expected to match (have attributes {:advisory_xid => "d4f176d6-0a07-46f4-9da5-22df92e5efa0", :affected_packages => [(have attributes {:affec....gov/vuln/detail/CVE-2019-10445", "https://jenkins.io/security/advisory/2019-10-16/#SECURITY-1607"]})6567 when an attribute is missing6568 and it is on the advisory hash6569 attribute: :title, required: false6570 is expected not to raise Exception6571 attribute: :description, required: false6572 is expected not to raise Exception6573 attribute: :cvvs_v2, required: false6574 is expected not to raise Exception6575 attribute: :cvvs_v3, required: false6576 is expected not to raise Exception6577 attribute: :urls, required: false6578 is expected not to raise Exception6579 attribute: :identifiers, required: false6580 is expected not to raise Exception6581 attribute: :id, required: true6582 is expected to raise ArgumentError6583 attribute: :source, required: true6584 is expected to raise ArgumentError6585 and it is packages6586 is expected to raise ArgumentError6587Gitlab::ContributionAnalytics::PostgresqlDataCollector6588 # order random6589 returns correct data6590Geo::ContainerRepositoryRegistryRemovalService6591 # order random6592 #execute6593 when the registry record exists6594 removes the container repository and the registry6595 when something went wrong removing the container repository6596 logs an error message6597 does not remove the upload registry record6598 when the registry record does not exist6599 removes the container repository6600Resolvers::ProductAnalytics::VisualizationResolver6601 # order random6602 #resolve6603 returns the visualization object6604 when the visualization does not exist6605 raises an error6606Namespaces::FreeUserCap6607 .over_user_limit_mails_enabled?6608 when feature flag is enabled6609 is expected to be truthy6610 when feature flag is disabled6611 reflects the state of the feature flag6612 .dashboard_limit6613 when set to default6614 is expected to eq 06615 when not set to default6616 is expected to eq 56617 .owner_access?6618 when user is not provided6619 returns false6620 when user does not have owner access6621 returns false6622 when user has owner access6623 returns true6624 .non_owner_access?6625 when user is not provided6626 returns false6627 when user does not have owner access6628 returns true6629 when user has owner access6630 returns false6631Resolvers::Ci::Catalog::ResourcesResolver6632 # order random6633 #resolve6634 with an authorized user6635 returns all CI Catalog resources visible to the current user in the namespace6636 returns all resources sorted by descending created date when given no sort param6637 returns all CI Catalog resources sorted by descending name when there is a sort parameter6638 when the current user cannot read the namespace catalog6639 raises ResourceNotAvailable6640 when the namespace catalog feature is not available6641 raises ResourceNotAvailable6642IssuableExportCsvWorker6643 when issuable type is :requirement6644 emails a CSV6645 calls the Requirements export service6646 calls the Work Items finder6647 with selected fields are present6648 calls the Requirements export service with selected fields6649 with record not found6650 an error is logged if user not found6651 an error is logged if project not found6652 when issuable type is :issue6653 when issuable type is :issue6654 calls Issues::ExportCsvService with specific parameters6655 when issuable type is not :requirement6656 with a valid type6657 does not raise an exception6658 with an invalid type6659 raises an exception with expected message6660Sbom::Ingestion::Tasks::IngestComponents6661 # order random6662 #execute6663 is idempotent6664 sets the component_id6665 behaves like bulk insertable task6666 when the validation fails6667 can generate error messages correctly6668 when there are duplicate components6669 fills in component_id for both records6670 when components have the same name but different purl_types6671 creates two distinct components6672 when there is a pypi component6673 normalizes component name6674RemoteDevelopment::Workspaces::Reconcile::Output::DesiredConfigGenerator6675 # order random6676 #generate_desired_config6677 when desired_state results in started=true6678 returns expected config6679 when desired_state results in started=false6680 returns expected config6681 when network policy is disabled for agent6682 returns expected config without network policy6683 when DevfileParser returns empty array6684 returns an empty array6685Arkose::BlockedUsersReportWorker#perform6686 when the feature flag arkose_labs_signup_challenge is disabled6687 does not report the blocked users6688 when the feature flag arkose_labs_signup_challenge is enabled6689 when the blocked users are reported6690 reports the blocked users6691layouts/_page6692 # order random6693 EE tanuki_bot_chat6694 when ::Gitlab::Llm::TanukiBot.enabled_for?(user) is true6695 renders #js-tanuki-bot-chat-app6696 when ::Gitlab::Llm::TanukiBot.enabled_for?(user) is false6697 does not render #js-tanuki-bot-chat-app6698Gitlab::StatusPage::Storage::S3Client6699 # order random6700 #recursive_delete6701 when successful6702 sends keys for batch delete6703 returns true6704 list_object exeeds upload limit6705 respects upload limit6706 when list_object returns no objects6707 does not attempt to delete6708 when failed6709 raises an error6710 #list_object_keys6711 when successful6712 returns keys from bucket6713 when exceeds upload limits6714 returns result at max size6715 when list_object returns no objects6716 returns an empty set6717 when failed6718 raises an error6719 #delete_object6720 returns true6721 when failed6722 raises an error6723 #upload_object6724 when successful6725 returns true6726 when failed6727 raises an error6728Gitlab::OmniauthInitializer6729 .full_host6730 with non-proxied request6731 is expected to eq "http://localhost/test"6732 with a proxied request6733 for a non-existing node6734 is expected to eq "http://localhost/test"6735 for an existing node6736 is expected to eq "http://localhost/geonode_url"6737SortingHelper6738 #sort_direction_icon6739 returns lowest for weight6740 behaves like non-ee for other sort values6741 #can_sort_by_issue_weight?6742 when user is viewing issues6743 when issue_weights licensed feature is enabled6744 is expected to be truthy6745 when issue_weights licensed feature is disabled6746 is expected to be falsey6747 when user is not viewing issues6748 is expected to be falsey6749PackageMetadata::DataObject6750 # order random6751 ==6752 when all attributes are equal6753 is expected to eq true6754 when an attribute is not equal6755 and it is name6756 and the purl_type is not pypi6757 is expected to eq false6758 and the purl_type is pypi6759 is expected to eq false6760 and it is version6761 is expected to eq false6762 and it is license6763 is expected to eq false6764 and it is purl_type6765 is expected to eq false6766 .create6767 when arr is well-formed6768 is expected to eq #<PackageMetadata::DataObject:0x00007e4192a2f768 @name="foo", @version="v1.0.0", @license="MIT", @purl_type="npm">6769 when arr is not well-formed6770 with less than 3 fields6771 is expected to eq nil6772 warns about the error6773 and field is longer than expected6774 and it is package name6775 is expected to eq 2556776 and it is package version6777 is expected to eq 2556778 and it is license6779 is expected to eq 506780Gitlab::Insights::Reducers::LabelCountPerPeriodReducer6781 returns issuables with only the needed fields6782 avoids N + 1 queries6783GitlabSubscriptionHistory6784 .create_from_change6785 when supplied an invalid change type6786 raises an error6787 when the required attributes are not present6788 returns an error6789 when supplied extra attributes than exist on the history table6790 saves the tracked attributes without error6791PipelineSerializer6792 when pipeline contains failed bridge jobs6793 serializes bridge job correctly6794 N+1 checks6795 with protected environments6796 executes minimal queries to fetch all related protected environments6797Gitlab::Insights::Loader6798 when issuable data source is requested6799 when loading data for an issuable chart6800 returns the serialized data6801 when the legacy format query params are given6802 returns the serialized data6803 when requesting a different data source6804 raises error6805 when dora data source is requested6806 returns the serialized data6807Security::GeneratePolicyViolationCommentWorker6808 # order random6809 #perform6810 calls Security::ScanResultPolicies::GeneratePolicyViolationCommentService#execute6811 behaves like an idempotent worker6812 is labeled as idempotent6813 performs multiple times sequentially without raising an exception6814 when feature flag "security_policy_approval_notification" is disabled6815 does nothing6816 with a non-existing merge request6817 does nothing6818 when the service returns an error6819 logs the error6820Vulnerabilities::Remediation6821 is expected to belong to project required: true6822 is expected to have many finding_remediations class_name => Vulnerabilities::FindingRemediation6823 is expected to have many findings through finding_remediations6824 is expected to validate that :summary cannot be empty/falsy6825 is expected to validate that :file cannot be empty/falsy6826 is expected to validate that :checksum cannot be empty/falsy6827 is expected to validate that the length of :summary is at most 2006828 .by_checksum6829 is expected to contain exactly #<Vulnerabilities::Remediation id: 2, created_at: "2023-08-13 07:49:09.224603477 +0000", updated_at: ...3-45749-fv8mti", checksum: "d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da...", project_id: 726>6830 #diff6831 is expected to eq "foo"6832Labels::PromoteService6833 #execute6834 updates board scopes to the new promoted label6835Gitlab::Vulnerabilities::Parser6836 .fabricate6837 with standard categories6838 returns a Standard Vulnerability6839 with container scanning as category6840 returns a Scanning Vulnerability6841 with cluster image scanning as category6842 returns a Scanning Vulnerability6843 with an invalid category6844 raises an exception6845AddNamespaceAncestryToIssuesMapping6846 behaves like a deprecated Advanced Search migration6847 #migrate6848 logs a message and halts the migration6849 #completed?6850 returns false6851 #obsolete?6852 returns true6853Users::CreateService6854 #execute6855 audit events6856 when licensed6857 does not log audit event if operation fails6858 does not log audit event if operation results in no change6859 when operation succeeds6860 logs an audit event6861 logs the audit event info6862 calls the audit method with the event type6863 when not licensed6864 does not log audit event6865 when audit is not required6866 does not log any audit event6867Gitlab::Ci::Minutes::PipelineConsumption6868 # order random6869 #amount6870 calculates minutes consumed correctly6871 filters out non-completed builds6872 correctly rounds numbers6873 does not error for completed builds with no duration6874 with private runners6875 excludes non-instance runners6876Security::SecurityOrchestrationPolicies::ProcessRuleService6877 #execute6878 when security_orchestration_policies_configuration policy is scheduled6879 creates new schedule6880 when limits are exceeded6881 creates schedules only to a configured limit6882 when cadence is not valid6883 does not create a new schedule6884 when cadence is empty6885 does not create a new schedule6886 when cadence is missing6887 does not create a new schedule6888 when policy is not of type scheduled6889 does not create a new schedule6890Types::Forecasting::ForecastStatusEnum6891 # order random6892 exposes all statuses6893IncidentManagement::IssuableResourceLinksFinder6894 # order random6895 #execute6896 when feature is available6897 when user has permissions6898 returns issuable resource links6899 when incident is nil6900 is expected to eq #<ActiveRecord::Relation []>6901 when user has no permissions6902 is expected to eq #<ActiveRecord::Relation []>6903 when feature is not available6904 is expected to eq #<ActiveRecord::Relation []>6905SystemNotes::EscalationsService6906 #notify_via_escalation6907 posts the correct text to the system note6908 behaves like a system note6909 has the correct attributes6910 #start_escalation6911 posts the correct text to the system note6912 behaves like a system note6913 has the correct attributes6914Sidebars::YourWork::Panel6915 # order random6916 renders Security menu6917 renders Environments dashboard6918 renders Workspaces6919 renders Operations dashboard6920 behaves like a panel without placeholders6921 has no Sidebars::NilMenuItem6922 behaves like a panel with uniquely identifiable menu items6923 all menu_items have unique item_id6924 all menu_items have an item_id6925Security::OrchestrationConfigurationCreateBotWorker6926 # order random6927 #perform6928 exits without error6929 with valid project_id6930 calls the create bot service6931 when the CreateBotService raises an access denied error6932 exits without error6933UserRecentEventsFinder6934 #execute6935 epic related activities6936 when profile is public6937 is expected to contain exactly #<Event project_id: nil, author_id: 1861, created_at: "2023-08-13 07:49:19.226365764 +0000", updated_... action: "commented", target_type: "Note", group_id: nil, fingerprint: nil, id: 624, target_id: 497> and #<Event project_id: nil, author_id: 1861, created_at: "2023-08-13 07:49:19.230292264 +0000", updated_...0", action: "closed", target_type: "Epic", group_id: nil, fingerprint: nil, id: 625, target_id: 105>6938 when profile is private6939 is expected to be empty6940 wehen fetching events from multiple users6941 when filtering for epic events6942 is expected to eq [#<Event project_id: nil, author_id: 1862, created_at: "2023-08-13 07:49:19.360284901 +0000", updated...", action: "closed", target_type: "Epic", group_id: nil, fingerprint: nil, id: 625, target_id: 105>]6943Resolvers::Analytics::ContributionAnalytics::ContributionsResolver6944 # order random6945 #resolve6946 without data6947 is expected to be empty6948 with data6949 returns the aggregated event counts6950 when the date range is too wide6951 raises error6952 when `to` is earlier than `from`6953 raises error6954Epics::WithIssuesFinder6955 # order random6956 when filtered by accessible_epics6957 behaves like returns correct epic results6958 returns epics6959 when there are no accessible_epics6960 behaves like returns correct epic results6961 returns epics6962 when there are no accessible_issues6963 behaves like returns correct epic results6964 returns epics6965 when all epics are accessible6966 behaves like returns correct epic results6967 returns epics6968 when filtered by accessible_issues6969 behaves like returns correct epic results6970 returns epics6971Resolvers::Boards::EpicListsResolver6972 is expected to have nullable GraphQL type EpicListConnection6973 #resolve6974 generates an error if user cannot read epic lists6975 when user is member of the group6976 returns epic lists for the board6977 when resolving a single item6978 returns an array with single epic list6979 when the board has hidden lists6980 returns an array with single epic list6981Gitlab::AuthorityAnalyzer6982 #calculate6983 returns contributors in order, without skip_user6984FeatureFlagIssues::DestroyService6985 #execute6986 unlinks the feature flag and the issue6987 does not unlink the feature flag and the issue when the user cannot admin the feature flag6988Gitlab::Audit::Levels::Group6989 #apply6990 finds all group events6991EE::Gitlab::Scim::ValueParser6992 #type_cast6993 input: "True", expected_output: true6994 is expected to eq true6995 input: "true", expected_output: true6996 is expected to eq true6997 input: "False", expected_output: false6998 is expected to eq false6999 input: "false", expected_output: false7000 is expected to eq false7001 input: "\"Quoted String\"", expected_output: "Quoted String"7002 is expected to eq "Quoted String"7003 input: true, expected_output: true7004 is expected to eq true7005 input: false, expected_output: false7006 is expected to eq false7007 input: 123, expected_output: 1237008 is expected to eq 1237009shared/billings/_billing_plan.html.haml7010 when read_only is false7011 contains the footer7012 behaves like contains the default page features7013 contains the feature link7014 contains tracking7015 when read_only is true7016 does not contain the footer7017 behaves like contains the default page features7018 contains the feature link7019 contains tracking7020Geo::RepositoryDeletedEventStore7021 #create!7022 behaves like a Geo event store7023 when running on a secondary node7024 does not create an event7025 when running on a primary node7026 does not create an event if there are no secondary nodes7027 creates an event7028 when file subject is not on local store7029 creates an event (PENDING: No file subject defined, skipping)7030 when running on a primary node7031 tracks information for the deleted project7032StatusPage::PublishDetailsService7033 # order random7034 #execute7035 when json upload succeeds7036 publishes details as JSON7037 when upload fails due to exception7038 propagates the exception7039 when limits exceeded7040 returns limit exceeded error7041 when status page setting is not enabled7042 returns feature not available error7043 when serialized content is missing id7044 returns an error7045 publishing attachments7046 when successful7047 sends attachments to storage and returns success7048 when error returned from PublishAttachmentsService7049 returns an error7050AuditEvents::Streaming::InstanceHeaders::DestroyService7051 # order random7052 #execute7053 behaves like header deletion7054 when deletion is successful7055 destroys the header7056 with audit events7057 sends the audit streaming event7058 with license feature external_audit_events7059 sends correct event type in audit event stream7060 when deletion is unsuccessful7061 does not destroy the header7062 has an error response7063 behaves like does not create audit event7064 is expected to not change `AuditEvent.count`7065Gitlab::Verify::Uploads7066 includes uploads in object storage7067Dora::Configuration7068 # order random7069 is expected to validate that :project_id is case-sensitively unique7070 is expected to allow :branches_for_lead_time_for_changes to be ‹[]›7071 is expected to validate that :project_id cannot be empty/falsy7072 is expected not to allow :branches_for_lead_time_for_changes to be ‹nil›7073 associations7074 is expected to belong to project required: false7075Dast::SiteProfilePresenter7076 #password7077 behaves like a DAST on-demand secret variable7078 when there is no associated secret variable7079 is expected to be nil7080 when there an associated secret variable7081 is redacted7082 #request_headers7083 behaves like a DAST on-demand secret variable7084 when there is no associated secret variable7085 is expected to be nil7086 when there an associated secret variable7087 is redacted7088Analytics::DevopsAdoption::EnabledNamespaces::DeleteService7089 deletes the enabled_namespace7090 authorizes for manage_devops_adoption7091 when deletion fails7092 returns error response7093 when user cannot manage enabled_namespaces for the namespace7094 returns forbidden error7095Geo::PushUser7096 #user7097 with a junk gl_id7098 returns nil7099 with an unsupported gl_id type7100 returns nil7101 when the User associated to gl_id matches the User associated to gl_username7102 returns a User7103Ci::ChangeVariableService7104 when creating a variable7105 calls AuditVariableChangeService with create7106 when updating a variable7107 calls AuditVariableChangeService with update7108 when destroying a variable7109 calls AuditVariableChangeService with destroy7110RoadmapsHelper7111 #roadmap_layout7112 guest7113 is sourced from params if exists7114 returns default if params do not exist7115 logged in7116 is sourced from User#roadmap_layout7117 #roadmap_sort_order7118 guest7119WARNING: An expectation of `:user_preference` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /builds/edith007/gitlab/ee/spec/helpers/roadmaps_helper_spec.rb:42:in `block (3 levels) in <top (required)>'.7120 returns default sort order7121 user without preferences set7122 returns default sort order7123 user with preference set7124 returns saved user preference7125AppSec::Fuzzing::Coverage::CorpusesFinder7126 #execute7127 returns corpuses records7128 when the corpus does not exist7129 returns an empty relation7130Banzai::Filter::JiraPrivateImageLinkFilter7131 with a Jira private image7132 replaces the Jira private images with the link to the image7133 includes the Atlassian referrer on gitlab.com7134 with other image7135 keeps the original image7136Gitlab::Llm::Chain::Answer7137 # order random7138 .from_response7139 returns intermediate answer with parsed values and a tool7140 when parsed response is final7141 returns final answer7142 when tool is nil7143 returns final answer with default response7144 when response is empty7145 returns final answer with default response7146 when tool does not contain any of expected keyword7147 returns final answer with default response7148Gitlab::VulnerabilityScanning::SecurityReportBuilder7149 # order random7150 #report7151 when components are vulnerable7152 builds a valid report7153 adds correct findings7154 adds correct identifiers7155 does not produce or remove findings when compared against analyzer report7156projects/security/discover/show7157 renders vue app root with correct link7158 candidate for showcase_free_security_features7159 renders showcase and not security discover element7160Gitlab::Middleware::IpRestrictor7161 #call7162 calls ip address state to set the address7163 calls ip address state to nullify the address7164 calls ip address state to nullify the address when app raises an error7165 when it is internal endpoint7166 does not call ip address state to set the address7167Boards::EpicBoards::Visits::CreateService7168 #execute7169 with epic board7170 behaves like boards recent visit create service7171 returns nil when there is no user7172 returns nil when database is read only7173 records the visit7174Session initializer for GitLab EE7175 config#session_store7176 no database connection7177 behaves like normal session cookie7178 returns the regular cookie without a suffix7179 Geo is disabled7180 behaves like normal session cookie7181 returns the regular cookie without a suffix7182 current node is a Geo primary7183 behaves like normal session cookie7184 returns the regular cookie without a suffix7185 current node is a Geo secondary7186 returns a geo specific cookie7187admin/users/_credit_card_info.html.haml7188 shows not validated7189 when user is validated7190 shows card data7191 when network is missing7192 does not show network7193Search::ReindexingService7194 # order random7195 #execute7196 passes correct arguments to search client7197 #request7198 formats request correctly7199 when overrides are given7200 formats request correctly7201 .execute7202 passes arguments to instance7203EE::API::Entities::MemberRole7204 # order random7205 exposes expected fields7206 exposes the attributes7207PersonalAccessTokens::Groups::UpdateLifetimeService7208 #execute7209 when we can obtain the lease7210 schedules the worker7211 when we can't obtain the lease7212 does not schedule the worker7213Gitlab::Llm::OpenAi::Completions::ExplainCode7214 # order random7215 #execute7216 performs an openai request7217Types::Geo::DesignManagementRepositoryRegistryType7218 # order random7219 has the expected fields (other than those included in RegistryType)7220 behaves like a Geo registry type7221 is expected to require graphql authorizations :read_geo_registry7222 has the expected fields7223Elastic::MigrationRemoveFieldsHelper7224 # order random7225 #index_name7226 raises a NotImplementedError7227 #document_type7228 raises a NotImplementedError7229 #fields_to_remove7230 raises a NotImplementedError7231MigrateCommitsToSeparateIndex7232 behaves like a deprecated Advanced Search migration7233 #migrate7234 logs a message and halts the migration7235 #completed?7236 returns false7237 #obsolete?7238 returns true7239DeleteOrphanedCommits7240 behaves like a deprecated Advanced Search migration7241 #migrate7242 logs a message and halts the migration7243 #completed?7244 returns false7245 #obsolete?7246 returns true7247AddHiddenToIssues7248 # order random7249 behaves like a deprecated Advanced Search migration7250 #migrate7251 logs a message and halts the migration7252 #completed?7253 returns false7254 #obsolete?7255 returns true7256admin/application_settings/_git_abuse_rate_limit7257 git abuse rate limit settings7258 when page loads7259 renders the settings app root7260 when data is saved in the database7261 renders the settings app root with pre-saved data7262DeleteIssuesFromOriginalIndex7263 behaves like a deprecated Advanced Search migration7264 #migrate7265 logs a message and halts the migration7266 #completed?7267 returns false7268 #obsolete?7269 returns true7270Types::WorkItems::TypeType7271 is expected to eq "WorkItemType"7272 is expected to have graphql fields :id, :icon_name, and :name7273 is expected to require graphql authorizations :read_work_item_type7274RemoteDevelopment::Workspaces::CreateService7275 # order random7276 #execute7277 when success7278 returns a success ServiceResponse7279 when error7280 returns an error success ServiceResponse7281GitlabSubscriptions::CreateLeadService7282 # order random7283 #execute7284 successfully creates a trial7285 errors while creating trial7286Types::WorkItems::Widgets::ProgressInputType7287 # order random7288 is expected to eq "WorkItemWidgetProgressInput"7289 is expected to contain exactly "currentValue", "startValue", and "endValue"7290Gitlab::Llm::ResponseModifiers::EmptyResponseModifier7291 # order random7292 returns empty errors7293 parses content from the ai response7294SystemCheck::Geo::CurrentNodeCheck7295 #check?7296 when the current machine has a matching GeoNode7297 returns true7298 when the current machine does not have a matching GeoNode7299 returns false7300StorageShard7301 .all7302 returns an array of StorageShard objects7303 .build_digest7304 returns SHA1 digest for the current configuration7305Types::Vulnerability::IssueLinkType7306 is expected to have graphql fields :id, :link_type, and :issue7307 is expected to require graphql authorizations :read_issue_link7308Types::Ci::Catalog::ResourceSortEnum7309 # order random7310 exposes all the existing catalog resource sort orders7311 is expected to eq "CiCatalogResourceSort"7312Types::ComplianceManagement::MergeRequests::ComplianceViolationSortEnum7313 is expected to eq "ComplianceViolationSort"7314 is expected to contain exactly "SEVERITY_LEVEL_DESC", "SEVERITY_LEVEL_ASC", "VIOLATION_REASON_DESC", "VIOLATION_REASON_ASC", "MERGE_REQUEST_TITLE_DESC", "MERGE_REQUEST_TITLE_ASC", "MERGED_AT_DESC", and "MERGED_AT_ASC"7315ElasticDeleteProjectWorker7316 does not include indexes which do not exist7317Geo::VerificationCronWorker7318 uses a cronjob queue7319 #perform7320 calls trigger_background_verification on enabled Replicators7321Gitlab::StatusPage::Pipeline::PostProcessPipeline7322 # order random7323 .filters7324 has filters in proper position7325 is expected to be frozen7326Types::Security::FindingReportsComparer::ReportType7327 # order random7328 is expected to have graphql fields :base_report_created_at, :base_report_out_of_date, :head_report_created_at, :added, and :fixed7329Gitlab::Llm::VertexAi::ModelConfigurations::Base7330 # order random7331 #url7332 raises MissingConfigurationError7333Gitlab::Llm::Chain::Tools::SummarizeComments::Prompts::Anthropic7334 # order random7335 .prompt7336 returns prompt7337Types::VulnerabilityLocation::DastType7338 is expected to have graphql fields :hostname, :param, :path, and :request_method7339Types::PermissionTypes::Deployment7340 # order random7341 is expected to include graphql fields :approve_deployment7342Types::VulnerabilityDetails::BaseType7343 is expected to have graphql fields :name, :description, and :fieldName7344Types::BranchRules::BranchProtectionType7345 # order random7346 is expected to have graphql fields :allow_force_push, :code_owner_approval_required, :merge_access_levels, :push_access_levels, and :unprotect_access_levels7347Types::AlertManagement::PayloadAlertFieldTypeEnum7348 exposes all alert field types7349Types::VulnerabilitiesCountByDayType7350 is expected to have graphql fields :total, :date, :info, :unknown, :low, :medium, :high, and :critical7351Types::VulnerabilityDetails::TextType7352 is expected to have graphql fields :name, :description, :fieldName, and :value7353Types::Ci::CodeQualityDegradationSeverityEnum7354 exposes all code quality degradation severity types7355Knapsack report was generated. Preview:7356{7357 "ee/spec/services/search/project_service_spec.rb": 1182.694973838,7358 "ee/spec/services/ee/issues/update_service_spec.rb": 63.988531259999945,7359 "ee/spec/services/projects/create_from_template_service_spec.rb": 42.11306630299987,7360 "ee/spec/helpers/billing_plans_helper_spec.rb": 19.12879582300002,7361 "ee/spec/models/ee/merge_request_diff_spec.rb": 33.89472072300009,7362 "ee/spec/elastic/migrate/20230427555555_backfill_hidden_on_merge_requests_spec.rb": 38.03920473400012,7363 "ee/spec/lib/gitlab/checks/diff_check_spec.rb": 33.55314838999993,7364 "ee/spec/models/geo/design_management_repository_registry_spec.rb": 30.762889849000203,7365 "ee/spec/models/dast_site_profile_spec.rb": 18.152415640000072,7366 "ee/spec/services/groups/transfer_service_spec.rb": 30.31191552600012,7367 "ee/spec/models/ee/ci/pipeline_artifact_spec.rb": 20.559832804000052,7368 "ee/spec/finders/iterations_finder_spec.rb": 15.84870725799965,7369 "ee/spec/lib/analytics/devops_adoption/snapshot_calculator_spec.rb": 17.63257000600015,7370 "ee/spec/models/ee/project_statistics_spec.rb": 12.793132388000231,7371 "ee/spec/services/ci/create_pipeline_service/cross_needs_artifacts_spec.rb": 17.23217521200013,7372 "ee/spec/helpers/vulnerabilities_helper_spec.rb": 11.989755932000207,7373 "ee/spec/policies/requirements_management/requirement_policy_spec.rb": 14.06775493799978,7374 "ee/spec/helpers/search_helper_spec.rb": 12.829917977999685,7375 "ee/spec/services/resource_access_tokens/create_service_spec.rb": 16.478376647999994,7376 "ee/spec/services/ee/merge_requests/post_merge_service_spec.rb": 13.02247642500015,7377 "ee/spec/lib/gitlab/code_owners_spec.rb": 13.795210662000045,7378 "ee/spec/models/concerns/ee/mentionable_spec.rb": 14.779503375999866,7379 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_secure_pipelines_metric_spec.rb": 7.348066797999763,7380 "ee/spec/models/geo/dependency_proxy_manifest_registry_spec.rb": 11.328581404000033,7381 "ee/spec/graphql/resolvers/geo/package_file_registries_resolver_spec.rb": 11.976182261999838,7382 "ee/spec/workers/search/wiki/elastic_delete_group_wiki_worker_spec.rb": 11.523434045000158,7383 "ee/spec/lib/gitlab/subscription_portal/clients/rest_spec.rb": 1.8388491289997546,7384 "ee/spec/presenters/ci/pipeline_presenter_spec.rb": 8.035887001999981,7385 "ee/spec/lib/elastic/latest/git_instance_proxy_spec.rb": 9.64971995499991,7386 "ee/spec/presenters/ci/minutes/usage_presenter_spec.rb": 3.3126687670001047,7387 "ee/spec/elastic/migrate/20230613555555_add_schema_version_to_commits_spec.rb": 10.78299743999969,7388 "ee/spec/services/groups/create_service_spec.rb": 6.41149656799962,7389 "ee/spec/services/analytics/cycle_analytics/value_streams/create_service_spec.rb": 5.539821286999995,7390 "ee/spec/services/security/findings/dismiss_service_spec.rb": 8.976755750999928,7391 "ee/spec/finders/dast_site_profiles_finder_spec.rb": 7.802966936000303,7392 "ee/spec/lib/bulk_imports/groups/pipelines/epics_pipeline_spec.rb": 7.344112397000117,7393 "ee/spec/graphql/resolvers/dora_metrics_resolver_spec.rb": 2.6213275519999115,7394 "ee/spec/lib/gitlab/auth/oidc/user_spec.rb": 2.7310893990002114,7395 "ee/spec/services/app_sec/dast/scanner_profiles/update_service_spec.rb": 4.921107771000152,7396 "ee/spec/finders/groups_with_templates_finder_spec.rb": 9.85554957100021,7397 "ee/spec/graphql/mutations/dast/profiles/create_spec.rb": 4.9196733210001184,7398 "ee/spec/services/merge_request_approval_settings/update_service_spec.rb": 2.7148852790001,7399 "ee/spec/graphql/resolvers/epics/children_resolver_spec.rb": 3.8288110449998385,7400 "ee/spec/models/dast/scanner_profiles_build_spec.rb": 5.328384901999925,7401 "ee/spec/services/ee/users/update_service_spec.rb": 4.448528420999992,7402 "ee/spec/models/dependencies/dependency_list_export_spec.rb": 2.0990449539999645,7403 "ee/spec/services/audit_events/export_csv_service_spec.rb": 2.1395317320002505,7404 "ee/spec/services/todos/destroy/confidential_epic_service_spec.rb": 5.571924856999885,7405 "ee/spec/lib/ee/backup/repositories_spec.rb": 3.4330058240002472,7406 "ee/spec/finders/clusters/environments_finder_spec.rb": 7.142389531999925,7407 "ee/spec/helpers/ee/personal_access_tokens_helper_spec.rb": 1.468790486999751,7408 "ee/spec/services/llm/chat_service_spec.rb": 3.265374547999727,7409 "ee/spec/services/llm/explain_code_service_spec.rb": 4.58592908799983,7410 "ee/spec/finders/concerns/epics/with_access_check_spec.rb": 3.0018110339997293,7411 "ee/spec/graphql/resolvers/epic_ancestors_resolver_spec.rb": 3.9030283839997537,7412 "ee/spec/views/shared/issuable/_approver_suggestion.html.haml_spec.rb": 1.6656291830004193,7413 "ee/spec/models/ee/projects/wiki_repository_spec.rb": 4.25600062500007,7414 "ee/spec/lib/security/scan_result_policies/policy_violation_comment_spec.rb": 1.0330366580001282,7415 "ee/spec/models/release_highlight_spec.rb": 3.9744529820000025,7416 "ee/spec/models/dependency_proxy/packages/setting_spec.rb": 2.5179136549995746,7417 "ee/spec/lib/gitlab/usage/metrics/instrumentations/count_deployment_approvals_metric_spec.rb": 4.933788790000108,7418 "ee/spec/lib/gitlab/exclusive_lease_spec.rb": 2.284119238999665,7419 "ee/spec/lib/remote_development/workspaces/reconcile/input/params_validator_spec.rb": 0.417134611000165,7420 "ee/spec/lib/elastic/latest/epic_class_proxy_spec.rb": 1.973697216000346,7421 "ee/spec/lib/ee/api/entities/deployment_extended_spec.rb": 5.01162118900038,7422 "ee/spec/graphql/resolvers/geo/dependency_proxy_manifest_registries_resolver_spec.rb": 4.138655179000125,7423 "ee/spec/workers/concerns/update_orchestration_policy_configuration_spec.rb": 1.7455432719998498,7424 "ee/spec/lib/system_check/geo/http_connection_check_spec.rb": 1.3427526999998918,7425 "ee/spec/services/ee/notes/post_process_service_spec.rb": 2.889631695999924,7426 "ee/spec/models/dast/branch_spec.rb": 1.7165569320000031,7427 "ee/spec/helpers/ee/labels_helper_spec.rb": 1.9671650559998852,7428 "ee/spec/services/geo/move_repository_service_spec.rb": 4.6308458280000195,7429 "ee/spec/models/ci/sources/project_spec.rb": 3.3414133769997534,7430 "ee/spec/models/concerns/elastic/maintain_elasticsearch_on_group_update_spec.rb": 1.851588757999707,7431 "ee/spec/services/boards/epics/create_service_spec.rb": 3.1148792710000635,7432 "ee/spec/models/group_merge_request_approval_setting_spec.rb": 0.8349503220001679,7433 "ee/spec/services/ci/minutes/refresh_cached_data_service_spec.rb": 1.4720312770000419,7434 "ee/spec/services/group_saml/identity/destroy_service_spec.rb": 3.673666707999928,7435 "ee/spec/models/incident_management/pending_escalations/issue_spec.rb": 2.712814040000012,7436 "ee/spec/lib/gitlab/auth/group_saml/membership_enforcer_spec.rb": 2.073514604000138,7437 "ee/spec/lib/ee/gitlab/rack_attack/request_spec.rb": 0.43012924100003147,7438 "ee/spec/services/ee/merge_requests/close_service_spec.rb": 2.8864071160001004,7439 "ee/spec/lib/gitlab/ci/reports/license_scanning/dependency_spec.rb": 0.9025517809996018,7440 "ee/spec/services/security/ingestion/tasks/ingest_finding_evidence_spec.rb": 4.038137090999953,7441 "ee/spec/models/protected_branch/merge_access_level_spec.rb": 1.0918038260001595,7442 "ee/spec/models/dora/performance_score_spec.rb": 2.026776974999848,7443 "ee/spec/models/user_permission_export_upload_spec.rb": 0.4358012799998505,7444 "ee/spec/graphql/mutations/security_policy/create_security_policy_project_spec.rb": 2.757056709000153,7445 "ee/spec/graphql/resolvers/vulnerabilities/scanners_resolver_spec.rb": 1.5900491439997495,7446 "ee/spec/helpers/ee/ci/pipelines_helper_spec.rb": 0.40142728200044075,7447 "ee/spec/finders/autocomplete/project_invited_groups_finder_spec.rb": 1.1761249840001256,7448 "ee/spec/services/alert_management/process_prometheus_alert_service_spec.rb": 2.4118888970001535,7449 "ee/spec/serializers/ee/issue_entity_spec.rb": 0.9921061780000855,7450 "ee/spec/graphql/types/vulnerability_request_type_spec.rb": 2.1150833130000137,7451 "ee/spec/services/vulnerabilities/statistics/adjustment_service_spec.rb": 1.8366564489997472,7452 "ee/spec/finders/geo/project_registry_status_finder_spec.rb": 2.5111613940002826,7453 "ee/spec/services/arkose/record_user_data_service_spec.rb": 1.1543340340003851,7454 "ee/spec/services/package_metadata/advisory_data_object_spec.rb": 0.5718938269997125,7455 "ee/spec/lib/gitlab/contribution_analytics/postgresql_data_collector_spec.rb": 0.8553484209996896,7456 "ee/spec/services/geo/container_repository_registry_removal_service_spec.rb": 0.7592914429997109,7457 "ee/spec/graphql/resolvers/product_analytics/visualization_resolver_spec.rb": 1.3757622500002071,7458 "ee/spec/models/namespaces/free_user_cap_spec.rb": 1.3771307299998625,7459 "ee/spec/graphql/resolvers/ci/catalog/resources_resolver_spec.rb": 1.837683038999785,7460 "ee/spec/workers/ee/issuable_export_csv_worker_spec.rb": 1.6925498129999141,7461 "ee/spec/services/sbom/ingestion/tasks/ingest_components_spec.rb": 0.5035341879997759,7462 "ee/spec/lib/remote_development/workspaces/reconcile/output/desired_config_generator_spec.rb": 2.4336548850001236,7463 "ee/spec/workers/ee/arkose/blocked_users_report_worker_spec.rb": 0.20652187399991817,7464 "ee/spec/views/layouts/_page.html.haml_spec.rb": 1.2366091459998643,7465 "ee/spec/lib/gitlab/status_page/storage/s3_client_spec.rb": 0.907048265999947,7466 "ee/spec/lib/ee/gitlab/omniauth_initializer_spec.rb": 0.26956011199990826,7467 "ee/spec/helpers/ee/sorting_helper_spec.rb": 0.3271502409997993,7468 "ee/spec/services/package_metadata/data_object_spec.rb": 0.6006332540000585,7469 "ee/spec/lib/gitlab/insights/reducers/label_count_per_period_reducer_spec.rb": 2.290662506999979,7470 "ee/spec/models/gitlab_subscription_history_spec.rb": 0.26839515200026653,7471 "ee/spec/serializers/pipeline_serializer_spec.rb": 1.9964022760000262,7472 "ee/spec/lib/gitlab/insights/loader_spec.rb": 1.109730000000127,7473 "ee/spec/workers/security/generate_policy_violation_comment_worker_spec.rb": 1.5483051179999165,7474 "ee/spec/models/vulnerabilities/remediation_spec.rb": 1.2537609659998452,7475 "ee/spec/services/ee/labels/promote_service_spec.rb": 0.8296194480003578,7476 "ee/spec/lib/gitlab/vulnerabilities/parser_spec.rb": 0.292220873000133,7477 "ee/spec/elastic/migrate/20210813134600_add_namespace_ancestry_to_issues_mapping_spec.rb": 0.24060238299989578,7478 "ee/spec/services/ee/users/create_service_spec.rb": 0.9365032339997015,7479 "ee/spec/lib/gitlab/ci/minutes/pipeline_consumption_spec.rb": 1.5298194090000834,7480 "ee/spec/services/security/security_orchestration_policies/process_rule_service_spec.rb": 1.0032244520002678,7481 "ee/spec/graphql/types/forecasting/forecast_status_enum_spec.rb": 0.14930273600020882,7482 "ee/spec/finders/incident_management/issuable_resource_links_finder_spec.rb": 1.0671965810001893,7483 "ee/spec/services/system_notes/escalations_service_spec.rb": 0.9409486750000724,7484 "ee/spec/lib/ee/sidebars/your_work/panel_spec.rb": 0.7290425199998936,7485 "ee/spec/workers/security/orchestration_configuration_create_bot_worker_spec.rb": 0.9978138930000569,7486 "ee/spec/finders/ee/user_recent_events_finder_spec.rb": 1.0947299310000744,7487 "ee/spec/graphql/resolvers/analytics/contribution_analytics/contributions_resolver_spec.rb": 1.1509074679997866,7488 "ee/spec/finders/epics/with_issues_finder_spec.rb": 1.1128117199996268,7489 "ee/spec/graphql/resolvers/boards/epic_lists_resolvers_spec.rb": 1.1950611269999172,7490 "ee/spec/lib/gitlab/authority_analyzer_spec.rb": 1.4344875410001805,7491 "ee/spec/services/feature_flag_issues/destroy_service_spec.rb": 0.8688694960001158,7492 "ee/spec/lib/gitlab/audit/levels/group_spec.rb": 1.3356072930000664,7493 "ee/spec/lib/ee/gitlab/scim/value_parser_spec.rb": 0.4903835270001764,7494 "ee/spec/views/shared/billings/_billing_plan.html.haml_spec.rb": 0.7836708180002461,7495 "ee/spec/services/geo/repository_deleted_event_store_spec.rb": 0.7850280789998578,7496 "ee/spec/services/status_page/publish_details_service_spec.rb": 0.7761181390001184,7497 "ee/spec/services/audit_events/streaming/instance_headers/destroy_service_spec.rb": 0.6237890130000778,7498 "ee/spec/lib/ee/gitlab/verify/uploads_spec.rb": 0.7704982190002738,7499 "ee/spec/models/dora/configuration_spec.rb": 0.5898574739999276,7500 "ee/spec/presenters/dast/site_profile_presenter_spec.rb": 0.7075699900001382,7501 "ee/spec/services/analytics/devops_adoption/enabled_namespaces/delete_service_spec.rb": 0.8474204469998767,7502 "ee/spec/models/geo/push_user_spec.rb": 0.5819148649998169,7503 "ee/spec/services/ee/ci/change_variable_service_spec.rb": 0.7980041880000499,7504 "ee/spec/helpers/roadmaps_helper_spec.rb": 0.4471717979999994,7505 "ee/spec/finders/app_sec/fuzzing/coverage/corpuses_finder_spec.rb": 1.0860752209996463,7506 "ee/spec/lib/banzai/filter/jira_private_image_link_filter_spec.rb": 0.5700840740000785,7507 "ee/spec/lib/gitlab/llm/chain/answer_spec.rb": 0.3387882600000012,7508 "ee/spec/lib/gitlab/vulnerability_scanning/security_report_builder_spec.rb": 0.7262963199996193,7509 "ee/spec/views/projects/security/discover/show.html.haml_spec.rb": 0.6434412629996586,7510 "ee/spec/lib/gitlab/middleware/ip_restrictor_spec.rb": 0.3069838320002418,7511 "ee/spec/services/boards/epic_boards/visits/create_service_spec.rb": 0.41027391899979193,7512 "ee/spec/initializers/session_store_spec.rb": 0.38412182999991273,7513 "ee/spec/views/admin/users/_credit_card_info.html.haml_spec.rb": 0.4681104169999344,7514 "ee/spec/services/search/reindexing_service_spec.rb": 0.3246405310001137,7515 "ee/spec/lib/ee/api/entities/member_role_spec.rb": 0.5410120249998727,7516 "ee/spec/services/personal_access_tokens/groups/update_lifetime_service_spec.rb": 0.33035017100019104,7517 "ee/spec/lib/gitlab/llm/open_ai/completions/explain_code_spec.rb": 0.5273213460000079,7518 "ee/spec/graphql/types/geo/design_management_repository_registry_type_spec.rb": 0.23974649299998418,7519 "ee/spec/workers/concerns/elastic/migration_remove_fields_helper_spec.rb": 0.2231128040002659,7520 "ee/spec/elastic/migrate/20220613120500_migrate_commits_to_separate_index_spec.rb": 0.21851846399977148,7521 "ee/spec/elastic/migrate/20220118150500_delete_orphaned_commits_spec.rb": 0.22402369400015232,7522 "ee/spec/elastic/migrate/20220824133000_add_hidden_to_issues_spec.rb": 0.22304742400001487,7523 "ee/spec/views/admin/application_settings/_git_abuse_rate_limit.html.haml_spec.rb": 0.3448174210002435,7524 "ee/spec/elastic/migrate/20210112165500_delete_issues_from_original_index_spec.rb": 0.2909563220000564,7525 "ee/spec/graphql/types/work_items/type_spec.rb": 0.24257825299991964,7526 "ee/spec/services/remote_development/workspaces/create_service_spec.rb": 0.27310184299994944,7527 "ee/spec/services/gitlab_subscriptions/create_lead_service_spec.rb": 0.27707200200029547,7528 "ee/spec/graphql/types/work_items/widgets/progress_input_type_spec.rb": 0.20549540399997568,7529 "ee/spec/lib/gitlab/llm/response_modifiers/empty_response_modifier_spec.rb": 0.20114782399969044,7530 "ee/spec/lib/system_check/geo/current_node_check_spec.rb": 0.3272984010000073,7531 "ee/spec/models/storage_shard_spec.rb": 0.19274161500015907,7532 "ee/spec/graphql/types/vulnerability/issue_link_type_spec.rb": 0.20059072499998365,7533 "ee/spec/graphql/types/ci/catalog/resource_sort_enum_spec.rb": 0.194985595000162,7534 "ee/spec/graphql/types/compliance_management/merge_requests/compliance_violation_sort_enum_spec.rb": 0.19994646400027705,7535 "ee/spec/workers/elastic_delete_project_worker_spec.rb": 0.23668368400012696,7536 "ee/spec/workers/geo/verification_cron_worker_spec.rb": 0.1866788849997647,7537 "ee/spec/lib/gitlab/status_page/pipeline/post_process_pipeline_spec.rb": 0.1878288650000286,7538 "ee/spec/graphql/types/security/finding_reports_comparer/report_type_spec.rb": 0.15534781499991368,7539 "ee/spec/lib/gitlab/llm/vertex_ai/model_configurations/base_spec.rb": 0.15736115500021697,7540 "ee/spec/lib/gitlab/llm/chain/tools/summarize_comments/prompts/anthropic_spec.rb": 0.15574863600022582,7541 "ee/spec/graphql/types/vulnerability_location/dast_type_spec.rb": 0.1578469060000316,7542 "ee/spec/graphql/ee/types/permission_types/deployment_spec.rb": 0.18492823500037048,7543 "ee/spec/graphql/types/vulnerability_details/base_type_spec.rb": 0.1553701570001067,7544 "ee/spec/graphql/ee/types/branch_protection_type_spec.rb": 0.1484471260000646,7545 "ee/spec/graphql/types/alert_management/payload_alert_field_type_enum_spec.rb": 0.15400797599977523,7546 "ee/spec/graphql/types/vulnerabilities_count_by_day_type_spec.rb": 0.14951280600007522,7547 "ee/spec/graphql/types/vulnerability_details/text_type_spec.rb": 0.1539005059998999,7548 "ee/spec/graphql/types/ci/code_quality_degradation_severity_enum_spec.rb": 0.15552299499995577549}7550Knapsack global time execution for tests: 33m 39s7551Pending: (Failures listed here are expected and do not affect your suite's status)7552 1) Resolvers::Geo::PackageFileRegistriesResolver behaves like a Geo registries resolver #resolve when the parent object is the current node when the user has permission to view Geo data when admin mode is enabled with verification disabled when the verification_state argument is present raises ArgumentError7553 # Skipping because verification is enabled for Packages::PackageFile7554 # ./ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb:777555 2) Projects::WikiRepository on a primary node #save_verification_details when model record is not part of verifiables scope does not create verification details7556 # Skipping because all Project Wiki Repositories are records that can be checksummed7557 # ./ee/spec/support/shared_examples/models/concerns/replicable_model_with_separate_table_shared_examples.rb:767558 3) Resolvers::Geo::DependencyProxyManifestRegistriesResolver behaves like a Geo registries resolver #resolve when the parent object is the current node when the user has permission to view Geo data when admin mode is enabled with verification disabled when the verification_state argument is present raises ArgumentError7559 # Skipping because verification is enabled for DependencyProxy::Manifest7560 # ./ee/spec/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb:777561 4) Geo::RepositoryDeletedEventStore#create! behaves like a Geo event store when running on a primary node when file subject is not on local store creates an event7562 # No file subject defined, skipping7563 # ./ee/spec/support/shared_examples/services/geo_event_store_shared_examples.rb:367564Finished in 33 minutes 42 seconds (files took 1 minute 41.95 seconds to load)75652526 examples, 0 failures, 4 pending7566Randomized with seed 426457567[TEST PROF INFO] Time spent in factories: 10:04.059 (29.31% of total time)7568RSpec exited with 0.7569No examples to retry, congrats! 7570 Running after_script 7571Running after script...7572$ echo -e "\e[0Ksection_start:`date +%s`:report_results_section[collapsed=true]\r\e[0KReport results"7597Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-protected due to policy7599Uploading artifacts...7600WARNING: auto_explain/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/edith007/gitlab) 7601coverage/: found 5 matching artifact files and directories 7602WARNING: crystalball/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/edith007/gitlab) 7603deprecations/: found 16 matching artifact files and directories 7604knapsack/: found 4 matching artifact files and directories 7605rspec/: found 10 matching artifact files and directories 7606WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/edith007/gitlab) 7607log/*.log: found 20 matching artifact files and directories 7608WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4863614089/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com7609WARNING: Retrying... context=artifacts-uploader error=request redirected7610Uploading artifacts as "archive" to coordinator... 201 Created id=4863614089 responseStatus=201 Created token=64_wemy27611Uploading artifacts...7612rspec/rspec-*.xml: found 1 matching artifact files and directories 7613WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4863614089/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com7614WARNING: Retrying... context=artifacts-uploader error=request redirected7615Uploading artifacts as "junit" to coordinator... 201 Created id=4863614089 responseStatus=201 Created token=64_wemy27617Job succeeded