rspec-ee integration pg13 single-db-ci-connection 6/6
Passed Started
by
@fabiopitino
Fabio Pitino
1Running with gitlab-runner 16.1.0~beta.5.gf131a6a2 (f131a6a2)2 on blue-6.private.runners-manager.gitlab.com/gitlab.com/gitlab-org mKJTFBei, system ID: s_90a66139ec063 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.19-rust-1.65-node-18.16-postgresql-13: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-13-pgvector-0.4.1 ...8Authenticating with credentials from job payload (GitLab Registry)9Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-13-pgvector-0.4.1 ...10Using docker image sha256:73740c557807c4bc5d692f263c0e35454270600da4b22bbe952331411426c8b5 for registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-13-pgvector-0.4.1 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:3174001f839c42e299ac06a42f8ded446edfcb33b0eb820874749a3f53eb799c ...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:85fd7bd884b6493c8eb6f4dffbe5406d97cce56aff84f1580a5eb5b9d841f158 for redis:6.2-alpine with digest redis@sha256:87c44d5d9f472e767c8737f4130c765d77bdc95c7472d6427cfc9d4632f12da6 ...20Starting service elasticsearch:7.17.6 ...21Pulling docker image elasticsearch:7.17.6 ...22Using docker image sha256:5fad10241ffd65d817ed0ddfaf6e87eee1f7dc2a7db33db1047835560ea71fda for elasticsearch:7.17.6 with digest elasticsearch@sha256:6c128de5d01c0c130a806022d6bd99b3e4c27a9af5bfc33b6b81861ae117d028 ...23WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 is already created. Ignoring.24WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 is already created. Ignoring.25Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...26Authenticating with credentials from job payload (GitLab Registry)27Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 ...28Using docker image sha256:4777ec1fa89def7d692d4979d05cb05234df25da1c6a3f67a564a433ec5ba1c8 for registry.gitlab.com/gitlab-org/gitlab-build-images:zoekt-ci-image-1.0 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:80c0cee4566aefe4f1f287e1091263e08b0ebc41ed3dc4e76930df3634ccb9aa ...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.19-rust-1.65-node-18.16-postgresql-13:rubygems-3.4-git-2.36-lfs-2.9-chrome-113-yarn-1.22-graphicsmagick-1.3.36 ...32Using docker image sha256:61b59025d0d646cd177f654d8f81df859675be528f37dcc2ce6f39a49c7a5dd9 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13: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.19-rust-1.65-node-18.16-postgresql-13@sha256:25367d41b1034f1ecacfc9cb8eebc70cb30c6fdade3781cf295488255bf61614 ...34Running on runner-mkjtfbei-project-278964-concurrent-0 via runner-mkjtfbei-private-1685686960-27bc45d9...36Fetching changes with git depth set to 20...37Initialized empty Git repository in /builds/gitlab-org/gitlab/.git/38Created fresh repository.39remote: Enumerating objects: 139970, done. 40remote: Counting objects: 100% (139970/139970), done. 41remote: Compressing objects: 100% (94736/94736), done. 42remote: Total 139970 (delta 61223), reused 92035 (delta 39894), pack-reused 0 43Receiving objects: 100% (139970/139970), 123.36 MiB | 31.00 MiB/s, done.44Resolving deltas: 100% (61223/61223), done.46 * [new ref] refs/pipelines/887306308 -> refs/pipelines/88730630847Checking out 95754c79 as detached HEAD (ref is refs/merge-requests/122015/merge)...48Skipping Git submodules setup49$ git remote set-url origin "${CI_REPOSITORY_URL}"51Checking cache for ruby-gems-debian-bullseye-ruby-3.0-16...52Downloading cache.zip from https://storage.googleapis.com/gitlab-com-runners-cache/project/278964/ruby-gems-debian-bullseye-ruby-3.0-16 53Successfully extracted cache55Downloading artifacts for compile-test-assets (4400964016)...56Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964016 responseStatus=200 OK token=64_uaXWh57Downloading artifacts for detect-tests (4400964025)...58Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964025 responseStatus=200 OK token=64_uaXWh59Downloading artifacts for retrieve-tests-metadata (4400964028)...60Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964028 responseStatus=200 OK token=64_uaXWh61Downloading artifacts for setup-test-env (4400964019)...62Downloading artifacts from coordinator... ok host=storage.googleapis.com id=4400964019 responseStatus=200 OK token=64_uaXWh64Using docker image sha256:61b59025d0d646cd177f654d8f81df859675be528f37dcc2ce6f39a49c7a5dd9 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-3.0.patched-golang-1.19-rust-1.65-node-18.16-postgresql-13: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.19-rust-1.65-node-18.16-postgresql-13@sha256:25367d41b1034f1ecacfc9cb8eebc70cb30c6fdade3781cf295488255bf61614 ...65$ echo $FOSS_ONLY66$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb67$ export GOPATH=$CI_PROJECT_DIR/.go68$ mkdir -p $GOPATH69$ source scripts/utils.sh70$ source scripts/prepare_build.sh725Using decomposed database config (config/database.yml.postgresql)726Geo DB will be set up.727Embedding DB will be set up.747$ source ./scripts/rspec_helpers.sh748$ run_timed_command "gem install knapsack --no-document"749$ gem install knapsack --no-document750Successfully installed knapsack-4.0.07511 gem installed752$ echo -e "\e[0Ksection_start:`date +%s`:gitaly-test-spawn[collapsed=true]\r\e[0KStarting Gitaly"753==> 'gem install knapsack --no-document' succeeded in 1 seconds.755$ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"760$ echo -e "\e[0Ksection_end:`date +%s`:gitaly-test-spawn\r\e[0K"761$ rspec_paralellized_job "--tag ~quarantine --tag ~level:background_migration"762SKIP_FLAKY_TESTS_AUTOMATICALLY: 763RETRY_FAILED_TESTS_IN_NEW_PROCESS: true764KNAPSACK_GENERATE_REPORT: true765FLAKY_RSPEC_GENERATE_REPORT: true766KNAPSACK_TEST_FILE_PATTERN: {ee/}spec/{commands,controllers,mailers,requests}{,/**/}*_spec.rb767KNAPSACK_LOG_LEVEL: debug768KNAPSACK_REPORT_PATH: knapsack/rspec-ee_integration_pg13_single-db-ci-connection_6_6_report.json769FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json770FLAKY_RSPEC_REPORT_PATH: rspec/flaky/all_rspec-ee_integration_pg13_single-db-ci-connection_6_6_report.json771NEW_FLAKY_RSPEC_REPORT_PATH: rspec/flaky/new_rspec-ee_integration_pg13_single-db-ci-connection_6_6_report.json772SKIPPED_TESTS_REPORT_PATH: rspec/skipped_tests_rspec-ee_integration_pg13_single-db-ci-connection_6_6.txt773CRYSTALBALL: 774RSPEC_TESTS_MAPPING_ENABLED: 775RSPEC_TESTS_FILTER_FILE: 776Knapsack report generator started!777warning: parser/current is loading parser/ruby30, which recognizes 3.0.5-compliant syntax, but you are running 3.0.6.779WARNING: Shared example group agent token tracking was defined without a block and will have no effect. Please define a block or remove the definition.. Called from /builds/gitlab-org/gitlab/ee/spec/requests/api/internal/kubernetes_spec.rb:404:in `block (2 levels) in <top (required)>'.780Run options: exclude {:quarantine=>true, :level=>"background_migration"}781Test environment set up in 0.542435038 seconds782RoutableActions783 #find_routable!784 when SAML SSO is enabled for resource785 resource: root_group, resource_visibility_level: "private", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"786 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled787 when resource is private788 for user789 redirects to group SSO page on GET requests790 resource: root_group, resource_visibility_level: "private", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Not enforced"791 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled792 when resource is private793 for user794 allows to read response of GET requests795 resource: root_group, resource_visibility_level: "private", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"796 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled797 when resource is private798 for user799 allows to read response of GET requests800 resource: subgroup, resource_visibility_level: "private", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"801 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled802 when resource is private803 for user804 redirects to group SSO page on GET requests805 resource: subgroup, resource_visibility_level: "private", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Enforced"806 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled807 when resource is private808 for user809 redirects to group SSO page on GET requests810 resource: subgroup, resource_visibility_level: "private", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"811 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled812 when resource is private813 for user814 allows to read response of GET requests815 resource: project, resource_visibility_level: "private", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"816 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled817 when resource is private818 for user819 redirects to group SSO page on GET requests820 resource: project, resource_visibility_level: "private", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Enforced"821 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled822 when resource is private823 for user824 redirects to group SSO page on GET requests825 resource: project, resource_visibility_level: "private", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"826 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled827 when resource is private828 for user829 allows to read response of GET requests830 resource: root_group, resource_visibility_level: "private", enforced_sso?: false, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"831 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled832 when resource is private833 for user834 allows to read response of GET requests835 resource: subgroup, resource_visibility_level: "private", enforced_sso?: false, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"836 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled837 when resource is private838 for user839 allows to read response of GET requests840 resource: project, resource_visibility_level: "private", enforced_sso?: false, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"841 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled842 when resource is private843 for user844 allows to read response of GET requests845 resource: root_group, resource_visibility_level: "private", enforced_sso?: false, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced; For signed in user, no access to the resource due to its visibility level"846 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled847 when resource is private848 for user849 does not redirect to group SSO page on GET requests, returns not_found instead850 resource: subgroup, resource_visibility_level: "private", enforced_sso?: false, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced; For signed in user, no access to the resource due to its visibility level"851 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled852 when resource is private853 for user854 does not redirect to group SSO page on GET requests, returns not_found instead855 resource: project, resource_visibility_level: "private", enforced_sso?: false, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced; For signed in user, no access to the resource due to its visibility level"856 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled857 when resource is private858 for user859 does not redirect to group SSO page on GET requests, returns not_found instead860 resource: root_group, resource_visibility_level: "private", enforced_sso?: false, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced; For not signed in user, no access to the resource due to its visibility level"861 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled862 when resource is private863 for user864 does not redirect to group SSO page on GET requests, redirects to /users/sign_in page instead865 resource: subgroup, resource_visibility_level: "private", enforced_sso?: false, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced; For not signed in user, no access to the resource due to its visibility level"866 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled867 when resource is private868 for user869 does not redirect to group SSO page on GET requests, redirects to /users/sign_in page instead870 resource: project, resource_visibility_level: "private", enforced_sso?: false, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced; For not signed in user, no access to the resource due to its visibility level"871 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled872 when resource is private873 for user874 does not redirect to group SSO page on GET requests, redirects to /users/sign_in page instead875 resource: root_group, resource_visibility_level: "private", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"876 when 'Enforce SSO-only authentication for web activity for this group' option is enabled877 when resource is private878 for user879 redirects to group SSO page on GET requests880 resource: root_group, resource_visibility_level: "private", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Not enforced"881 when 'Enforce SSO-only authentication for web activity for this group' option is enabled882 when resource is private883 for user884 allows to read response of GET requests885 resource: root_group, resource_visibility_level: "private", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"886 when 'Enforce SSO-only authentication for web activity for this group' option is enabled887 when resource is private888 for user889 allows to read response of GET requests890 resource: subgroup, resource_visibility_level: "private", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"891 when 'Enforce SSO-only authentication for web activity for this group' option is enabled892 when resource is private893 for user894 redirects to group SSO page on GET requests895 resource: subgroup, resource_visibility_level: "private", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Enforced"896 when 'Enforce SSO-only authentication for web activity for this group' option is enabled897 when resource is private898 for user899 redirects to group SSO page on GET requests900 resource: subgroup, resource_visibility_level: "private", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"901 when 'Enforce SSO-only authentication for web activity for this group' option is enabled902 when resource is private903 for user904 allows to read response of GET requests905 resource: project, resource_visibility_level: "private", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"906 when 'Enforce SSO-only authentication for web activity for this group' option is enabled907 when resource is private908 for user909 redirects to group SSO page on GET requests910 resource: project, resource_visibility_level: "private", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Enforced"911 when 'Enforce SSO-only authentication for web activity for this group' option is enabled912 when resource is private913 for user914 redirects to group SSO page on GET requests915 resource: project, resource_visibility_level: "private", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"916 when 'Enforce SSO-only authentication for web activity for this group' option is enabled917 when resource is private918 for user919 allows to read response of GET requests920 resource: root_group, resource_visibility_level: "private", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Enforced"921 when 'Enforce SSO-only authentication for web activity for this group' option is enabled922 when resource is private923 for user924 redirects to group SSO page on GET requests925 resource: root_group, resource_visibility_level: "private", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: true, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"926 when 'Enforce SSO-only authentication for web activity for this group' option is enabled927 when resource is private928 for user929 allows to read response of GET requests930 resource: subgroup, resource_visibility_level: "private", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Enforced"931 when 'Enforce SSO-only authentication for web activity for this group' option is enabled932 when resource is private933 for user934 redirects to group SSO page on GET requests935 resource: subgroup, resource_visibility_level: "private", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: true, user_with_saml_session?: nil, shared_examples: "SSO Enforced"936 when 'Enforce SSO-only authentication for web activity for this group' option is enabled937 when resource is private938 for user939 redirects to group SSO page on GET requests940 resource: project, resource_visibility_level: "private", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Enforced"941 when 'Enforce SSO-only authentication for web activity for this group' option is enabled942 when resource is private943 for user944 redirects to group SSO page on GET requests945 resource: project, resource_visibility_level: "private", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: true, user_with_saml_session?: nil, shared_examples: "SSO Enforced"946 when 'Enforce SSO-only authentication for web activity for this group' option is enabled947 when resource is private948 for user949 redirects to group SSO page on GET requests950 resource: root_group, resource_visibility_level: "private", enforced_sso?: true, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Enforced"951 when 'Enforce SSO-only authentication for web activity for this group' option is enabled952 when resource is private953 for user954 redirects to group SSO page on GET requests955 resource: subgroup, resource_visibility_level: "private", enforced_sso?: true, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Enforced"956 when 'Enforce SSO-only authentication for web activity for this group' option is enabled957 when resource is private958 for user959 redirects to group SSO page on GET requests960 resource: project, resource_visibility_level: "private", enforced_sso?: true, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Enforced"961 when 'Enforce SSO-only authentication for web activity for this group' option is enabled962 when resource is private963 for user964 redirects to group SSO page on GET requests965 resource: root_group, resource_visibility_level: "private", enforced_sso?: true, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Enforced"966 when 'Enforce SSO-only authentication for web activity for this group' option is enabled967 when resource is private968 for user969 redirects to group SSO page on GET requests970 resource: subgroup, resource_visibility_level: "private", enforced_sso?: true, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Enforced"971 when 'Enforce SSO-only authentication for web activity for this group' option is enabled972 when resource is private973 for user974 redirects to group SSO page on GET requests975 resource: project, resource_visibility_level: "private", enforced_sso?: true, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Enforced"976 when 'Enforce SSO-only authentication for web activity for this group' option is enabled977 when resource is private978 for user979 redirects to group SSO page on GET requests980 resource: root_group, resource_visibility_level: "public", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"981 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled982 when resource is public983 for user984 redirects to group SSO page on GET requests985 resource: root_group, resource_visibility_level: "public", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Not enforced"986 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled987 when resource is public988 for user989 allows to read response of GET requests990 resource: root_group, resource_visibility_level: "public", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"991 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled992 when resource is public993 for user994 allows to read response of GET requests995 resource: subgroup, resource_visibility_level: "public", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"996 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled997 when resource is public998 for user999 redirects to group SSO page on GET requests1000 resource: subgroup, resource_visibility_level: "public", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Enforced"1001 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1002 when resource is public1003 for user1004 redirects to group SSO page on GET requests1005 resource: subgroup, resource_visibility_level: "public", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"1006 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1007 when resource is public1008 for user1009 allows to read response of GET requests1010 resource: project, resource_visibility_level: "public", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"1011 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1012 when resource is public1013 for user1014 redirects to group SSO page on GET requests1015 resource: project, resource_visibility_level: "public", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Enforced"1016 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1017 when resource is public1018 for user1019 redirects to group SSO page on GET requests1020 resource: project, resource_visibility_level: "public", enforced_sso?: false, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"1021 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1022 when resource is public1023 for user1024 allows to read response of GET requests1025 resource: root_group, resource_visibility_level: "public", enforced_sso?: false, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1026 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1027 when resource is public1028 for user1029 allows to read response of GET requests1030 resource: subgroup, resource_visibility_level: "public", enforced_sso?: false, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1031 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1032 when resource is public1033 for user1034 allows to read response of GET requests1035 resource: project, resource_visibility_level: "public", enforced_sso?: false, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1036 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1037 when resource is public1038 for user1039 allows to read response of GET requests1040 resource: root_group, resource_visibility_level: "public", enforced_sso?: false, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1041 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1042 when resource is public1043 for user1044 allows to read response of GET requests1045 resource: subgroup, resource_visibility_level: "public", enforced_sso?: false, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1046 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1047 when resource is public1048 for user1049 allows to read response of GET requests1050 resource: project, resource_visibility_level: "public", enforced_sso?: false, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1051 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1052 when resource is public1053 for user1054 allows to read response of GET requests1055 resource: root_group, resource_visibility_level: "public", enforced_sso?: false, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1056 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1057 when resource is public1058 for user1059 allows to read response of GET requests1060 resource: subgroup, resource_visibility_level: "public", enforced_sso?: false, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1061 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1062 when resource is public1063 for user1064 allows to read response of GET requests1065 resource: project, resource_visibility_level: "public", enforced_sso?: false, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1066 when 'Enforce SSO-only authentication for web activity for this group' option is not enabled1067 when resource is public1068 for user1069 allows to read response of GET requests1070 resource: root_group, resource_visibility_level: "public", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"1071 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1072 when resource is public1073 for user1074 redirects to group SSO page on GET requests1075 resource: root_group, resource_visibility_level: "public", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Not enforced"1076 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1077 when resource is public1078 for user1079 allows to read response of GET requests1080 resource: root_group, resource_visibility_level: "public", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"1081 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1082 when resource is public1083 for user1084 allows to read response of GET requests1085 resource: subgroup, resource_visibility_level: "public", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"1086 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1087 when resource is public1088 for user1089 redirects to group SSO page on GET requests1090 resource: subgroup, resource_visibility_level: "public", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Enforced"1091 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1092 when resource is public1093 for user1094 redirects to group SSO page on GET requests1095 resource: subgroup, resource_visibility_level: "public", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"1096 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1097 when resource is public1098 for user1099 allows to read response of GET requests1100 resource: project, resource_visibility_level: "public", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: false, shared_examples: "SSO Enforced"1101 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1102 when resource is public1103 for user1104 redirects to group SSO page on GET requests1105 resource: project, resource_visibility_level: "public", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: true, user_with_saml_session?: false, shared_examples: "SSO Enforced"1106 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1107 when resource is public1108 for user1109 redirects to group SSO page on GET requests1110 resource: project, resource_visibility_level: "public", enforced_sso?: true, user: member_with_identity, user_is_resource_owner?: false, user_with_saml_session?: true, shared_examples: "SSO Not enforced"1111 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1112 when resource is public1113 for user1114 allows to read response of GET requests1115 resource: root_group, resource_visibility_level: "public", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Enforced"1116 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1117 when resource is public1118 for user1119 redirects to group SSO page on GET requests1120 resource: root_group, resource_visibility_level: "public", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: true, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1121 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1122 when resource is public1123 for user1124 allows to read response of GET requests1125 resource: subgroup, resource_visibility_level: "public", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Enforced"1126 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1127 when resource is public1128 for user1129 redirects to group SSO page on GET requests1130 resource: subgroup, resource_visibility_level: "public", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: true, user_with_saml_session?: nil, shared_examples: "SSO Enforced"1131 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1132 when resource is public1133 for user1134 redirects to group SSO page on GET requests1135 resource: project, resource_visibility_level: "public", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: false, user_with_saml_session?: nil, shared_examples: "SSO Enforced"1136 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1137 when resource is public1138 for user1139 redirects to group SSO page on GET requests1140 resource: project, resource_visibility_level: "public", enforced_sso?: true, user: member_without_identity, user_is_resource_owner?: true, user_with_saml_session?: nil, shared_examples: "SSO Enforced"1141 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1142 when resource is public1143 for user1144 redirects to group SSO page on GET requests1145 resource: root_group, resource_visibility_level: "public", enforced_sso?: true, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1146 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1147 when resource is public1148 for user1149 allows to read response of GET requests1150 resource: subgroup, resource_visibility_level: "public", enforced_sso?: true, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1151 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1152 when resource is public1153 for user1154 allows to read response of GET requests1155 resource: project, resource_visibility_level: "public", enforced_sso?: true, user: non_member, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1156 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1157 when resource is public1158 for user1159 allows to read response of GET requests1160 resource: root_group, resource_visibility_level: "public", enforced_sso?: true, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1161 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1162 when resource is public1163 for user1164 allows to read response of GET requests1165 resource: subgroup, resource_visibility_level: "public", enforced_sso?: true, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1166 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1167 when resource is public1168 for user1169 allows to read response of GET requests1170 resource: project, resource_visibility_level: "public", enforced_sso?: true, user: not_signed_in_user, user_is_resource_owner?: nil, user_with_saml_session?: nil, shared_examples: "SSO Not enforced"1171 when 'Enforce SSO-only authentication for web activity for this group' option is enabled1172 when resource is public1173 for user1174 allows to read response of GET requests1175API::Settings EE Settings1176 behaves like GET request permissions for admin mode1177 behaves like when admin1178 behaves like makes request1179 returns1180 behaves like makes request1181 returns1182 behaves like when user1183 returns1184 behaves like makes request1185 returns1186 PUT /application/settings1187 sets EE specific settings1188 behaves like PUT request permissions for admin mode1189 behaves like when admin1190 behaves like makes request1191 returns1192 behaves like makes request1193 returns1194 behaves like when user1195 returns1196 behaves like makes request1197 returns1198 elasticsearch settings1199 limits namespaces and projects properly1200 removes namespaces and projects properly1201 secret_detection_token_revocation_enabled is true1202 secret_detection_token_revocation_url value is present1203 updates secret_detection_token_revocation_url1204 missing secret_detection_token_revocation_url value1205 returns a blank parameter error message1206 openai api key setting1207 updates openai_api_key1208 anthropic api key setting1209 updates anthropic_api_key1210 mirroring settings1211 behaves like settings for licensed features1212 when the feature is not available1213 hides the attributes in the API1214 does not update application settings1215 when the feature is available1216 includes the attributes in the API1217 allows updating the settings1218 custom email footer1219 behaves like settings for licensed features1220 when the feature is not available1221 hides the attributes in the API1222 does not update application settings1223 when the feature is available1224 includes the attributes in the API1225 allows updating the settings1226 git_two_factor_session_expiry setting1227 behaves like settings for licensed features1228 when the feature is not available1229 hides the attributes in the API1230 does not update application settings1231 when the feature is available1232 includes the attributes in the API1233 allows updating the settings1234 default project deletion protection1235 behaves like settings for licensed features1236 when the feature is not available1237 hides the attributes in the API1238 does not update application settings1239 when the feature is available1240 includes the attributes in the API1241 allows updating the settings1242 default delayed group deletion1243 when `always_perform_delayed_deletion` is disabled1244 behaves like settings for licensed features1245 when the feature is not available1246 hides the attributes in the API1247 does not update application settings1248 when the feature is available1249 includes the attributes in the API1250 allows updating the settings1251 delayed project deletion1252 when `always_perform_delayed_deletion` is disabled1253 behaves like settings for licensed features1254 when the feature is not available1255 hides the attributes in the API1256 does not update application settings1257 when the feature is available1258 includes the attributes in the API1259 allows updating the settings1260 group_owners_can_manage_default_branch_protection setting1261 behaves like settings for licensed features1262 when the feature is not available1263 hides the attributes in the API1264 does not update application settings1265 when the feature is available1266 includes the attributes in the API1267 allows updating the settings1268 delayed deletion period1269 behaves like settings for licensed features1270 when the feature is not available1271 hides the attributes in the API1272 does not update application settings1273 when the feature is available1274 includes the attributes in the API1275 allows updating the settings1276 custom file template project1277 behaves like settings for licensed features1278 when the feature is not available1279 hides the attributes in the API1280 does not update application settings1281 when the feature is available1282 includes the attributes in the API1283 allows updating the settings1284 updating name disabled for users1285 behaves like settings for licensed features1286 when the feature is not available1287 hides the attributes in the API1288 does not update application settings1289 when the feature is available1290 includes the attributes in the API1291 allows updating the settings1292 merge request approvers rules1293 behaves like settings for licensed features1294 when the feature is not available1295 hides the attributes in the API1296 does not update application settings1297 when the feature is available1298 includes the attributes in the API1299 allows updating the settings1300 updating npm packages request forwarding1301 behaves like settings for licensed features1302 when the feature is not available1303 hides the attributes in the API1304 does not update application settings1305 when the feature is available1306 includes the attributes in the API1307 allows updating the settings1308 maintenance mode1309 behaves like settings for licensed features1310 when the feature is not available1311 hides the attributes in the API1312 does not update application settings1313 when the feature is available1314 includes the attributes in the API1315 allows updating the settings1316 when geo feature is disabled1317 with registration features disabled1318 hides the attributes in the API1319 does not update application settings1320 with registration features enabled1321 includes the attributes in the API1322 allows updating the settings1323 password complexity settings1324 behaves like settings for licensed features1325 when the feature is not available1326 hides the attributes in the API1327 does not update application settings1328 when the feature is available1329 includes the attributes in the API1330 allows updating the settings1331 git abuse rate limit settings1332 behaves like settings for licensed features1333 when the feature is not available1334 hides the attributes in the API1335 does not update application settings1336 when the feature is available1337 includes the attributes in the API1338 allows updating the settings1339 disable personal access tokens setting1340 behaves like settings for licensed features1341 when the feature is not available1342 hides the attributes in the API1343 does not update application settings1344 when the feature is available1345 includes the attributes in the API1346 allows updating the settings1347Admin::ApplicationSettingsController1348 PUT #update1349 updates the EE specific application settings1350 updates repository_size_limit1351 does not accept negative repository_size_limit1352 does not accept invalid repository_size_limit1353 does not accept empty repository_size_limit1354 mirror settings1355 behaves like settings for licensed features1356 does not update settings when licensed feature is not available1357 updates settings when the feature is available1358 default project deletion protection1359 behaves like settings for licensed features1360 does not update settings when licensed feature is not available1361 updates settings when the feature is available1362 when `always_perform_delayed_deletion` is disabled1363 default delayed group deletion1364 behaves like settings for licensed features1365 does not update settings when licensed feature is not available1366 updates settings when the feature is available1367 default delayed project deletion1368 behaves like settings for licensed features1369 does not update settings when licensed feature is not available1370 updates settings when the feature is available1371 updating name disabled for users setting1372 behaves like settings for licensed features1373 does not update settings when licensed feature is not available1374 updates settings when the feature is available1375 updating `group_owners_can_manage_default_branch_protection` setting1376 behaves like settings for licensed features1377 does not update settings when licensed feature is not available1378 updates settings when the feature is available1379 updating maven packages request forwarding setting1380 behaves like settings for licensed features1381 does not update settings when licensed feature is not available1382 updates settings when the feature is available1383 updating npm packages request forwarding setting1384 behaves like settings for licensed features1385 does not update settings when licensed feature is not available1386 updates settings when the feature is available1387 updating password complexity settings1388 behaves like settings for licensed features1389 does not update settings when licensed feature is not available1390 updates settings when the feature is available1391 behaves like settings for registration features1392 does not update settings when registration features are not available1393 updates settings when the registration features are available1394 updating pypi packages request forwarding setting1395 behaves like settings for licensed features1396 does not update settings when licensed feature is not available1397 updates settings when the feature is available1398 updating `git_two_factor_session_expiry` setting1399 behaves like settings for licensed features1400 does not update settings when licensed feature is not available1401 updates settings when the feature is available1402 updating maintenance mode setting1403 behaves like settings for licensed features1404 does not update settings when licensed feature is not available1405 updates settings when the feature is available1406 behaves like settings for registration features1407 does not update settings when registration features are not available1408 updates settings when the registration features are available1409 deletion adjourned period1410 behaves like settings for licensed features1411 does not update settings when licensed feature is not available1412 updates settings when the feature is available1413 additional email footer1414 behaves like settings for licensed features1415 does not update settings when licensed feature is not available1416 updates settings when the feature is available1417 custom project templates settings1418 behaves like settings for licensed features1419 does not update settings when licensed feature is not available1420 updates settings when the feature is available1421 merge request approvers rules1422 behaves like settings for licensed features1423 does not update settings when licensed feature is not available1424 updates settings when the feature is available1425 globally allowed IPs1426 behaves like settings for licensed features1427 does not update settings when licensed feature is not available1428 updates settings when the feature is available1429 required instance ci template1430 behaves like settings for licensed features1431 does not update settings when licensed feature is not available1432 updates settings when the feature is available1433 when ApplicationSetting already has a required_instance_ci_template value1434 with a valid value1435 behaves like settings for licensed features1436 does not update settings when licensed feature is not available1437 updates settings when the feature is available1438 with an empty value1439 sets required_instance_ci_template as nil1440 without key1441 does not set required_instance_ci_template to nil1442 verify panel actions1443 behaves like renders correct panels1444 renders correct action on error1445 redirects to same panel on success1446 behaves like renders correct panels1447 renders correct action on error1448 redirects to same panel on success1449 behaves like renders correct panels1450 renders correct action on error1451 redirects to same panel on success1452 maintenance mode settings1453 updates maintenance_mode setting1454 updates maintenance_mode_message setting1455 when update disables maintenance mode1456 removes maintenance_mode_message setting1457 when update does not disable maintenance mode1458 does not remove maintenance_mode_message1459 when updating maintenance_mode_message with empty string1460 removes maintenance_mode_message1461 #advanced_search1462 check search version is compatability1463 does not alert when version is compatible1464 alerts when version is incompatible1465 warning if not using index aliases1466 warns when NOT using index aliases1467 does NOT warn when using index aliases1468 does NOT blow up if elasticsearch is unreachable1469 warning outdated code search mappings1470 warns when outdated code mappings are used1471 warns when meta field is not present1472 does NOT warn when using new mappings1473 does NOT blow up if elasticsearch is unreachable1474 advanced search settings1475 updates the advanced search settings1476 zero-downtime elasticsearch reindexing1477 assigns last elasticsearch reindexing task1478 elasticsearch_aws_secret_access_key setting is blank1479 does not update the elasticsearch_aws_secret_access_key setting1480 GET #seat_link_payload1481 when a non-admin user attempts a request1482 returns a 404 response1483 when an admin user attempts a request1484 returns HTML data1485 returns JSON data1486API::Namespaces1487 GET /namespaces1488 when authenticated as admin1489 returns correct attributes1490 when authenticated as a regular user1491 returns correct attributes when user can admin group1492 returns correct attributes when user cannot admin group1493 when passing the requested hosted plan1494 without a requested plan1495 counts guest members1496 when requesting an invalid plan1497 counts guest members1498 when requesting bronze plan1499 counts guest members1500 when requesting premium plan1501 counts guest members1502 when requesting gold plan1503 does not count guest members1504 with gitlab subscription1505 includes max_seats_used1506 includes max_seats_used_changed_at1507 includes seats_in_use1508 avoids additional N+1 database queries1509 is expected not to exceed all query limit #<ActiveRecord::QueryRecorder:0x00007f3030c81308 @data={"/app/models/concerns/token_authenticatable_s...skip_cached=false, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=55>1510 without gitlab subscription1511 does not include max_seats_used1512 does not include max_seats_used_changed_at1513 does not include seats_in_use1514 PUT /namespaces/:id1515 behaves like PUT request permissions for admin mode1516 behaves like when admin1517 behaves like makes request1518 returns1519 behaves like makes request1520 returns1521 behaves like when user1522 returns1523 behaves like makes request1524 returns1525 when authenticated as admin1526 updates namespace using full_path when full_path contains dots1527 updates namespace using id1528 expires the CI minutes CachedQuota1529 when current CI minutes notification level is set1530 resets the current CI minutes notification level1531 when request has extra_shared_runners_minutes_limit param1532 updates the extra shared runners minutes limit1533 updates pending builds data since adding extra minutes the quota is not used up anymore1534 behaves like handles monthly usage1535 expires the CI minutes CachedQuota1536 resets the current CI minutes notification level1537 when shared_runners_minutes_limit param is present1538 behaves like handles monthly usage1539 expires the CI minutes CachedQuota1540 resets the current CI minutes notification level1541 when neither minutes limit params is provided1542 does not expire the CI minutes CachedQuota1543 when current CI minutes notification level is set1544 does not reset the current CI minutes notification level1545 when not authenticated as admin1546 retuns 4031547 when namespace not found1548 returns 4041549 when project namespace is passed1550 returns 4041551 when invalid params1552 attr: :shared_runners_minutes_limit1553 returns validation error for []1554 attr: :additional_purchased_storage_size1555 returns validation error for []1556 attr: :additional_purchased_storage_ends_on1557 returns validation error for []1558 when namespace has a value for last_ci_minutes_notification_at1559 resets that value when assigning extra CI minutes1560 when namespace has a value for last_ci_minutes_usage_notification_level1561 resets that value when assigning extra CI minutes1562 when customer purchases extra CI minutes1563 ticks instance runners1564 when passing attributes for gitlab_subscription1565 creates the gitlab_subscription record1566 updates the gitlab_subscription record1567 when params are invalid1568 returns a 400 error1569 POST :id/gitlab_subscription1570 behaves like POST request permissions for admin mode1571 behaves like when admin1572 behaves like makes request1573 returns1574 behaves like makes request1575 returns1576 behaves like when user1577 returns1578 behaves like makes request1579 returns1580 when authenticated as a regular user1581 returns an unauthorized error1582 when authenticated as an admin1583 fails when some attrs are missing1584 fails when the record is invalid1585 creates a subscription for the Group1586 sets the trial_starts_on to the start_date1587 creates a subscription using full_path when the namespace path contains dots1588 when namespace does not exist1589 creates a subscription using full_path when the namespace path contains dots1590 when creating subscription for project namespace1591 creates a subscription using full_path when the namespace path contains dots1592 GET :id/gitlab_subscription1593 with a developer user1594 returns an unauthorized error1595 using a user namespace does not error1596 behaves like authorized user using user namespace for billing1597 has access to the object1598 is successful using full_path when namespace path contains dots1599 with a maintainer1600 returns an unauthorized error1601 using a user namespace does not error1602 behaves like authorized user using user namespace for billing1603 has access to the object1604 is successful using full_path when namespace path contains dots1605 with an auditor1606 without :auditor_billing_page_access feature flag1607 returns an unauthorized error1608 with :auditor_billing_page_access feature flag1609 behaves like authorized user using group namespace for billing1610 returns data in a proper format1611 behaves like authorized user using user namespace for billing1612 has access to the object1613 is successful using full_path when namespace path contains dots1614 using a user namespace1615 behaves like authorized user using user namespace for billing1616 has access to the object1617 is successful using full_path when namespace path contains dots1618 with the owner of the Group1619 behaves like authorized user using group namespace for billing1620 returns data in a proper format1621 behaves like authorized user using user namespace for billing1622 has access to the object1623 is successful using full_path when namespace path contains dots1624 using a user namespace1625 behaves like authorized user using user namespace for billing1626 has access to the object1627 is successful using full_path when namespace path contains dots1628 for groups inherits exclude_guests1629 returns true for Ultimate-like plans1630 when namespace is a project namespace1631 returns a 404 error1632 PUT :id/gitlab_subscription1633 behaves like PUT request permissions for admin mode1634 behaves like when admin1635 behaves like makes request1636 returns1637 behaves like makes request1638 returns1639 behaves like when user1640 returns1641 behaves like makes request1642 returns1643 when authenticated as a regular user1644 returns an unauthorized error1645 when authenticated as an admin1646 when namespace is not found1647 returns a 404 error1648 when namespace does not have a subscription1649 returns a 404 error1650 when namespace is a project namespace1651 returns a 404 error1652 when params are invalid1653 returns a 400 error1654 when params are valid1655 updates the subscription for the Group1656 is successful using full_path when namespace path contains dots1657 does not clear out existing data because of defaults1658 updates the timestamp when the attributes are the same1659 when starting a new term1660 resets the seat attributes for the subscription1661 setting the trial expiration date1662 when the attr has a future date1663 updates the trial expiration date1664 POST :id/storage/limit_exclusion1665 when on GitLab.com1666 when authenticated as an admin1667 when params are valid1668 creates the exclusion for the Namespace1669 when an exclusion already exists1670 returns a 400 error1671 when namespace is not found1672 returns a 404 error1673 when namespace is not the root ancestor1674 returns a 400 error1675 when params are invalid1676 returns a 400 error1677 when unauthenticated1678 returns a 401 error1679 when authenticated as a regular user1680 returns an unauthorized error1681 when not on GitLab.com1682 returns 403 error1683 DELETE :id/storage/limit_exclusion1684 when on GitLab.com1685 when authenticated as an admin1686 when an exclusion exists1687 when the deletion is successful1688 returns success1689 when there is an error deleting1690 returns an error1691 when namespace is not found1692 returns a 404 error1693 when namespace is not the root ancestor1694 returns a 400 error1695 when no exclusion exists1696 returns a 400 error1697 when authenticated as a regular user1698 returns an unauthorized error1699 when unauthenticated1700 returns a 401 error1701 when not on GitLab.com1702 returns 403 error1703 GET /storage/limit_exclusions1704 when on GitLab.com1705 when authenticated as an admin1706 returns all limit exclusions1707 when authenticated as a regular user1708 returns a 403 error1709 when unauthenticated1710 returns a 401 error1711 when not on GitLab.com1712 returns 403 error1713API::MergeRequestApprovalRules1714 GET /projects/:id/merge_requests/:merge_request_iid/approval_rules/:approval_rule_id1715 behaves like getting approval rule/s1716 user cannot read merge request1717 responds with 4031718 user can read merge request1719 matches the response schema1720 groups contain private groups1721 current_user cannot see private group1722 hides private group1723 current_user can see private group1724 shows private group1725 has existing merge request rule that overrides a project-level rule1726 includes source_rule1727 GET /projects/:id/merge_requests/:merge_request_iid/approval_rules1728 behaves like getting approval rule/s1729 user cannot read merge request1730 responds with 4031731 user can read merge request1732 matches the response schema1733 groups contain private groups1734 current_user cannot see private group1735 hides private group1736 current_user can see private group1737 shows private group1738 has existing merge request rule that overrides a project-level rule1739 includes source_rule1740 user can read merge request1741 returns the correct amount of rules1742 POST /projects/:id/merge_requests/:merge_request_iid/approval_rules1743 behaves like a protected API endpoint for merge request approval rule action1744 disable_overriding_approvers_per_merge_request is set to true1745 responds with 4031746 disable_overriding_approvers_per_merge_request is set to false1747 user cannot update merge request1748 responds with 4031749 when user can update merge request and approval rules can be overridden1750 matches the response schema1751 users are passed1752 includes users1753 groups are passed1754 includes groups1755 usernames are passed1756 includes users1757 usernames and user_ids are passed1758 includes users1759 approval_project_rule_id is passed1760 with blank approver params1761 copies the attributes from the project rule except approvers1762 with omitted approver params1763 copies the attributes from the project rule except approvals_required1764 PUT /projects/:id/merge_requests/:merge_request_iid/approval_rules/:approval_rule_id1765 behaves like a protected API endpoint for merge request approval rule action1766 disable_overriding_approvers_per_merge_request is set to true1767 responds with 4031768 disable_overriding_approvers_per_merge_request is set to false1769 user cannot update merge request1770 responds with 4031771 when user can update merge request and approval rules can be overridden1772 matches the response schema1773 behaves like a protected API endpoint that only allows action on regular merge request approval rule1774 approval rule is not a regular type1775 responds with 4031776 users are passed1777 changes users1778 groups are passed1779 changes groups1780 remove_hidden_groups is passed1781 when set to true1782 removes the existing private group1783 when set to false1784 does not remove the existing private group1785 usernames are passed1786 includes users1787 DELETE /projects/:id/merge_requests/:merge_request_iid/approval_rules/:approval_rule_id1788 behaves like a protected API endpoint for merge request approval rule action1789 disable_overriding_approvers_per_merge_request is set to true1790 responds with 4031791 disable_overriding_approvers_per_merge_request is set to false1792 user cannot update merge request1793 responds with 4031794 when user can update merge request and approval rules can be overridden1795 responds with 2041796 behaves like a protected API endpoint that only allows action on regular merge request approval rule1797 approval rule is not a regular type1798 responds with 4031799API::Releases1800 POST /projects/:id/releases1801 updates the AuditEvent1802 without milestone1803 with milestone1804 is expected to include {:custom_message => "Created Release v0.1 with Milestone v1.0", :target_type => "Release", :target_id => 2, :target_details => "New release"}1805 with a group milestone1806 succesfully adds a group milestone1807 adds the milestone1808 fails to add a group milestone if project does not belong to this group1809 returns a 400 error as milestone not found1810 when valid group and project milestones are passed1811 adds the milestone1812 with a supergroup milestone1813 returns a 400 error as milestone not found1814 PUT /projects/:id/releases/:tag_name1815 creates an AuditEvent when a release is updated1816 with milestones1817 no existing milestones1818 add single milestone1819 behaves like update with milestones1820 is expected to eq "Milestones associated with release changed to v1.0"1821 add multiple milestones1822 behaves like update with milestones1823 is expected to eq "Milestones associated with release changed to v1.0, v2.0"1824 existing milestone1825 add milestone1826 behaves like update with milestones1827 is expected to eq "Milestones associated with release changed to v0.1, v1.0"1828 replace milestone1829 behaves like update with milestones1830 is expected to eq "Milestones associated with release changed to v1.0"1831 remove all milestones1832 behaves like update with milestones1833 is expected to eq "Milestones associated with release changed to [none]"1834 with group milestones1835 when a group milestone is passed1836 when there is no project milestone1837 adds the group milestone1838 when there is an existing project milestone1839 replaces the project milestone with the group milestone1840 POST /projects/:id/releases/:tag_name/evidence1841 accepts the request1842 accepts the request when using JOB-TOKEN auth1843 creates the Evidence1844 when tag_name is invalid1845 returns a 4041846 when user is a reporter1847 forbids the request1848 when user is a developer1849 accepts the request1850 when user is not a project member1851 forbids the request1852 when project is public1853 forbids the request1854 DELETE /projects/:id/releases/:tag_name1855 creates an AuditEvent when a release is deleted1856API::MergeRequestApprovals1857 GET :id/merge_requests/:merge_request_iid/approvals1858 retrieves the approval status1859 lists unapproved rule names1860 when private group approver1861 hides private group1862 when admin1863 shows all approver groups1864 when approvers are set to zero1865 returns a 2001866 when merge_status is cannot_be_merged_rechecking1867 returns `checking`1868 GET :id/merge_requests/:merge_request_iid/approval_settings1869 retrieves the approval rules details1870 behaves like an API endpoint for getting merge request approval state1871 when source rule is present1872 returns source rule details1873 when rule has groups1874 when user can view a group1875 includes group1876 when user cannot view a group included in groups1877 excludes private groups1878 when rule has a section1879 exposes the value of section when set1880 when target_branch is specified1881 filters the rules returned by target branch1882 GET :id/merge_requests/:merge_request_iid/approval_state1883 retrieves the approval state details1884 behaves like an API endpoint for getting merge request approval state1885 when source rule is present1886 returns source rule details1887 when rule has groups1888 when user can view a group1889 includes group1890 when user cannot view a group included in groups1891 excludes private groups1892 POST :id/merge_requests/:merge_request_iid/approvals1893 when feature flag "adapt_deprecated_approvals" is enabled1894 behaves like POST request permissions for admin mode1895 behaves like when admin1896 behaves like makes request1897 returns1898 behaves like makes request1899 returns1900 behaves like when user1901 returns1902 behaves like makes request1903 returns1904 when disable_overriding_approvers_per_merge_request is true on the project1905 does not allow you to set approvals_before_merge1906 as a project admin1907 behaves like user allowed to override approvals_before_merge1908 when approval rule is missing for the merge request1909 creates an approval rule with required number of approvals1910 behaves like cannot update approval rules1911 when users cannot update approval rules1912 returns 403 error1913 when approval rules already exist for the merge request1914 updates any approval rule with required number of approvals1915 behaves like cannot update approval rules1916 when users cannot update approval rules1917 returns 403 error1918 as a global admin1919 behaves like user allowed to override approvals_before_merge1920 when approval rule is missing for the merge request1921 creates an approval rule with required number of approvals1922 behaves like cannot update approval rules1923 when users cannot update approval rules1924 returns 403 error1925 when approval rules already exist for the merge request1926 updates any approval rule with required number of approvals1927 behaves like cannot update approval rules1928 when users cannot update approval rules1929 returns 403 error1930 as a random user1931 does not allow you to override approvals required1932 when feature flag "adapt_deprecated_approvals" is disabled1933 additionally updates approvals_before_merge on merge request1934 as a project admin1935 behaves like user allowed to override approvals_before_merge1936 when disable_overriding_approvers_per_merge_request is false on the project1937 allows you to set approvals required1938 when disable_overriding_approvers_per_merge_request is true on the project1939 does not allow you to set approvals_before_merge1940 as a global admin1941 behaves like user allowed to override approvals_before_merge1942 when disable_overriding_approvers_per_merge_request is false on the project1943 allows you to set approvals required1944 when disable_overriding_approvers_per_merge_request is true on the project1945 does not allow you to set approvals_before_merge1946 as a random user1947 does not allow you to override approvals required1948 POST :id/merge_requests/:merge_request_iid/approve1949 as the author of the merge request1950 returns a 4011951 as a valid approver1952 only shows group approvers visible to the user1953 when the sha param is not set1954 approves the merge request1955 when the sha param is correct1956 approves the merge request1957 when the sha param is incorrect1958 returns a 4091959 does not approve the merge request1960 when project requires force auth for approval1961 does not approve the merge request with no password1962 does not approve the merge request with incorrect password1963 approves the merge request with correct password1964 POST :id/merge_requests/:merge_request_iid/unapprove1965 as a user who has approved the merge request1966 unapproves the merge request1967 only shows group approvers visible to the user1968Updating an epic tree1969 when epics and subepics features are enabled1970 when the user does not have permission1971 returns the error message1972 behaves like a mutation that does not update the tree1973 does not change relative_positions1974 when user cannot reorder issue1975 returns the error message1976 behaves like a mutation that does not update the tree1977 does not change relative_positions1978 when user cannot reorder adjacent reference1979 returns the error message1980 behaves like a mutation that does not update the tree1981 does not change relative_positions1982 when the user has permission1983 when moving an epic1984 when moving an epic is successful1985 updates the epics relative positions1986 returns nil in errors1987 when a new_parent_id is provided1988 updates the epics relative positions and updates the parent1989 returns nil in errors1990 when relative_position is invalid1991 behaves like a mutation that returns top-level errors1992 is expected to contain exactly "Variable $epicTreeReorderInput of type EpicTreeReorderInput! was provided invalid value for moved.relativePosition (Expected \"invalid\" to be one of: before, after)"1993 when object being moved is not supported type1994 returns the error message1995 when moving an epic fails due to the parents of the relative position object and the moving object mismatching1996 returns the error message1997 behaves like a mutation that does not update the tree1998 does not change relative_positions1999 when the new parent is another epic and subepics feature is disabled2000 returns the error message2001 behaves like a mutation that does not update the tree2002 does not change relative_positions2003 when moving an issue2004 updates the epics relative positions2005 returns nil in errors2006 when a new_parent_id is provided2007 updates the epic's relative positions and parent2008 returns nil in errors2009 when moving an issue fails due to the parents of the relative position object and the moving object mismatching2010 returns the error message2011 behaves like a mutation that does not update the tree2012 does not change relative_positions2013API::MergeRequests2014 PUT /projects/:id/merge_requests2015 multiple assignees2016 when licensed2017 creates merge request with multiple assignees2018 when assignees is over the limit2019 does not create merge request with too many assignees2020 when not licensed2021 creates merge request with a single assignee2022 reviewers over the max limit2023 when licensed2024 does not create merge request with too many reviewers2025 when not licensed2026 creates merge request with a single reviewer2027 when updating existing approval rules2028 is successful2029 POST /projects/:id/create_ci_config2030 when authorized2031 returns success response2032 when create ci config service returns error2033 returns error response2034 when unauthorized2035 does not create merge request2036 POST /projects/:id/merge_requests2037 reviewers over the max limit2038 when licensed2039 does not create merge request with too many reviewers2040 when not licensed2041 creates merge request with a single reviewer2042 multiple assignees2043 when licensed2044 creates merge request with multiple assignees2045 when not licensed2046 creates merge request with a single assignee2047 between branches projects2048 returns merge_request2049 the approvals_before_merge param2050 when the target project has disable_overriding_approvers_per_merge_request set to true2051 does not set approvals_before_merge2052 when the target project has disable_overriding_approvers_per_merge_request set to false2053 sets approvals_before_merge2054 when the project has approval rules2055 inherits project-level approval rules2056 PUT /projects/:id/merge_requests/:merge_request_iid/merge2057 returns 405 if merge request was not approved2058 returns 200 if merge request was approved2059 DELETE /projects/:id/merge_requests/:merge_request_iid2060 when the merge request is on the merge train2061 removes train ref2062 when authenticated2063 filter merge requests by assignee ID2064 returns merge requests with given assignee ID2065 filter merge requests by approver IDs2066 with specified approver id2067 returns an array of merge requests which have specified the user as an approver2068 with specified None as a param2069 returns an array of merge requests with no approvers2070 with specified Any as a param2071 returns an array of merge requests with any approver2072 with any other string as a param2073 returns a validation error2074 filter merge requests by approved_by_ids2075 behaves like filter merge requests by approved_by_x2076 with specified approved_by param2077 returns an array of merge requests which have specified the user as an approver2078 with multiple specified approved_by params2079 when approved by all users2080 returns an array of merge requests which have specified the user as an approver2081 when not approved by all users2082 does not return any merge request2083 with specified None as a param2084 returns an array of merge requests with no approvers2085 with specified Any as a param2086 returns an array of merge requests with any approver2087 with any other string as a param2088 returns a validation error2089 filter merge requests by approved_by_usernames2090 behaves like filter merge requests by approved_by_x2091 with specified approved_by param2092 returns an array of merge requests which have specified the user as an approver2093 with multiple specified approved_by params2094 when approved by all users2095 returns an array of merge requests which have specified the user as an approver2096 when not approved by all users2097 does not return any merge request2098 with specified None as a param2099 returns an array of merge requests with no approvers2100 with specified Any as a param2101 returns an array of merge requests with any approver2102 with any other string as a param2103 returns a validation error2104Projects::MergeRequestsController2105 GET #edit2106 when the project requires code owner approval2107 does not cause an extra queries when code owner rules are present2108 does not cause extra queries when multiple code owner rules are present2109 GET #index2110 avoids N+12111 security_reports2112 when the user can not read project security resources2113 responds with 4042114 when the user can read project security resources2115 when the pipeline is pending2116 returns 204 HTTP status along with the `Poll-Interval` header2117 when the pipeline is not pending2118 when the given type is invalid2119 responds with 4002120 when the given type is valid2121 when comparison is being processed2122 returns 204 HTTP status along with the `Poll-Interval` header2123 when comparison is done2124 when the comparison is errored2125 responds with 4002126 when the comparision is succeeded2127 responds with 200 along with the report payload2128Registrations::GroupsController2129 GET #new2130 with an unauthenticated user2131 is expected to respond with numeric status code redirect2132 is expected to redirect to "/users/sign_in"2133 with an authenticated user2134 when on .com2135 is expected to respond with numeric status code ok2136 is expected to render template new2137 assigns the group variable to a new Group with the default group visibility2138 builds a project object2139 tracks the new group view event2140 when on trial2141 tracks the new group view event2142 when user does not have the ability to create a group2143 is expected to respond with numeric status code not_found2144 when not on .com2145 is expected to respond with numeric status code not_found2146 behaves like hides email confirmation warning2147 with an unconfirmed email address present2148 is expected not to set confirm warning for "unconfirmed@gitlab.com"2149 without an unconfirmed email address present2150 is expected not to set confirm warning for "user934@example.org"2151 POST #create2152 with an unauthenticated user2153 is expected to respond with numeric status code redirect2154 is expected to redirect to "/users/sign_in"2155 with an authenticated user2156 creates a group and project2157 tracks submission event2158 behaves like hides email confirmation warning2159 with an unconfirmed email address present2160 is expected not to set confirm warning for "unconfirmed@gitlab.com"2161 without an unconfirmed email address present2162 is expected not to set confirm warning for "user936@example.org"2163 behaves like finishing onboarding2164 when current user onboarding is disabled2165 does not finish onboarding2166 when not on SaaS2167 does not finish onboarding2168 when ensure_onboarding is disabled2169 does not finish onboarding2170 when onboarding is enabled2171 finishes onboarding2172 when on trial2173 tracks submission event2174 when there is no suggested path based from the name2175 creates a group2176 when the group cannot be created2177 does not create a group2178 the project is not disregarded completely2179 is expected to respond with numeric status code ok2180 is expected to render template new2181 does not tracks submission event2182 with signup onboarding not enabled2183 is expected to respond with numeric status code not_found2184 when group can be created but the project can't2185 does not create a project2186 is expected to respond with numeric status code ok2187 is expected to render template new2188 when a group is already created but a project isn't2189 creates a project and not another group2190 when redirecting2191 is expected to redirect to "/namespace102/project-130/-/learn_gitlab/onboarding"2192 when trial_onboarding_flow2193 is expected to redirect to "/namespace102/project-130/-/learn_gitlab/onboarding?trial_onboarding_flow=true"2194 when the `registration_verification` experiment is enabled2195 is expected to store the success path and redirect to the verification page2196 POST #import2197 with an unauthenticated user2198 is expected to respond with numeric status code redirect2199 is expected to redirect to "/users/sign_in"2200 with an authenticated user2201 behaves like hides email confirmation warning2202 with an unconfirmed email address present2203 is expected not to set confirm warning for "unconfirmed@gitlab.com"2204 without an unconfirmed email address present2205 is expected not to set confirm warning for "user940@example.org"2206 behaves like finishing onboarding2207 when current user onboarding is disabled2208 does not finish onboarding2209 when not on SaaS2210 does not finish onboarding2211 when ensure_onboarding is disabled2212 does not finish onboarding2213 when onboarding is enabled2214 finishes onboarding2215 when a group can't be created2216 is expected to render template new2217 when there is no suggested path based from the group name2218 creates a group, and redirects2219 when group can be created2220 creates a group2221 redirects to the import url with a namespace_id parameter2222API::Deployments2223 GET /projects/:id/deployments/:id2224 matches the response schema2225 with multiple approval rules2226 has approval summary2227 POST /projects/:id/deployments2228 matches the response schema2229 when deploying to a protected environment that requires maintainer access2230 returns a 403 when the user is a developer2231 creates the deployment when the user is a maintainer2232 when deploying to a protected environment that requires developer access2233 returns a 403 when the user is a guest2234 creates the deployment when the user is a developer2235 PUT /projects/:id/deployments/:deployment_id2236 matches the response schema2237 when updating a deployment for a protected environment that requires maintainer access2238 returns a 403 when the user is a developer2239 updates the deployment when the user is a maintainer2240 when updating a deployment for a protected environment that requires developer access2241 returns a 403 when the user is a guest2242 updates the deployment when the user is a developer2243 DELETE /projects/:id/deployments/:deployment_id2244 with protected environment2245 with admin deploy2246 maintainer cannot delete a deployment2247 with maintainer deploy2248 maintainer can delete a deployment2249 POST /projects/:id/deployments/:deployment_id/approval2250 when user is authorized to read project2251 and Protected Environments feature is available2252 and user is authorized to update deployment2253 creates an approval2254 creates a rejection2255 creates an approval with a comment2256 with multiple approval rules2257 creates an approval2258 creates an approval when the user represents the group2259 does not create an approval when the user does not represent the group2260 and user is not authorized to update deployment2261 does not create an approval2262 with an invalid status2263 does not create an approval2264 with a deployment that does not belong to the project2265 does not create an approval2266 with a deployment that does not exist2267 does not create an approval2268 when Protected Environments feature is not available2269 does not create an approval2270 when user is Guest2271 does not create an approval2272 when user is not authorized to read project2273 does not create an approval2274Groups::Analytics::CycleAnalytics::StagesController2275 behaves like Value Stream Analytics Stages controller2276 GET #index2277 succeeds2278 returns correct start events2279 does not include internal events2280 succeeds for subgroups2281 renders `forbidden` based on the response of the service object2282 when `group_id` is not found2283 renders `not_found` when group is missing2284 when user has no lower access level than `reporter`2285 renders `forbidden` response2286 when feature is not available for the group2287 renders `forbidden` response2288 data endpoints2289 GET #median2290 matches the response schema2291 when valid parameters are given2292 succeeds2293 accepts optional `project_ids` array2294 succeeds2295 when `created_before` is missing2296 succeeds2297 when `created_after` is missing2298 succeeds2299 when `created_after` is invalid, falls back to default date2300 is expected to respond with numeric status code success2301 when `created_before` is invalid2302 renders `unprocessable_entity`2303 when `created_after` is later than `created_before`2304 renders `unprocessable_entity`2305 when the date range exceeds 180 days2306 renders `unprocessable_entity`2307 GET #average2308 matches the response schema2309 when valid parameters are given2310 succeeds2311 accepts optional `project_ids` array2312 succeeds2313 when `created_before` is missing2314 succeeds2315 when `created_after` is missing2316 succeeds2317 when `created_after` is invalid, falls back to default date2318 is expected to respond with numeric status code success2319 when `created_before` is invalid2320 renders `unprocessable_entity`2321 when `created_after` is later than `created_before`2322 renders `unprocessable_entity`2323 when the date range exceeds 180 days2324 renders `unprocessable_entity`2325 GET #records2326 when valid parameters are given2327 succeeds2328 accepts optional `project_ids` array2329 succeeds2330 when `created_before` is missing2331 succeeds2332 when `created_after` is missing2333 succeeds2334 when `created_after` is invalid, falls back to default date2335 is expected to respond with numeric status code success2336 when `created_before` is invalid2337 renders `unprocessable_entity`2338 when `created_after` is later than `created_before`2339 renders `unprocessable_entity`2340 when the date range exceeds 180 days2341 renders `unprocessable_entity`2342 when `group_id` is not found2343 renders `not_found` when group is missing2344 when user has no lower access level than `reporter`2345 renders `forbidden` response2346 when feature is not available for the group2347 renders `forbidden` response2348 sort params2349 accepts sort params2350 pagination2351 exposes pagination headers2352 GET #average_duration_chart2353 matches the response schema2354 fills all dates between the given range2355 when valid parameters are given2356 succeeds2357 accepts optional `project_ids` array2358 succeeds2359 when `created_before` is missing2360 succeeds2361 when `created_after` is missing2362 succeeds2363 when `created_after` is invalid, falls back to default date2364 is expected to respond with numeric status code success2365 when `created_before` is invalid2366 renders `unprocessable_entity`2367 when `created_after` is later than `created_before`2368 renders `unprocessable_entity`2369 when the date range exceeds 180 days2370 renders `unprocessable_entity`2371 when `group_id` is not found2372 renders `not_found` when group is missing2373 when user has no lower access level than `reporter`2374 renders `forbidden` response2375 when feature is not available for the group2376 renders `forbidden` response2377 GET #count2378 matches the response schema2379 when valid parameters are given2380 succeeds2381 accepts optional `project_ids` array2382 succeeds2383 when `created_before` is missing2384 succeeds2385 when `created_after` is missing2386 succeeds2387 when `created_after` is invalid, falls back to default date2388 is expected to respond with numeric status code success2389 when `created_before` is invalid2390 renders `unprocessable_entity`2391 when `created_after` is later than `created_before`2392 renders `unprocessable_entity`2393 when the date range exceeds 180 days2394 renders `unprocessable_entity`2395 when `group_id` is not found2396 renders `not_found` when group is missing2397 when user has no lower access level than `reporter`2398 renders `forbidden` response2399 when feature is not available for the group2400 renders `forbidden` response2401API::EpicLinks2402 GET /groups/:id/epics/:epic_iid/epics2403 behaves like user does not have access2404 returns 403 when subepics feature is disabled2405 returns 404 not found error for a user without permissions to see the group2406 unauthenticated user2407 returns 401 unauthorized error2408 when subepics feature is enabled2409 returns 200 status2410 with group hierarchy2411 returns children from any group hierarchy2412 executes limited number of N+1 queries2413 POST /groups/:id/epics/:epic_iid/epics/child_epic_id2414 behaves like user does not have access2415 returns 403 when subepics feature is disabled2416 returns 404 not found error for a user without permissions to see the group2417 unauthenticated user2418 returns 401 unauthorized error2419 when subepics feature is enabled2420 when user is not a member2421 returns 4032422 when user is guest2423 returns 201 status2424 when target epic cannot be read2425 returns 404 status2426 POST /groups/:id/epics/:epic_iid/epics2427 behaves like user does not have access2428 returns 403 when subepics feature is disabled2429 returns 404 not found error for a user without permissions to see the group2430 unauthenticated user2431 returns 401 unauthorized error2432 when subepics feature is enabled2433 when user is not a member2434 returns 4032435 when user is a guest2436 returns 201 status2437 when user is a reporter2438 returns 201 status2439 does apply the confidential parameter if set2440 when the parent epic is confidential2441 copies the confidentiality status from the parent epic2442 does not allow creating a non-confidential sub-epic2443 and epic has errors2444 returns 400 error2445 PUT /groups/:id/epics/:epic_iid/epics/:child_epic_id2446 behaves like user does not have access2447 returns 403 when subepics feature is disabled2448 returns 404 not found error for a user without permissions to see the group2449 unauthenticated user2450 returns 401 unauthorized error2451 when subepics are enabled2452 when user has permissions to reorder epics2453 returns status 2002454 when child belongs to a different group hierarchy2455 returns status 404 if user is not a member2456 returns status 200 if user has guest access2457 when user does not have permissions to reorder epics2458 returns status 4032459 DELETE /groups/:id/epics/:epic_iid/epics2460 behaves like user does not have access2461 returns 403 when subepics feature is disabled2462 returns 404 not found error for a user without permissions to see the group2463 unauthenticated user2464 returns 401 unauthorized error2465 when epics feature is enabled2466 when user is not a member2467 returns 4032468 when user is guest2469 returns 200 status2470 with confidential epic2471 returns status 4032472 when child belongs to a different group hierarchy2473 when user is not a member of the child's group2474 returns 404 status2475 when user has guest access to child's group2476 returns 200 status2477 when epics feature is disabled2478 when user is developer2479 returns 403 status2480Projects::AuditEventsController2481 GET #index2482 when authorized as auditor2483 tracks search event2484 behaves like when audit_events feature is available2485 renders index with 200 status code2486 invokes AuditEventFinder with correct arguments2487 behaves like AuditEventFinder params2488 has the correct params2489 author2490 when no author entity type is specified2491 behaves like AuditEventFinder params2492 has the correct params2493 when the author entity type is specified2494 behaves like AuditEventFinder params2495 has the correct params2496 ordering2497 when no sort order is specified2498 behaves like orders by id descending2499 orders by id descending2500 when sorting by latest events first2501 behaves like orders by id descending2502 orders by id descending2503 when sorting by oldest events first2504 orders by id ascending2505 when sorting by an unsupported sort order2506 behaves like orders by id descending2507 orders by id descending2508 when invalid date2509 created_before: "invalid-date", created_after: nil2510 returns an error2511 created_before: nil, created_after: true2512 returns an error2513 created_before: "2021-13-10", created_after: nil2514 returns an error2515 created_before: nil, created_after: "2021-02-31"2516 returns an error2517 created_before: "2021-03-31", created_after: "2021-02-31"2518 returns an error2519 when date range is greater than limit2520 behaves like a date range error is returned2521 created_after: "2021-01-01", created_before: "2021-02-02"2522 returns an error2523 created_after: "2022-01-31", created_before: nil2524 returns an error2525 behaves like pagination2526 sets instance variables2527 paginates audit events, without casting a count query2528 behaves like when audit_events feature is not available2529 renders 4042530 when authorized as maintainer2531 tracks search event2532 behaves like when audit_events feature is available2533 renders index with 200 status code2534 invokes AuditEventFinder with correct arguments2535 behaves like AuditEventFinder params2536 has the correct params2537 author2538 when no author entity type is specified2539 behaves like AuditEventFinder params2540 has the correct params2541 when the author entity type is specified2542 behaves like AuditEventFinder params2543 has the correct params2544 ordering2545 when no sort order is specified2546 behaves like orders by id descending2547 orders by id descending2548 when sorting by latest events first2549 behaves like orders by id descending2550 orders by id descending2551 when sorting by oldest events first2552 orders by id ascending2553 when sorting by an unsupported sort order2554 behaves like orders by id descending2555 orders by id descending2556 when invalid date2557 created_before: "invalid-date", created_after: nil2558 returns an error2559 created_before: nil, created_after: true2560 returns an error2561 created_before: "2021-13-10", created_after: nil2562 returns an error2563 created_before: nil, created_after: "2021-02-31"2564 returns an error2565 created_before: "2021-03-31", created_after: "2021-02-31"2566 returns an error2567 when date range is greater than limit2568 behaves like a date range error is returned2569 created_after: "2021-01-01", created_before: "2021-02-02"2570 returns an error2571 created_after: "2022-01-31", created_before: nil2572 returns an error2573 behaves like pagination2574 sets instance variables2575 paginates audit events, without casting a count query2576 behaves like when audit_events feature is not available2577 renders 4042578 unauthorized2579 renders 4042580API::Internal::Kubernetes2581 POST /internal/kubernetes/modules/remote_development/reconcile2582 returns 401 if Authorization header not sent2583 returns 401 if Authorization is for non-existent agent2584 not authenticated2585 returns 4012586 kubernetes_agent_internal_api feature flag disabled2587 returns 4042588 when service response is successful2589 returns service response with payload2590 when service response is not successful2591 returns service response with error2592 when remote_development feature is unlicensed2593 returns service response with payload2594 when remote_development_feature_flag feature flag is disabled2595 returns service response with payload2596 POST /internal/kubernetes/agent_configuration2597 not authenticated2598 returns 4012599 kubernetes_agent_internal_api feature flag disabled2600 returns 4042601 when remote development is configured2602 creates the remote dev configuration2603 when remote_development feature is unlicensed2604 creates the remote dev configuration2605 when remote_development_feature_flag feature flag is disabled2606 creates the remote dev configuration2607 PUT /internal/kubernetes/modules/starboard_vulnerability2608 returns 401 if Authorization header not sent2609 returns 401 if Authorization is for non-existent agent2610 not authenticated2611 returns 4012612 kubernetes_agent_internal_api feature flag disabled2613 returns 4042614 is authenticated for an agent2615 returns ok when a vulnerability is created2616 accepts the same payload twice2617 responds with the created vulnerability's UUID2618 when payload is invalid2619 returns bad request2620 when required parameters are missing2621 missing_param: :vulnerability2622 returns bad request2623 missing_param: :scanner2624 returns bad request2625 when feature is not available2626 returns forbidden for non licensed project2627 POST /internal/kubernetes/modules/starboard_vulnerability/scan_result2628 returns 401 if Authorization header not sent2629 returns 401 if Authorization is for non-existent agent2630 not authenticated2631 returns 4012632 kubernetes_agent_internal_api feature flag disabled2633 returns 4042634 is authenticated for an agent2635 returns ok2636 resolves undetected vulnerabilities2637 marks undetected vulnerabilities as resolved on default branch2638 does not resolve vulnerabilities with other report types2639 does not resolve other projects' vulnerabilities2640 when payload is invalid2641 returns bad request2642 when feature is not available2643 returns forbidden for non licensed project2644 GET /internal/kubernetes/modules/starboard_vulnerability/policies_configuration2645 returns 401 if Authorization header not sent2646 returns 401 if Authorization is for non-existent agent2647 not authenticated2648 returns 4012649 kubernetes_agent_internal_api feature flag disabled2650 returns 4042651 when security_orchestration_policies is not licensed2652 returns 4022653 when security_orchestration_policies is licensed2654 when policies are present2655 returns expected data2656 when policies are empty2657 returns empty array2658API::ProjectPushRule ProjectPushRule2659 GET /projects/:id/push_rule2660 authorized user2661 returns project push rule2662 the commit_committer_check feature is enabled2663 returns the commit_committer_check information2664 the reject_unsigned_commits feature is enabled2665 returns the reject_unsigned_commits information2666 the reject_unsigned_commits feature is not enabled2667 succeeds2668 does not return the reject_unsigned_commits information2669 push rules are not enabled2670 is forbidden2671 developer2672 does not have access to project push rule2673 POST /projects/:id/push_rule2674 adds push rule to project with no file size2675 returns 400 if no parameter is given2676 maintainer2677 is accepted2678 indicates that it belongs to the correct project2679 sets all given parameters2680 commit_committer_check not allowed by License2681 is forbidden to use this service2682 reject_unsigned_commits not allowed by License2683 is forbidden to use this service2684 commit_committer_check is not enabled2685 is forbidden to send the the :commit_committer_check parameter2686 without the :commit_committer_check parameter2687 sets all given parameters2688 reject_unsigned_commits is not enabled2689 is forbidden to send the the :reject_unsigned_commits parameter2690 without the :reject_unsigned_commits parameter2691 sets all given parameters2692 invalid params2693 returns an error2694 when regex is too long2695 returns an error2696 when feature flag "add_validation_for_push_rules" is disabled2697 is successful2698 user with developer_access2699 does not add push rule to project2700 with existing push rule2701 returns an error response2702 PUT /projects/:id/push_rule2703 does not update push rule for unauthorized user2704 with existing push rule2705 setting deny_delete_tag and commit_message_regex2706 is successful2707 includes the expected settings2708 setting commit_committer_check2709 is successful2710 sets the commit_committer_check2711 the commit_committer_check feature is not enabled2712 is an error to provide this parameter2713 setting reject_unsigned_commits2714 is successful2715 sets the reject_unsigned_commits2716 the reject_unsigned_commits feature is not enabled2717 is an error to provide the this parameter2718 not providing parameters2719 is an error2720 invalid params2721 returns an error2722 without existing push rule2723 returns an error response2724 DELETE /projects/:id/push_rule2725 for existing push rule2726 maintainer2727 deletes push rule from project2728 user with developer_access2729 returns a 403 error2730 for non existing push rule2731 deletes push rule from project2732 returns a 403 error if not authorized2733Projects::Settings::MergeRequestsController2734 # order random2735 PUT #update2736 updates Merge Request Approvers attributes2737 updates Issuable Default Templates attributes2738 when merge_pipelines_enabled param is specified2739 updates the attribute2740 when license is not sufficient2741 does not update the attribute2742 when suggested_reviewers_enabled param is specified2743 updates the attribute2744 when merge_trains_enabled param is specified2745 updates the attribute2746 when license is not sufficient2747 does not update the attribute2748 when only_allow_merge_if_all_status_checks_passed param is specified2749 behaves like update only allow merge if all status checks passed2750 when only_allow_merge_if_all_status_checks_passed param is specified2751 updates the attribute2752 when license is not sufficient2753 does not update the attribute2754 when auto_rollback_enabled param is specified2755 updates the attribute2756 when license is not sufficient2757 does not update the attribute2758 merge request approvers settings2759 does not push security_orchestration_policies licensed feature2760 :disable_overriding_approvers_per_merge_request2761 behaves like merge request approvers rules2762 can_modify: true, param_value: true, final_value: true2763 updates project if needed2764 can_modify: true, param_value: false, final_value: false2765 updates project if needed2766 can_modify: false, param_value: true, final_value: nil2767 updates project if needed2768 can_modify: false, param_value: false, final_value: nil2769 updates project if needed2770 :merge_requests_author_approval2771 behaves like merge request approvers rules2772 can_modify: true, param_value: true, final_value: true2773 updates project if needed2774 can_modify: true, param_value: false, final_value: false2775 updates project if needed2776 can_modify: false, param_value: true, final_value: nil2777 updates project if needed2778 can_modify: false, param_value: false, final_value: nil2779 updates project if needed2780 :merge_requests_disable_committers_approval2781 behaves like merge request approvers rules2782 can_modify: true, param_value: true, final_value: true2783 updates project if needed2784 can_modify: true, param_value: false, final_value: false2785 updates project if needed2786 can_modify: false, param_value: true, final_value: nil2787 updates project if needed2788 can_modify: false, param_value: false, final_value: nil2789 updates project if needed2790 with security_orchestration_policies licensed feature enabled2791 pushes security_orchestration_policies licensed feature2792Groups::Epics::EpicLinksController2793 GET #index2794 behaves like unlicensed subepics action2795 returns 403 status2796 when epics are enabled2797 when user has access to epic2798 returns the correct JSON response2799 with query performance2800 executes same number of queries plus threshold2801 when user does not have access to epic2802 returns 404 status2803 when epic is confidential2804 returns 403 status when user is a guest2805 with children in different group hierarchies2806 behaves like returns correct response2807 includes only children with access2808 when user has no access to the other group2809 behaves like returns correct response2810 includes only children with access2811 POST #create2812 behaves like unlicensed subepics action2813 returns 403 status2814 when subepics are enabled2815 when user has permissions to create requested association2816 returns correct response for the correct issue reference2817 updates a parent for the referenced epic2818 with hierarchy depth validations2819 when it does not exceed the max hierarchy depth2820 sets the parent2821 when it exceeds the max hierarchy depth2822 does not set the parent and returns an error2823 when user does not have permissions to create requested association2824 returns 403 status2825 does not update parent attribute2826 PUT #update2827 behaves like unlicensed subepics action2828 returns 403 status2829 when subepics are enabled2830 when user has permissions to reorder epics2831 returns status 2002832 updates the epic position2833 when move_before_id is not a sibling epic2834 returns status 4042835 when user does not have permissions to reorder epics2836 returns status 4032837 DELETE #destroy2838 behaves like unlicensed subepics action2839 returns 403 status2840 when epics are enabled2841 when user has permissions to update the parent epic2842 returns status 2002843 destroys the link2844 when user does not have permissions to update the parent epic2845 returns status 4042846 does not destroy the link2847 when the epic does not have any parent2848 returns status 4042849 when user has permissions to update the parent epic but epics feature is disabled2850 does not destroy the link2851API::MergeRequestApprovalSettings2852 GET /groups/:id/merge_request_approval_settings2853 when the user is authorised2854 matches the response schema2855 allow_author_approval values2856 behaves like resolvable2857 instance_prevents_approval: true, group_allows_approval: true, value: false, locked: true, inherited_from: "instance"2858 has the correct value2859 has the correct locked status2860 has the correct inheritance2861 instance_prevents_approval: true, group_allows_approval: false, value: false, locked: true, inherited_from: "instance"2862 has the correct value2863 has the correct locked status2864 has the correct inheritance2865 instance_prevents_approval: false, group_allows_approval: true, value: true, locked: false, inherited_from: nil2866 has the correct value2867 has the correct locked status2868 has the correct inheritance2869 instance_prevents_approval: false, group_allows_approval: false, value: false, locked: false, inherited_from: nil2870 has the correct value2871 has the correct locked status2872 has the correct inheritance2873 allow_committer_approval values2874 behaves like resolvable2875 instance_prevents_approval: true, group_allows_approval: true, value: false, locked: true, inherited_from: "instance"2876 has the correct value2877 has the correct locked status2878 has the correct inheritance2879 instance_prevents_approval: true, group_allows_approval: false, value: false, locked: true, inherited_from: "instance"2880 has the correct value2881 has the correct locked status2882 has the correct inheritance2883 instance_prevents_approval: false, group_allows_approval: true, value: true, locked: false, inherited_from: nil2884 has the correct value2885 has the correct locked status2886 has the correct inheritance2887 instance_prevents_approval: false, group_allows_approval: false, value: false, locked: false, inherited_from: nil2888 has the correct value2889 has the correct locked status2890 has the correct inheritance2891 allow_overrides_to_approver_list_per_merge_request values2892 behaves like resolvable2893 instance_prevents_approval: true, group_allows_approval: true, value: false, locked: true, inherited_from: "instance"2894 has the correct value2895 has the correct locked status2896 has the correct inheritance2897 instance_prevents_approval: true, group_allows_approval: false, value: false, locked: true, inherited_from: "instance"2898 has the correct value2899 has the correct locked status2900 has the correct inheritance2901 instance_prevents_approval: false, group_allows_approval: true, value: true, locked: false, inherited_from: nil2902 has the correct value2903 has the correct locked status2904 has the correct inheritance2905 instance_prevents_approval: false, group_allows_approval: false, value: false, locked: false, inherited_from: nil2906 has the correct value2907 has the correct locked status2908 has the correct inheritance2909 when the group does not have existing settings2910 returns in-memory default settings2911 when the user is not authorised2912 returns 403 status2913 PUT /groups/:id/merge_request_approval_setting2914 when the user is authorised2915 returns 200 status with correct response body2916 matches the response schema2917 when update fails2918 returns 400 status2919 when invalid params2920 returns 400 status with error message2921 when the user is not authorised2922 returns 403 status2923 GET /projects/:id/merge_request_approval_settings2924 matches the response schema2925 when the project does not have existing settings2926 returns in-memory default settings2927 PUT /projects/:id/merge_request_approval_settings2928 matches the response schema and updates the params2929 when enabling selective_code_owner_removals and retain_approvals_on_push2930 updates the params2931 when enabling selective_code_owner_removals with retain_approvals_on_push disabled2932 returns error response and does not update the params2933Create an external audit event destination2934 when feature is licensed2935 when current user is a group owner2936 resolves group by full path2937 creates the destination2938 behaves like creates an audit event2939 audits the creation2940 when overriding verification token2941 creates the destination2942 behaves like creates an audit event2943 audits the creation2944 when verification token is invalid2945 when verification token is too short2946 returns correct errors2947 behaves like a mutation that does not create a destination2948 does not destroy the destination2949 does not audit the creation2950 when verification token is too long2951 returns correct errors2952 behaves like a mutation that does not create a destination2953 does not destroy the destination2954 does not audit the creation2955 when destination is invalid2956 returns correct errors2957 behaves like a mutation that does not create a destination2958 does not destroy the destination2959 does not audit the creation2960 when group is a subgroup2961 behaves like a mutation that does not create a destination2962 does not destroy the destination2963 does not audit the creation2964 when current user is a group maintainer2965 behaves like a mutation that does not create a destination2966 does not destroy the destination2967 does not audit the creation2968 when current user is a group developer2969 behaves like a mutation that does not create a destination2970 does not destroy the destination2971 does not audit the creation2972 when current user is a group guest2973 behaves like a mutation that does not create a destination2974 does not destroy the destination2975 does not audit the creation2976 when feature is unlicensed2977 does not create the destination2978 behaves like a mutation on an unauthorized resource2979 behaves like a mutation that returns top-level errors2980 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"2981Query.ciCatalogResources2982 # order random2983 when the CI Namespace Catalog feature is not available2984 returns an empty response2985 versions2986 when the resource has versions2987 returns the resource with the versions data2988 returns the versions by released_at in descending order by default2989 when sort parameter RELEASED_AT_ASC is provided2990 returns the versions by released_at in ascending order2991 when there are two resources visible to the current user in the namespace2992 returns both resources with the versions data2993 behaves like avoids N+1 queries2994 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007f3026086c60 @data={"/lib/gitlab/graphql/loaders/full_path_model_...@skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=23>2995 when obtaining the latest version of the resource2996 returns the latest versions of both resources2997 when the resource does not have a version2998 returns the resource without the version data2999 when the CI Namespace Catalog feature is available3000 when the current user has permission to read the namespace catalog3001 returns the resource with the expected data3002 when there are two resources visible to the current user in the namespace3003 returns both resources with the expected data3004 behaves like avoids N+1 queries3005 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007f303cda4440 @data={"/lib/gitlab/graphql/loaders/full_path_model_...@skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=11>3006 when the current user does not have permission to read the namespace catalog3007 returns an empty response3008 rootNamespace3009 returns the correct root namespace data3010 when there are multiple resources visible to the current user from the same root namespace3011 behaves like when there are two resources visible to the current user3012 behaves like returns the correct root namespace for both resources3013 is expected to contain exactly (a hash including {"rootNamespace" => (a hash including {"id" => "gid://gitlab/Group/1564"}), "id" => "gid://gitlab/Ci::Catalog::Resource/1"}) and (a hash including {"rootNamespace" => (a hash including {"id" => "gid://gitlab/Group/1564"}), "id" => "gid://gitlab/Ci::Catalog::Resource/7"})3014 behaves like avoids N+1 queries3015 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007f300bb1e6c0 @data={"/lib/gitlab/graphql/loaders/full_path_model_...@skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=13>3016 when a resource is within a nested namespace3017 behaves like returns the correct root namespace for both resources3018 is expected to contain exactly (a hash including {"rootNamespace" => (a hash including {"id" => "gid://gitlab/Group/1564"}), "id" => "gid://gitlab/Ci::Catalog::Resource/1"}) and (a hash including {"rootNamespace" => (a hash including {"id" => "gid://gitlab/Group/1564"}), "id" => "gid://gitlab/Ci::Catalog::Resource/9"})3019 behaves like avoids N+1 queries3020 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007f3042dc39e8 @data={"/lib/gitlab/graphql/loaders/full_path_model_...@skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=13>3021 when there are multiple resources visible to the current user from different root namespaces3022 behaves like when there are two resources visible to the current user3023 behaves like returns the correct root namespace for both resources3024 is expected to contain exactly (a hash including {"rootNamespace" => (a hash including {"id" => "gid://gitlab/Group/1564"}), "id" => "gid://gitlab/Ci::Catalog::Resource/1"}) and (a hash including {"rootNamespace" => (a hash including {"id" => "gid://gitlab/Group/1575"}), "id" => "gid://gitlab/Ci::Catalog::Resource/11"})3025 behaves like avoids N+1 queries3026 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007f3025fba2a0 @data={"/lib/gitlab/graphql/loaders/full_path_model_...@skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=13>3027 when a resource is within a nested namespace3028 behaves like returns the correct root namespace for both resources3029 is expected to contain exactly (a hash including {"rootNamespace" => (a hash including {"id" => "gid://gitlab/Group/1564"}), "id" => "gid://gitlab/Ci::Catalog::Resource/1"}) and (a hash including {"rootNamespace" => (a hash including {"id" => "gid://gitlab/Group/1575"}), "id" => "gid://gitlab/Ci::Catalog::Resource/13"})3030 behaves like avoids N+1 queries3031 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007f301186f658 @data={"/lib/gitlab/graphql/loaders/full_path_model_...@skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=13>3032 when a resource is within a User namespace3033 returns the correct root namespace for all resources3034 behaves like avoids N+1 queries3035 is expected not to exceed query limit #<ActiveRecord::QueryRecorder:0x00007f303d98e800 @data={"/lib/gitlab/graphql/loaders/full_path_model_...@skip_cached=true, @skip_schema_queries=true, @query_recorder_debug=false, @log_file=nil, @count=14>3036Groups::Epics::NotesController3037 GET index3038 responds with array of notes3039 with cross-reference system note that is not visible to the current user3040 does not return any note3041 POST create3042 returns status 302 for html3043 returns status 200 for json3044 when epic was promoted from issue3045 creates reply note for discussion3046 behaves like create notes request exceeding rate limit3047 allows user in allow-list to create notes, even if the case is different3048 when rate limiter enabled3049 logs request and declines it when endpoint called more than the threshold3050 when rate limiter is disabled3051 does not log request and does not block the request3052 PUT update3053 updates the note3054 DELETE destroy3055 user is the author of a note3056 returns status 2003057 deletes the note3058 user is not the author of the note3059 returns status 4043060 POST toggle_award_emoji3061 toggles the award emoji3062 removes the already awarded emoji3063API::Todos3064 GET /todos3065 when there is an Epic Todo3066 is expected to respond with numeric status code ok3067 avoids N+1 queries3068 includes the Epic Todo in the response3069 POST :id/epics/:epic_iid/todo3070 when epics feature is disabled3071 returns 403 forbidden error3072 when epics feature is enabled3073 creates a todo on an epic3074 returns 304 there already exist a todo on that epic3075 returns 404 if the epic is not found3076 returns an error if the epic is not accessible3077API::GroupProtectedBranches3078 # order random3079 PATCH /groups/:id/protected_branches/:name3080 when authenticated as a owner3081 updates a single branch3082 when returned protected branch is invalid3083 returns a 4223084 when authenticated as a guest3085 returns a 403 error3086 DELETE /groups/:id/protected_branches/unprotect/:branch3087 unprotects a single branch3088 returns 404 if branch does not exist3089 when a policy restricts rule deletion3090 prevents deletion of the protected branch rule3091 when branch has a wildcard in its name3092 unprotects a wildcard branch3093 GET /groups/:id/protected_branches3094 when authenticated as a owner3095 when search param is not present3096 behaves like protected branches3097 returns the protected branches3098 when search param is present3099 behaves like protected branches3100 returns the protected branches3101 when authenticated as a guest3102 behaves like 403 response3103 returns 4033104 avoid N+1 sql queries3105 does not perform N+1 sql queries3106 GET /groups/:id/protected_branches/:branch3107 when authenticated as a owner3108 behaves like protected branch3109 returns the protected branch3110 when protected branch does not exist3111 behaves like 404 response3112 returns 4043113 when protected branch contains a wildcard3114 behaves like protected branch3115 returns the protected branch3116 when protected branch does not exist3117 behaves like 404 response3118 returns 4043119 when protected branch contains a period3120 behaves like protected branch3121 returns the protected branch3122 when protected branch does not exist3123 behaves like 404 response3124 returns 4043125 when authenticated as a guest3126 behaves like 403 response3127 returns 4033128 POST /groups/:id/protected_branches3129 when authenticated as a owner3130 returns a 409 error if the same branch is protected twice3131 when protects by different params3132 allow_force_push: nil, push_access_level: nil, merge_access_level: nil3133 is expected to eq 403134 allow_force_push: nil, push_access_level: 30, merge_access_level: nil3135 is expected to eq 403136 allow_force_push: nil, push_access_level: nil, merge_access_level: 303137 is expected to eq 303138 allow_force_push: nil, push_access_level: 30, merge_access_level: 303139 is expected to eq 303140 allow_force_push: nil, push_access_level: 0, merge_access_level: nil3141 is expected to eq 403142 allow_force_push: nil, push_access_level: nil, merge_access_level: 03143 is expected to eq 03144 allow_force_push: nil, push_access_level: 0, merge_access_level: 03145 is expected to eq 03146 allow_force_push: true, push_access_level: nil, merge_access_level: nil3147 is expected to eq 403148 code_owner_approval_required3149 feature_available: false, param_value: false, result_value: false3150 is expected to eq false3151 feature_available: false, param_value: true, result_value: false3152 is expected to eq false3153 feature_available: true, param_value: false, result_value: false3154 is expected to eq false3155 feature_available: true, param_value: true, result_value: true3156 is expected to eq true3157 when branch has a wildcard in its name3158 protects multiple branches with a wildcard in the name3159 when a policy restricts rule creation3160 prevents creations of the protected branch rule3161 when protected branch is invalid3162 returns a 4223163 when authenticated as a guest3164 returns a 403 error if guest3165API::Invitations EE Invitations3166 POST /groups/:id/invitations3167 behaves like member creation audit event3168 creates an audit event while creating a new member3169 does not create audit event if creating a new member fails3170 behaves like admin signup restrictions email error - denylist3171 behaves like restricted email error3172 returns an http error response and the validation message3173 behaves like POST request permissions for admin mode3174 behaves like when admin3175 behaves like makes request3176 returns3177 behaves like makes request3178 returns3179 behaves like when user3180 returns3181 behaves like makes request3182 returns3183 when the group is restricted by admin signup restrictions3184 behaves like admin signup restrictions email error - allowlist3185 behaves like restricted email error3186 returns an http error response and the validation message3187 behaves like admin signup restrictions email error - email restrictions3188 behaves like restricted email error3189 returns an http error response and the validation message3190 when the group is restricted by group signup restriction - allowed domains for signup3191 behaves like restricted email error3192 returns an http error response and the validation message3193 with free user cap considerations3194 when there are at the size limit3195 behaves like does not add members3196 does not add the member3197 when there are over the size limit3198 behaves like does not add members3199 does not add the member3200 when there is a seat left3201 creates a member3202 when there are seats left and we add enough to exhaust all seats3203 creates one member and errors on the other member3204 with minimal access level3205 when group has no parent3206 return success3207 when group has parent3208 return error3209 POST /projects/:id/invitations3210 behaves like member creation audit event3211 creates an audit event while creating a new member3212 does not create audit event if creating a new member fails3213 behaves like POST request permissions for admin mode3214 behaves like when admin3215 behaves like makes request3216 returns3217 behaves like makes request3218 returns3219 behaves like when user3220 returns3221 behaves like makes request3222 returns3223 with group membership locked3224 returns an error and exception message when group membership lock is enabled3225 when the project is restricted by admin signup restrictions3226 behaves like admin signup restrictions email error - denylist3227 behaves like restricted email error3228 returns an http error response and the validation message3229 when the group is restricted by admin signup restrictions3230 behaves like admin signup restrictions email error - allowlist3231 behaves like restricted email error3232 returns an http error response and the validation message3233 behaves like admin signup restrictions email error - email restrictions3234 behaves like restricted email error3235 returns an http error response and the validation message3236 group with LDAP group link3237 POST /groups/:id/invitations3238 returns a forbidden response3239 PUT /groups/:id/invitations/:email3240 returns a forbidden response3241 DELETE /groups/:id/invitations/:email3242 returns a forbidden response3243API::Boards3244 behaves like multiple and scoped issue boards3245 multiple issue boards3246 POST /projects/:id/boards3247 creates a board3248 PUT /projects/:id/boards/:board_id3249 updates a board3250 does not remove missing attributes from the board3251 allows removing optional attributes3252 DELETE /projects/:id/boards/:board_id3253 deletes a board3254 with the scoped_issue_board-feature available3255 returns the milestone when the `scoped_issue_board` feature is enabled3256 hides the milestone when the `scoped_issue_board` feature is disabled3257 POST /projects/:id/boards/:board_id/lists3258 behaves like milestone board list3259 when milestone_id is sent3260 returns 400 if milestone is not found3261 returns 400 if milestone list feature is not available3262 creates a milestone list if milestone is found3263 behaves like assignee board list3264 when assignee_id is sent3265 returns 400 if user is not found3266 returns 400 if assignee list feature is not available3267 creates an assignee list if user is found3268 behaves like iteration board list3269 when iteration_id is sent3270 returns 400 if iteration is not found3271 returns 400 if not licensed3272 creates an iteration list if iteration is found3273 GET /projects/:id/boards/:board_id with special milestones3274 returns board with Upcoming milestone3275 returns board with Started milestone3276 GET /projects/:id/boards/:board_id/lists with max_issue_count3277 with WIP limits license3278 includes max_issue_count3279 includes max_issue_weight3280 includes limit_metric3281 without WIP limits license3282 does not include max_issue_weight3283 does not include max_issue_count3284 does not include limit_metric3285Query.project(fullPath).pipeline(iid).securityReportSummary3286 when the required features are enabled3287 when user is member of the project3288 shows the vulnerabilitiesCount and scannedResourcesCount3289 shows the first 20 scanned resources3290 returns nil for the scannedResourcesCsvPath3291 when user is not a member of the project3292 returns no scanned resources3293 when the required features are disabled3294 returns no scanned resources3295Mutations::Epics::Update3296 when the user does not have permission3297 does not update the epic3298 behaves like a mutation that returns a top-level access error3299 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3300 when the user has permission3301 when epics are disabled3302 behaves like a mutation that returns top-level errors3303 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3304 when epics are enabled3305 updates the epic3306 when closing the epic3307 closes open epic3308 when reopening the epic3309 allows epic to be reopend3310 when changing labels of the epic3311 by ID3312 adds and removes labels correctly3313 when labels are added3314 adds labels correctly and keeps the title ordering3315 by title3316 adds and removes labels correctly3317 when labels are added3318 adds labels correctly and keeps the title ordering3319 when there are ActiveRecord validation errors3320 does not update the epic3321 behaves like a mutation that returns errors in the response3322 is expected to contain exactly "Title can't be blank"3323 when the list of attributes is empty3324 behaves like a mutation that returns top-level errors3325 is expected to contain exactly "The list of epic attributes is empty"3326Reposition and move epic between board lists3327 when epics are available3328 when user does not have permissions to admin the board3329 raises resource not available error3330 when user has permissions to admin the board3331 when required move params are missing3332 raises an error3333 when positionInList param is invalid3334 when move_before_id is also given3335 raises an error3336 when move_after_id is also given3337 raises an error3338 when position_in_list is invalid3339 raises an error3340 moving an epic to another list3341 moves the epic to another list3342 repositioning an epic3343 when both move_before_id and move_after_id params are present3344 repositions the epic3345 when only move_before_id param is present3346 repositions the epic3347 when only move_after_id param is present3348 repositions the epic3349 when position_in_list param is present3350 when moving an epic to the beginning of the list3351 repositions the epic3352 when moving an epic to the bottom of the list3353 repositions the epic3354Oauth::GeoAuthController3355 GET auth3356 redirects to root_url when state is invalid3357 without a tampered header3358 behaves like a valid redirect to to primary node's oauth endpoint3359 redirects to primary node's oauth endpoint3360 with a tampered HOST header3361 behaves like a valid redirect to to primary node's oauth endpoint3362 redirects to primary node's oauth endpoint3363 with a tampered X-Forwarded-Host header3364 behaves like a valid redirect to to primary node's oauth endpoint3365 redirects to primary node's oauth endpoint3366 GET callback3367 redirection3368 redirects to login screen if state is invalid3369 with a valid state3370 does not display a flash message3371 without a tampered header3372 behaves like a valid redirect to redirect_url3373 redirects to primary node's oauth endpoint3374 with a tampered HOST header3375 behaves like a valid redirect to redirect_url3376 redirects to primary node's oauth endpoint3377 with a tampered X-Forwarded-Host header3378 behaves like a valid redirect to redirect_url3379 redirects to primary node's oauth endpoint3380 invalid credentials3381 handles invalid credentials error3382 non-existent remote user3383 handles non-existent remote user error3384 non-existent local user3385 handles non-existent local user error3386 GET logout3387 when access_token is valid3388 logs out and redirects to the root_url3389 when access_token is invalid3390 shows access token errors3391Emails::AdminNotification3392 user_auto_banned_email3393 is sent to the alerted user3394 has the correct subject3395 includes the reason3396 includes the scope of the ban3397 includes a link to unban the user3398 includes a link to change the settings3399 includes the email reason3400 behaves like an email sent from GitLab3401 has the characteristics of an email sent from GitLab3402 behaves like it should not have Gmail Actions links3403 is expected not to have body including "ViewAction"3404 behaves like a user cannot unsubscribe through footer link3405 does not have a List-Unsubscribe header or a body link3406 behaves like appearance header and footer enabled3407 contains header and footer3408 behaves like appearance header and footer not enabled3409 does not contain header and footer3410 when threshold is 1 and interval is 1 minute3411 uses singular form3412 when interval is less than a minute3413 uses the correct unit3414 when auto-ban is disabled3415 does not include the scope of the ban3416 does not include a link to unban the user3417 when scoped to a group3418 includes the scope of the ban3419 includes a link to unban the user3420 includes a link to change the settings3421 when alerted user does not exist anymore3422 behaves like no email is sent3423 does not send an email3424Projects::Analytics::DashboardsController3425 # order random3426 GET /:namespace/:project/-/analytics/dashboards3427 with the feature flag disabled3428 behaves like returns not found3429 returns 404 response3430 does not increment counter3431 with the feature flag enabled3432 without the licensed feature3433 behaves like returns not found3434 returns 404 response3435 does not increment counter3436 with the licensed feature3437 does not count views for the dashboard listing3438 access_level: nil, example_to_run: "returns not found"3439 behaves like returns not found3440 returns 404 response3441 does not increment counter3442 access_level: :reporter, example_to_run: "returns success"3443 behaves like returns success3444 returns 200 response3445 increments counter3446 access_level: :developer, example_to_run: "returns success"3447 behaves like returns success3448 returns 200 response3449 increments counter3450 access_level: :maintainer, example_to_run: "returns success"3451 behaves like returns success3452 returns 200 response3453 increments counter3454Adding a Note to an Epic3455 when the user does not have permission3456 behaves like a Note mutation when the user does not have permission3457 behaves like a Note mutation that does not create a Note3458 is expected not to change `Note.count`3459 behaves like a mutation that returns top-level errors3460 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3461 when the user has permission3462 when using internal param3463 behaves like a Note mutation with confidential notes3464 returns a Note with confidentiality enabled3465 behaves like a Note mutation that creates a Note3466 is expected to change `Note.count` by 13467 when using deprecated confidential param3468 behaves like a Note mutation with confidential notes3469 returns a Note with confidentiality enabled3470 behaves like a Note mutation that creates a Note3471 is expected to change `Note.count` by 13472 when body contains quick actions3473 behaves like work item supports weights widget updates via quick actions3474 updates the work item3475 behaves like work item does not support weights widget updates via quick actions3476 ignores the quick action3477 behaves like work item supports health status widget updates via quick actions3478 updates work item health status3479 behaves like work item does not support health status widget updates via quick actions3480 ignores the quick action3481groups autocomplete3482 #issues3483 issue_types: nil, expected: :test_case3484 returns the correct response3485 issue_types: "", expected: :test_case3486 returns the correct response3487 issue_types: "invalid", expected: []3488 returns the correct response3489 issue_types: "test_case", expected: :test_case3490 returns the correct response3491 #epics3492 returns 200 status3493 returns the correct response3494 avoids N+1 queries3495 #iterations3496 when iterations feature is disabled3497 returns 404 status3498 when iterations feature is enabled3499 avoids N+1 queries3500 #iterations3501 returns the correct response3502 #vulnerabilities3503 returns 200 status3504 returns the correct response3505 #commands3506 returns 200 status3507 returns the correct response3508 handles new epics3509Creating a workspace3510 # order random3511 creates the workspace3512 when remote_development_feature_flag feature flag is disabled3513 behaves like a mutation that returns top-level errors3514 is expected to include /'remote_development_feature_flag' feature flag is disabled/3515 when remote_development feature is unlicensed3516 behaves like a mutation that returns top-level errors3517 is expected to include /'remote_development' licensed feature is not available/3518 when the user cannot create a workspace for the project3519 behaves like a mutation on an unauthorized resource3520 behaves like a mutation that returns top-level errors3521 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3522 when there are service errors3523 behaves like a mutation that returns errors in the response3524 is expected to contain exactly "some error"3525 when required arguments are missing3526 returns error about required argument3527getting test reports of a requirement3528 when user can read requirement3529 returns test reports successfully3530 behaves like a working graphql query3531 returns a successful response3532 with pagination3533 behaves like sorted paginated query3534 behaves like requires variables3535 shared example requires variables to be set3537 when sorting3538 sorts correctly3539 when paginating3540 paginates correctly3541 behaves like sorted paginated query3542 behaves like requires variables3543 shared example requires variables to be set3545 when sorting3546 sorts correctly3547 when paginating3548 paginates correctly3549 when the user does not have access to the requirement3550 returns nil3551API::GeoReplication3552 GET /geo_replication/designs3553 retrieves the designs if admin is logged in3554 retrieves the designs according to search term3555 denies access if not admin3556 PUT /geo_replication/designs/:id/resync3557 marks registry record for resync3558 denies access if not admin3559 POST /geo_replication/designs/resync3560 marks registry record for resync3561 denies access if not admin3562Dashboard::ProjectsController3563 #removed3564 when licensed3565 for admin users3566 returns success3567 paginates the records3568 returns projects marked for deletion3569 for non-admin users3570 returns success3571 paginates the records3572 for should_check_namespace_plan3573 should_check_namespace_plan: false, removed_projects_count: 33574 accounts total removable projects3575 should_check_namespace_plan: true, removed_projects_count: 23576 accounts total removable projects3577 when not licensed3578 behaves like returns not found3579 is expected to respond with numeric status code not_found3580API::Ci::Variables3581 POST /projects/:id/variables3582 logs audit event3583 logs variable creation3584 PUT /projects/:id/variables/:key3585 logs audit event3586 logs variable protection update3587 DELETE /projects/:id/variables/:key3588 logs audit event3589 logs variable destruction3590Query.[group](fullPath).doraPerformanceScoreCounts3591 # order random3592 when there is no data for the target month3593 working query3594 returns all empty data3595 behaves like a working graphql query3596 returns a successful response3597 when there is data for the target month3598 working query3599 returns the correct data3600 behaves like a working graphql query3601 returns a successful response3602 when no metric count fields are requested3603 does not fire off any data queries3604 behaves like a working graphql query3605 returns a successful response3606 when user does not have access3607 returns nil3608 behaves like a working graphql query3609 returns a successful response3610 when DORA analytics feature is not available3611 returns nil3612 behaves like a working graphql query3613 returns a successful response3614 when there is some error in the service3615 returns an error3616Create an instance external audit event destination3617 # order random3618 when feature is licensed3619 when user is instance admin3620 when feature flag ff_external_audit_events is enabled3621 creates the destination3622 when destination is invalid3623 returns correct errors3624 when feature flag ff_external_audit_events is disabled3625 behaves like a mutation that does not create a destination3626 does not create the destination3627 behaves like a mutation that returns top-level errors3628 is expected to contain exactly "You do not have access to this mutation."3629 when current user is not instance admin3630 behaves like a mutation that does not create a destination3631 does not create the destination3632 behaves like a mutation that returns top-level errors3633 is expected to contain exactly "You do not have access to this mutation."3634 when feature is unlicensed3635 when feature flag ff_external_audit_events is enabled3636 behaves like a mutation that does not create a destination3637 does not create the destination3638 behaves like a mutation that returns top-level errors3639 is expected to contain exactly "You do not have access to this mutation."3640 behaves like a mutation that does not create a destination3641 does not create the destination3642 behaves like a mutation that returns top-level errors3643 is expected to contain exactly "You do not have access to this mutation."3644 when feature flag ff_external_audit_events is disabled3645 behaves like a mutation that does not create a destination3646 does not create the destination3647 behaves like a mutation that returns top-level errors3648 is expected to contain exactly "You do not have access to this mutation."3649 behaves like a mutation that does not create a destination3650 does not create the destination3651 behaves like a mutation that returns top-level errors3652 is expected to contain exactly "You do not have access to this mutation."3653Mutations::Boards::Epics::Create3654 when the user does not have permission3655 behaves like a mutation that returns a top-level access error3656 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3657 behaves like does not create an epic3658 is expected not to change `Board.count`3659 when the user has permission3660 when all arguments are given3661 when everything is ok3662 creates the epic3663 returns the created epic3664 when arguments are nil resulting in a top level error3665 behaves like does not create an epic3666 is expected not to change `Board.count`3667 behaves like a mutation that returns top-level errors3668 is expected to include /boardId \(Expected value to not be null\)/3669 when argument is blank resulting in an ActiveRecord error3670 returns an error3671 behaves like does not create an epic3672 is expected not to change `Board.count`3673 when arguments are missing3674 behaves like a mutation that returns top-level errors3675 is expected to include /boardId \(Expected value to not be null\)/3676 behaves like does not create an epic3677 is expected not to change `Board.count`3678Getting issues for an epic3679 when epics are enabled3680 does not return inaccessible issues3681 when user has access to the issue project3682 returns issues in this project3683 pagination3684 behaves like sorted paginated query3685 behaves like requires variables3686 shared example requires variables to be set3688 when sorting3689 sorts correctly3690 when paginating3691 paginates correctly3692 when user is guest3693 filters out confidential issues3694 when issues from multiple epics are queried3695 returns issues for each epic3696 does limited number of N+1 queries3697 when epics are disabled3698 does not find the epic3699Emails::Projects3700 #user_escalation_rule_deleted_email3701 has the correct email content3702 #incident_escalation_fired_email3703 has expected X-GitLab alert headers3704 has expected subject3705 has expected content3706 behaves like an email with X-GitLab headers containing project details3707 has X-GitLab-Project headers3708 behaves like an email sent from GitLab3709 has the characteristics of an email sent from GitLab3710 behaves like it should not have Gmail Actions links3711 is expected not to have body including "ViewAction"3712 behaves like a user cannot unsubscribe through footer link3713 does not have a List-Unsubscribe header or a body link3714 with description3715 has expected content3716 with escalation status policy3717 has expected content3718Query.project(fullPath).pipelines.dastProfile3719 when feature is not licensed3720 does not return dast profile data3721 when feature is licensed3722 when user is not member of the project3723 does not return dast profile data3724 when user is member of the project3725 returns the dast profile data3726 avoids N+1 queries (FAILED - 1)3727API::Templates3728 GET /templates/dockerfiles3729 includes the custom template in the response3730 excludes the custom template when the feature is disabled3731 GET /templates/dockerfiles/custom3732 returns the custom template3733 returns 404 when the feature is disabled3734 GET /templates/gitignores3735 includes the custom template in the response3736 excludes the custom template when the feature is disabled3737 GET /templates/gitignores/custom3738 returns the custom template3739 returns 404 when the feature is disabled3740 GET /templates/gitlab_ci_ymls3741 includes the custom template in the response3742 excludes the custom template when the feature is disabled3743 GET /templates/gitlab_ci_ymls/custom3744 returns the custom template3745 returns 404 when the feature is disabled3746 GET /templates/licenses3747 includes the custom template in the response3748 excludes the custom template when the feature is disabled3749 GET /templates/licenses/custom3750 returns the custom template3751 returns 404 when the feature is disabled3752Rack Attack EE throttles3753 requests to prometheus alert notify endpoint with oauth token3754 behaves like incident management rate limiting3755 limits set3756 when the throttle is enabled3757 rejects requests over the rate limit3758 allows requests after throttling and then waiting for the next period3759 when the throttle is disabled3760 allows requests over the rate limit3761 requests to generic alert notify endpoint with oauth token3762 behaves like incident management rate limiting3763 limits set3764 when the throttle is enabled3765 rejects requests over the rate limit3766 allows requests after throttling and then waiting for the next period3767 when the throttle is disabled3768 allows requests over the rate limit3769 requests to AlertManagement::HttpIntegration notify endpoint with oauth token3770 behaves like incident management rate limiting3771 limits set3772 when the throttle is enabled3773 rejects requests over the rate limit3774 allows requests after throttling and then waiting for the next period3775 when the throttle is disabled3776 allows requests over the rate limit3777Projects::RequirementsManagement::RequirementsController3778 POST #import_csv3779 unauthorized3780 when user is not signed in3781 behaves like response with 404 status3782 returns 4043783 with project member with a guest role3784 behaves like response with 404 status3785 returns 4043786 authorized3787 when requirements feature is available and member is a reporter3788 shows error when upload fails3789 behaves like response with success status3790 returns 200 status and success message3791 when file extension is in upper case3792 behaves like response with success status3793 returns 200 status and success message3794 when file extension is not csv3795 returns error message3796 when requirements feature is not available3797 behaves like response with 404 status3798 returns 4043799 POST #authorize3800 with authorized user3801 when requirements feature is enabled3802 behaves like handle uploads authorize request3803 POST authorize3804 authorizes workhorse header3805 rejects requests that bypassed gitlab-workhorse3806 when using remote storage3807 when direct upload is enabled3808 responds with status 200, location of file remote store and object details3809 when direct upload is disabled3810 handles as a local file3811 when requirements feature is disabled3812 behaves like response with 404 status3813 returns 4043814 with unauthorized user3815 behaves like response with 404 status3816 returns 4043817view audit events3818 GET /:namespace/:project/-/audit_events3819 returns 200 response3820 avoids N+1 DB queries3821Onboarding3822 # order random3823 .user_onboarding_enabled?3824 ensure_onboarding?: true, should_check_namespace_plan?: true3825 is expected to equal true3826 ensure_onboarding?: true, should_check_namespace_plan?: false3827 is expected to equal false3828 ensure_onboarding?: false, should_check_namespace_plan?: true3829 is expected to equal false3830 ensure_onboarding?: false, should_check_namespace_plan?: false3831 is expected to equal false3832 .user_onboarding_in_progress?3833 user?: true, user_onboarding?: true, ensure_onboarding?: true, should_check_namespace_plan?: true3834 is expected to equal true3835 user?: true, user_onboarding?: true, ensure_onboarding?: true, should_check_namespace_plan?: false3836 is expected to equal false3837 user?: true, user_onboarding?: true, ensure_onboarding?: false, should_check_namespace_plan?: true3838 is expected to equal false3839 user?: true, user_onboarding?: true, ensure_onboarding?: false, should_check_namespace_plan?: false3840 is expected to equal false3841 user?: true, user_onboarding?: false, ensure_onboarding?: true, should_check_namespace_plan?: true3842 is expected to equal false3843 user?: true, user_onboarding?: false, ensure_onboarding?: true, should_check_namespace_plan?: false3844 is expected to equal false3845 user?: true, user_onboarding?: false, ensure_onboarding?: false, should_check_namespace_plan?: true3846 is expected to equal false3847 user?: true, user_onboarding?: false, ensure_onboarding?: false, should_check_namespace_plan?: false3848 is expected to equal false3849 user?: false, user_onboarding?: true, ensure_onboarding?: true, should_check_namespace_plan?: true3850 is expected to equal false3851 user?: false, user_onboarding?: true, ensure_onboarding?: true, should_check_namespace_plan?: false3852 is expected to equal false3853 user?: false, user_onboarding?: true, ensure_onboarding?: false, should_check_namespace_plan?: true3854 is expected to equal false3855 user?: false, user_onboarding?: true, ensure_onboarding?: false, should_check_namespace_plan?: false3856 is expected to equal false3857 user?: false, user_onboarding?: false, ensure_onboarding?: true, should_check_namespace_plan?: true3858 is expected to equal false3859 user?: false, user_onboarding?: false, ensure_onboarding?: true, should_check_namespace_plan?: false3860 is expected to equal false3861 user?: false, user_onboarding?: false, ensure_onboarding?: false, should_check_namespace_plan?: true3862 is expected to equal false3863 user?: false, user_onboarding?: false, ensure_onboarding?: false, should_check_namespace_plan?: false3864 is expected to equal false3865Projects::Security::VulnerabilityReportController3866 GET #index3867 behaves like security and compliance disabled3868 is expected to respond with numeric status code not_found3869 when project has no vulnerabilities3870 renders empty state3871 when project has vulnerabilities3872 renders dashboard with vulnerability metadata3873getting compliance frameworks for a collection of projects3874 querying a single project3875 avoids N+1 queries3876 contains the expected compliance framework3877 projects can have a compliance framework3878 contains the correct number of compliance frameworks3879 projects that share the same compliance framework3880 shares the same compliance framework id3881API::Analytics::ProjectDeploymentFrequency3882 when user has access to the project3883 returns `ok`3884 with params: from 2017 to 20193885 returns `bad_request` with expected message3886 with params: from 2019 to 20173887 returns `bad_request` with expected message3888 with params: from 2020/04/02 to request time3889 returns the expected deployment frequencies3890 with params: from 2020/02/01 to 2020/04/01 by all3891 returns the expected deployment frequencies3892 with params: from 2020/02/01 to 2020/04/01 by month3893 returns the expected deployment frequencies3894 with params: from 2020/02/01 to 2020/04/01 by day3895 returns the expected deployment frequencies3896 with params: invalid interval3897 returns `bad_request`3898 with params: missing from3899 returns `bad_request`3900 when user does not have access to the project3901 returns `not_found`3902 when feature is not available in plan3903 when user has access to the project3904 returns `forbidden`3905 when user does not have access to the project3906 returns `not_found`3907API::ProviderIdentity3908 # order random3909 Provider Identity API3910 provider_type: "saml", provider_extern_uid_1: "saml-uid-1", provider_extern_uid_2: "saml-uid-2", provider_extern_uid_with_dot: "saml-test@gmail.com", identity_type: Identity(id: integer, extern_uid: string, provider: string, user_id: integer, created_at: datetime, updated_at: datetime, secondary_extern_uid: string, saml_provider_id: integer), validation_error: "SAML NameID can't be blank"3911 when GET identities3912 when user is not a group owner3913 throws unauthorized error3914 when user is group owner3915 returns the list of identities3916 when PATCH uid3917 when user is not a group owner3918 throws forbidden error3919 when user is a group owner3920 when invalid uid is passed3921 returns not found error3922 when valid uid is passed3923 updates the identity record with extern_uid passed3924 when extern uid contains period3925 updates the identity record3926 when invalid extern_uid to update is passed3927 throws bad request error3928 when params contain attribute other than extern_uid3929 does not update any other param3930 throws error when param is missing3931 provider_type: "scim", provider_extern_uid_1: "scim-uid-1", provider_extern_uid_2: "scim-uid-2", provider_extern_uid_with_dot: "scim-test@gmail.com", identity_type: ScimIdentity(id: integer, group_id: integer, user_id: integer, created_at: datetime_with_timezone, updated_at: datetime_with_timezone, active: boolean, extern_uid: string), validation_error: "Extern uid can't be blank"3932 when GET identities3933 when user is not a group owner3934 throws unauthorized error3935 when user is group owner3936 returns the list of identities3937 when PATCH uid3938 when user is not a group owner3939 throws forbidden error3940 when user is a group owner3941 when invalid uid is passed3942 returns not found error3943 when valid uid is passed3944 updates the identity record with extern_uid passed3945 when extern uid contains period3946 updates the identity record3947 when invalid extern_uid to update is passed3948 throws bad request error3949 when params contain attribute other than extern_uid3950 does not update any other param3951 throws error when param is missing3952Creating a DAST Site Token3953 behaves like an on-demand scan mutation when user cannot run an on-demand scan3954 when a user does not have access to the project3955 behaves like a mutation that returns a top-level access error3956 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3957 when a user does not have access to run a dast scan on the project3958 behaves like a mutation that returns a top-level access error3959 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3960 behaves like an on-demand scan mutation when user can run an on-demand scan3961 returns an empty errors array3962 returns the dast_site_validation id3963 creates a new dast_site_validation3964 when on demand scan licensed feature is not available3965 behaves like a mutation that returns a top-level access error3966 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3967Creating an External Issue Link3968 when the user does not have permission3969 does not create external issue link3970 behaves like a mutation that returns a top-level access error3971 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3972 when the user has permission3973 when security_dashboard is disabled3974 behaves like a mutation that returns top-level errors3975 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"3976 when security_dashboard is enabled3977 when jira is not configured3978 responds with error3979 when jira is configured3980 when issue creation succeeds3981 and saving external issue link succeeds3982 creates the external issue link and returns nil for external issue to be fetched using query3983 and saving external issue link fails3984 creates the external issue link3985 when issue creation fails3986 does not create the external issue link3987API::GroupMilestones3988 matches V4 EE-specific response schema for a list of issues3989 behaves like group and project milestone burndowns3990 GET /groups/:id/milestones/:milestone_id/burndown_events3991 returns burndown events list3992 returns 404 when user is not authorized to read milestone3993Create an external audit event destination header3994 when feature is licensed3995 when current user is a group owner3996 creates the header with the correct attributes3997 when the header attributes are invalid3998 returns correct errors3999 behaves like a mutation that does not create a header4000 does not create a header4001 when current user is a group maintainer4002 behaves like a mutation that does not create a header4003 does not create a header4004 when current user is a group developer4005 behaves like a mutation that does not create a header4006 does not create a header4007 when current user is a group guest4008 behaves like a mutation that does not create a header4009 does not create a header4010 when feature is unlicensed4011 behaves like a mutation on an unauthorized resource4012 behaves like a mutation that returns top-level errors4013 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4014 behaves like a mutation that does not create a header4015 does not create a header4016API::Dora::Metrics4017 GET /projects/:id/dora/metrics4018 metric: :deployment_frequency, value1: 1, value2: 24019 returns data4020 metric: :lead_time_for_changes, value1: 3, value2: 44021 returns data4022 metric: :time_to_restore_service, value1: 5, value2: 64023 returns data4024 metric: :change_failure_rate, value1: 7, value2: 44025 returns data4026 with multiple metrics4027 returns combined data4028 when user is guest4029 returns authorization error4030 GET /groups/:id/dora/metrics4031 metric: :deployment_frequency, value1: 1, value2: 24032 returns data4033 metric: :lead_time_for_changes, value1: 3, value2: 44034 returns data4035 metric: :time_to_restore_service, value1: 5, value2: 64036 returns data4037 metric: :change_failure_rate, value1: 7, value2: 44038 returns data4039 with multiple metrics4040 returns combined data4041 when user is guest4042 returns authorization error4043API::Ci::Minutes4044 POST /namespaces/:id/minutes4045 with insufficient access4046 returns an error4047 with admin user4048 when the namespace cannot be found4049 behaves like not found error4050 returns an error4051 when the additional pack does not exist4052 creates a new additional pack4053 when the additional pack already exists4054 does not create a new additional pack and does not update the existing pack4055 when submitting multiple packs4056 when duplicate packs4057 creates only one new pack4058 when the packs are unique4059 creates all the packs4060 when the additional pack cannot be saved4061 returns an error4062 PATCH /namespaces/:id/minutes/move/:target_id4063 when unauthorized4064 returns an error4065 when authorized4066 when the namespace cannot be found4067 behaves like not found error4068 returns an error4069 when the target namespace cannot be found4070 behaves like not found error4071 returns an error4072 when the namespace is not a top-level namespace4073 returns an error4074 when the target namespace is not a top-level namespace4075 returns an error4076 when the transfer is successful4077 moves the packs and returns an accepted response4078Admin::PushRulesController4079 #update4080 updates sample push rule4081 links push rule with application settings4082 push rules unlicensed4083 returns 4044084 #show4085 returns 2004086 push rules unlicensed4087 returns 4044088Groups::ClustersController4089 GET #environments4090 avoids N+1 database queries4091API::PypiPackages4092 # order random4093 GET /api/v4/projects/:id/packages/pypi/files/:sha256/*file_identifier4094 behaves like applying ip restriction for group4095 in group without restriction4096 behaves like returning response status4097 returns ok4098 in group with restriction4099 with address within the range4100 behaves like returning response status4101 returns ok4102 with address outside the range4103 behaves like returning response status4104 returns not_found4105 GET /api/v4/groups/:id/-/packages/pypi/files/:sha256/*file_identifier4106 behaves like applying ip restriction for group4107 in group without restriction4108 behaves like returning response status4109 returns ok4110 in group with restriction4111 with address within the range4112 behaves like returning response status4113 returns ok4114 with address outside the range4115 behaves like returning response status4116 returns not_found4117Bulk update issues4118 # order random4119 when user can update all issues4120 updates all issues4121 when setting arguments to null or none4122 updates all issues4123 when scoping to a parent group4124 when group_bulk_edit feature is available4125 updates all issues4126 when current user cannot read the specified group4127 returns a resource not found error4128 when group_bulk_edit feature is not available4129 returns a resource not available message4130Creating a new on-call schedule4131 # order random4132 creates a new on-call rotation4133 without required argument participants4134 behaves like an invalid argument to the mutation4135 behaves like a mutation that returns top-level errors4136 is expected to contain exactly (include "invalid value for participants")4137 without required argument project_path4138 behaves like an invalid argument to the mutation4139 behaves like a mutation that returns top-level errors4140 is expected to contain exactly (include "invalid value for projectPath")4141 without required argument rotation_length4142 behaves like an invalid argument to the mutation4143 behaves like a mutation that returns top-level errors4144 is expected to contain exactly (include "invalid value for rotationLength")4145 without required argument name4146 behaves like an invalid argument to the mutation4147 behaves like a mutation that returns top-level errors4148 is expected to contain exactly (include "invalid value for name")4149 date is invalid4150 returns the on-call rotation with errors4151 without required argument schedule_iid4152 behaves like an invalid argument to the mutation4153 behaves like a mutation that returns top-level errors4154 is expected to contain exactly (include "invalid value for scheduleIid")4155 without required argument starts_at4156 behaves like an invalid argument to the mutation4157 behaves like a mutation that returns top-level errors4158 is expected to contain exactly (include "invalid value for startsAt")4159 time is invalid4160 returns the on-call rotation with errors4161CredentialsInventoryMailer4162 #personal_access_token_revoked_email4163 is expected to have subject of "Your Personal Access Token was revoked"4164 is expected to have body including "The following Personal Access Token was revoked by an administrator, Revoker"4165 is expected to have body including "PAT 949"4166 is expected to have body including "Created on Jun 2, 2023"4167 is expected to have body including "Scopes: api, sudo"4168 is expected to be delivered to ["user1574@example.org"]4169 is expected to have body including "Last used 21 days ago"4170 #ssh_key_deleted_email4171 is expected to have subject of "Your SSH key was deleted"4172 is expected to have body including "The following SSH key was deleted by an administrator, Revoker"4173 is expected to be delivered to ["user1575@example.org"]4174 is expected to have body including "My title 327"4175 is expected to have body including "Created on Jun 2, 2023"4176 is expected to have body including "Last used 21 days ago"4177Groups::Analytics::DevopsAdoptionController4178 GET show4179 when user is not authorized to view devops adoption analytics4180 renders 403, forbidden error4181 when user is an auditor4182 allows access4183 when the user is a group maintainer4184 renders the devops adoption page4185 tracks devops_adoption usage event4186 when the feature is not available4187 renders forbidden4188 behaves like Snowplow event tracking with RedisHLL context4189 behaves like Snowplow event tracking4190 is emitted4191Query current user groups4192 when permission_scope is CREATE_PROJECTS4193 behaves like a working graphql query4194 returns a successful response4195 when ip_restrictions feature is enabled4196 when check_namespace_plan setting is enabled4197 behaves like no N + 1 DB queries4198 avoids N+1 queries4199 when check_namespace_plan setting is disabled4200 behaves like no N + 1 DB queries4201 avoids N+1 queries4202Query.project(fullPath).dastScannerProfiles4203 when a user does not have access to the project4204 project response4205 is expected to be nil4206 when the user can run a dast scan4207 dast scanner profiles4208 is expected to be empty4209 when a user has access to multiple projects4210 dast scanner profiles4211 returns only the dast_scanner_profile for the requested project4212 when a user has access dast_scanner_profiles4213 dast scanner profiles4214 is expected not to be empty4215 first dast scanner profile id4216 is expected to eq "gid://gitlab/DastScannerProfile/7"4217Registrations::VerificationController4218 # order random4219 GET #new4220 with an unauthenticated user4221 is expected to respond with numeric status code redirect4222 is expected to redirect to "/users/sign_in"4223 with an authenticated user4224 when on .com4225 is expected to respond with numeric status code ok4226 is expected to render template layouts/minimal4227 is expected to render template new4228 publishes the experiment4229 with project_id in params4230 assigns to learn_gitlab onboarding4231 when project_id is blank4232 assigns to root_path4233 without project_id in params4234 assigns to root_path4235 when not on .com4236 is expected to respond with numeric status code not_found4237Delete a DAST Scanner Profile4238 behaves like an on-demand scan mutation when user cannot run an on-demand scan4239 when a user does not have access to the project4240 behaves like a mutation that returns a top-level access error4241 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4242 when a user does not have access to run a dast scan on the project4243 behaves like a mutation that returns a top-level access error4244 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4245 behaves like an on-demand scan mutation when user can run an on-demand scan4246 returns an empty errors array4247 deletes the dast_scanner_profile4248 when on demand scan licensed feature is not available4249 behaves like a mutation that returns a top-level access error4250 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4251 when the dast_scanner_profile does not exist4252 behaves like a mutation that returns top-level errors4253 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4254getting approval project rules for a branch rule4255 # order random4256 when the user does not have read_approval_rule abilities4257 behaves like a working graphql query4258 returns a successful response4259 hides approval rule data4260 when the user does have read_approval_rule abilities4261 behaves like a working graphql query4262 returns a successful response4263 returns all approval project rule data4264 avoids N+1 queries4265LicenseMailer4266 #approaching_active_user_count_limit4267 when license is present4268 is expected to have subject of "Your subscription is nearing its user limit"4269 is expected to be bcc'd to ["admin@example.com", "another_admin@example.com"]4270 is expected to have body including "your subscription GitLab Enterprise Edition Starter"4271 is expected to have body including "You have 20 active users"4272 is expected to have body including "the user limit of 21"4273 when license is not present4274 does not send email4275 when send with I18n.default_locale4276 is expected to have subject of "Your subscription is nearing its user limit"4277 is expected to be bcc'd to ["123@abc", "hjk@123"]4278 is expected to have body including "your subscription GitLab Enterprise Edition Starter"4279 is expected to have body including "You have 20 active users"4280 is expected to have body including "the user limit of 21"4281Create an audit event type filter4282 # order random4283 when unlicensed4284 behaves like a mutation on an unauthorized resource4285 behaves like a mutation that returns top-level errors4286 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4287 when licensed4288 when current user is a group maintainer4289 behaves like a mutation that returns top-level errors4290 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4291 when current user is a group developer4292 behaves like a mutation that returns top-level errors4293 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4294 when current user is a group guest4295 behaves like a mutation that returns top-level errors4296 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4297 when current user is a group owner4298 returns success response4299 when event type filters in input is empty4300 returns graphql error4301Query.project(fullPath).pipeline(iid).codeQualityReportSummary4302 # order random4303 when pipeline does not have a code quality report4304 returns an empty result4305 when pipeline has a code quality report4306 when user is member of the project4307 returns code quality report summary4308 when user is not a member of the project4309 returns nil4310getting a repository in a project4311 # order random4312 when ref arg is omitted4313 returns the CODEOWNERS file from the default branch4314 when ref arg is passed4315 returns the CODEOWNERS file from the requested branch4316 when ref arg is invalid4317 returns an error4318API::RubygemPackages4319 # order random4320 GET /api/v4/projects/:project_id/packages/rubygems/gems/:file_name4321 behaves like applying ip restriction for group4322 in group without restriction4323 behaves like returning response status4324 returns ok4325 in group with restriction4326 with address within the range4327 behaves like returning response status4328 returns ok4329 with address outside the range4330 behaves like returning response status4331 returns not_found4332Groups::HookLogsController4333 behaves like WebHooks::HookLogActions4334 GET #show4335 renders a 200 if the hook exists4336 renders a 404 if the hook does not exist4337 POST #retry4338 executes the hook and redirects to the service form4339 renders a 404 if the hook does not exist4340Profiles::PreferencesController4341 PATCH update4342 when updating security dashboard feature4343 when the security dashboard feature is enabled4344 and valid group view choice is submitted4345 changes the user's preferences4346 and an invalid group view choice is submitted4347 responds with an error message4348 when the security dashboard feature is disabled4349 when security dashboard feature enabled4350 is expected not to change `user.reload.group_view_security_dashboard?`4351 when updating code suggestions setting4352 updates the attribute4353 when the feature flags are disabled4354 does not update attributes4355Projects::IssueFeatureFlagsController4356 GET #index4357 returns linked feature flags4358 does not return linked feature flags for a reporter4359 orders by feature_flag_issue id4360 does not make N+1 queries4361 when feature flag related issues feature is unlicensed4362 returns not found4363NamespaceCiCdSettingsUpdate4364 when unauthorized4365 when not a namespace member4366 behaves like unauthorized4367 returns an error4368 when a non-admin namespace member4369 behaves like unauthorized4370 returns an error4371 when authorized4372 updates allow_stale_runner_pruning?4373 does not update allow_stale_runner_pruning? if not specified4374 when bad arguments are provided4375 returns the errors4376getting list of branch rules for a project4377 # order random4378 when the user does have read_protected_branch abilities4379 queries4380 avoids N+1 queries4381 response4382 includes all fields4383 behaves like a working graphql query4384 returns a successful response4385Groups::Security::DashboardController4386 GET show4387 when security dashboard feature is enabled4388 and user is allowed to access group security dashboard4389 is expected to respond with numeric status code ok4390 when user is not allowed to access group security dashboard4391 is expected to respond with numeric status code ok4392 is expected to render template unavailable4393 when security dashboard feature is disabled4394 is expected to respond with numeric status code ok4395 is expected to render template unavailable4396Creating an External Issue Link4397 when the user does not have permission4398 does not destroy external issue link4399 behaves like a mutation that returns a top-level access error4400 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4401 when the user has permission4402 when security_dashboard is disabled4403 behaves like a mutation that returns top-level errors4404 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4405 when security_dashboard is enabled4406 destroys the external issue link4407EE::Emails::Profile4408 #policy_revoked_personal_access_tokens_email4409 is sent to the user4410 has the correct subject4411 mentions the access tokens were revoke4412 includes a link to personal access tokens page4413 includes the email reason4414Query.project(id).dashboards.panels(id).visualization4415 # order random4416 when current user is a developer4417 returns visualization4418 when the visualization does not exist4419 returns an error4420getting a list of external audit event destinations for a group4421 when authenticated as the group owner4422 returns the groups external audit event destinations4423 when authenticated as a group maintainer4424 behaves like a request that returns no destinations4425 returns no destinations4426 when authenticated as a group developer4427 behaves like a request that returns no destinations4428 returns no destinations4429 when authenticated as a group guest4430 behaves like a request that returns no destinations4431 returns no destinations4432 when not authenticated4433 behaves like a request that returns no destinations4434 returns no destinations4435Destroy an instance external audit event destination4436 # order random4437 when feature is unlicensed4438 behaves like a mutation that does not destroy a destination4439 does not destroy the destination4440 behaves like a mutation that returns top-level errors4441 is expected to contain exactly "You do not have access to this mutation."4442 when feature is licensed4443 when current user is an instance admin4444 when feature flag ff_external_audit_events is enabled4445 destroys the destination4446 when feature flag ff_external_audit_events is disabled4447 behaves like a mutation that does not destroy a destination4448 does not destroy the destination4449 behaves like a mutation that returns top-level errors4450 is expected to contain exactly "You do not have access to this mutation."4451 when current user is not instance admin4452 behaves like a mutation that does not destroy a destination4453 does not destroy the destination4454 behaves like a mutation that returns top-level errors4455 is expected to contain exactly "You do not have access to this mutation."4456Create test case4457 #resolve4458 when quality management feature is not available4459 behaves like a mutation that returns top-level errors4460 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4461 when quality management feature is available4462 when user can create test cases4463 creates new test case4464 with invalid arguments4465 behaves like an invalid argument to the mutation4466 behaves like a mutation that returns top-level errors4467 is expected to contain exactly (include "invalid value for notValid")4468 when user cannot create test cases4469 behaves like a mutation that returns top-level errors4470 is expected to contain exactly "The resource that you are attempting to access does not exist or you don't have permission to perform this action"4471Getting the current Geo node4472 returns the current GeoNode4473 behaves like a working graphql query4474 returns a successful response4475 connection fields4476 when selectiveSyncNamespaces is queried4477 returns selective sync namespaces4478 supports cursor-based pagination4479Projects::DeployTokensController4480 PUT /:project_path_with_namespace/-/deploy_tokens/:id/revoke4481 creates an audit event4482 behaves like sends correct event type in audit event stream4483 sends correct event type in audit event stream4484API::DebianGroupPackages4485 # order random4486 GET groups/:id/-/packages/debian/pool/:codename/:project_id/:letter/:package_name/:package_version/:file_name4487 behaves like applying ip restriction for group4488 in group without restriction4489 behaves like returning response status4490 returns ok4491 in group with restriction4492 with address within the range4493 behaves like returning response status4494 returns ok4495 with address outside the range4496 behaves like returning response status4497 returns not_found4498Update Environment Canary Ingress4499 when environment is protected and allowed to be deployed by only operator4500 fails to update4501OmniAuth Kerberos SPNEGO4502 asks for an SPNEGO token4503 when an SPNEGO token is provided4504 passes the token to spnego_negotiate!4505 when the final SPNEGO token is provided4506 redirects to the omniauth callback4507 stores the users principal name in the session4508 send the final SPNEGO response4509API::HelmPackages4510 # order random4511 GET /api/v4/projects/:id/packages/helm/:channel/charts/:file_name.tgz4512 behaves like applying ip restriction for group4513 in group without restriction4514 behaves like returning response status4515 returns ok4516 in group with restriction4517 with address within the range4518 behaves like returning response status4519 returns ok4520 with address outside the range4521 behaves like returning response status4522 returns not_found4523Admin::NamespaceLimitsController4524 # order random4525 GET #index4526 with an admin user4527 when on .com4528 is successful4529 when not on .com4530 behaves like not found4531 is not found4532 when :namespace_limits_admin_dashboard is disabled4533 behaves like not found4534 is not found4535 with non-admin user4536 behaves like not found4537 is not found4538 when no user is logged in4539 redirects to login page4540Converts a work item to a new type4541 # order random4542 when user has permissions to convert the work item type4543 converts the work item4544 when the work item type is not part of the license4545 does not convert the work item4546Projects::InsightsController4547 # order random4548 POST #query4549 succeeds4550 when statement timeout happens4551 returns error response4552Projects::IterationCadencesController4553 behaves like accessing iteration cadences4554 index4555 role: :none, status: :not_found4556 behaves like returning response status4557 returns not_found4558 role: :guest, status: :success4559 behaves like returning response status4560 returns success4561 role: :developer, status: :success4562 behaves like returning response status4563 returns success4564Emails::Issues4565 iterations4566 #changed_iteration_issue_email4567 shows the iteration it was changed to4568 #removed_iteration_issue_email4569 says iteration was removed4570Subscriptions::AiCompletionResponse4571 # order random4572 when user is nil4573 does not receive any data4574 when user is authorized4575 receives data4576 when user is unauthorized4577 does not receive any data4578Groups::Security::ComplianceFrameworkReportsController4579 # order random4580 GET /groups/*group_id/-/security/compliance_framework_reports(.:format)4581 when user does not have access to dashboard4582 renders not found4583 when user has access to compliance reports4584 defers email generation and redirects with message on following page4585getting ai conversations related to a project4586 # order random4587 with messages that should not be returned4588 returns only the relevant messages4589Updating an on-call schedule4590 # order random4591 updates the on-call schedule4592Admin::SubscriptionsController4593 GET /subscriptions4594 when the user is not admin4595 responds with 4044596 when the user an admin4597 renders the Activation Form4598devopsAdoptionEnabledNamespaces4599 returns measurement objects4600API::UsageData4601 POST /usage_data/increment_counter4602 with authentication4603 with correct params4604 prefix: "users", event: "clicking_license_testing_visiting_external_website"4605 returns status :ok4606 prefix: "users", event: "visiting_testing_license_compliance_full_report"4607 returns status :ok4608PasswordsController4609 #create4610 generates audit events4611IdeController4612 # order random4613 adds CSP headers for code suggestions4614Profiles::KeysController4615 #create4616 logs the audit event4617Knapsack report was generated. Preview:4618{4619 "ee/spec/controllers/concerns/routable_actions_spec.rb": 86.59002711400001,4620 "ee/spec/requests/api/settings_spec.rb": 92.25302189199999,4621 "ee/spec/controllers/admin/application_settings_controller_spec.rb": 65.00511644100004,4622 "ee/spec/requests/api/namespaces_spec.rb": 43.73855631099991,4623 "ee/spec/requests/api/merge_request_approval_rules_spec.rb": 54.25664658000005,4624 "ee/spec/requests/api/releases_spec.rb": 43.217680133000044,4625 "ee/spec/requests/api/merge_request_approvals_spec.rb": 28.667312217000017,4626 "ee/spec/requests/api/graphql/mutations/epic_tree/reorder_spec.rb": 31.35695617800002,4627 "ee/spec/requests/api/merge_requests_spec.rb": 27.406064140000012,4628 "ee/spec/requests/projects/merge_requests_controller_spec.rb": 26.626046990999953,4629 "ee/spec/controllers/registrations/groups_controller_spec.rb": 18.460871931000042,4630 "ee/spec/requests/api/deployments_spec.rb": 22.356163688000038,4631 "ee/spec/controllers/groups/analytics/cycle_analytics/stages_controller_spec.rb": 18.64275206000002,4632 "ee/spec/requests/api/epic_links_spec.rb": 13.747036042000104,4633 "ee/spec/controllers/projects/audit_events_controller_spec.rb": 10.152202873000078,4634 "ee/spec/requests/api/internal/kubernetes_spec.rb": 15.971044871999993,4635 "ee/spec/requests/api/project_push_rule_spec.rb": 12.900902212000005,4636 "ee/spec/controllers/projects/settings/merge_requests_controller_spec.rb": 11.019591249000086,4637 "ee/spec/requests/groups/epics/epic_links_controller_spec.rb": 10.256122047999952,4638 "ee/spec/requests/api/merge_request_approval_settings_spec.rb": 8.278410595000082,4639 "ee/spec/requests/api/graphql/mutations/audit_events/external_audit_event_destinations/create_spec.rb": 9.803749487999994,4640 "ee/spec/requests/api/graphql/ci/catalog/resources_spec.rb": 10.807130002999997,4641 "ee/spec/controllers/groups/epics/notes_controller_spec.rb": 12.97575278699992,4642 "ee/spec/requests/api/todos_spec.rb": 9.287696421999954,4643 "ee/spec/requests/api/group_protected_branches_spec.rb": 8.057699938000042,4644 "ee/spec/requests/api/invitations_spec.rb": 8.92027386399991,4645 "ee/spec/requests/api/boards_spec.rb": 7.881059973999982,4646 "ee/spec/requests/api/graphql/project/pipeline/security_report_summary_spec.rb": 9.342762355999866,4647 "ee/spec/requests/api/graphql/mutations/epics/update_spec.rb": 9.520327866000116,4648 "ee/spec/requests/api/graphql/mutations/boards/epic_boards/epic_move_list_spec.rb": 7.861357918999829,4649 "ee/spec/controllers/oauth/geo_auth_controller_spec.rb": 8.85828020100007,4650 "ee/spec/mailers/ee/emails/admin_notification_spec.rb": 4.2533135170001515,4651 "ee/spec/requests/projects/analytics/dashboards_controller_spec.rb": 6.3664435299999695,4652 "ee/spec/requests/api/graphql/mutations/notes/create/note_spec.rb": 6.075096926000015,4653 "ee/spec/requests/ee/groups/autocomplete_sources_spec.rb": 5.7048552989999735,4654 "ee/spec/requests/api/graphql/mutations/remote_development/workspaces/create_spec.rb": 5.315579563000028,4655 "ee/spec/requests/api/graphql/project/requirements_management/test_reports_spec.rb": 5.4800421679999545,4656 "ee/spec/requests/api/geo_replication_spec.rb": 5.611218027000177,4657 "ee/spec/controllers/ee/dashboard/projects_controller_spec.rb": 6.314971024999977,4658 "ee/spec/requests/api/ci/variables_spec.rb": 4.342856469000026,4659 "ee/spec/requests/api/graphql/dora/dora_scores_spec.rb": 5.331739280999955,4660 "ee/spec/requests/api/graphql/mutations/audit_events/instance_external_audit_event_destinations/create_spec.rb": 3.353524165999943,4661 "ee/spec/requests/api/graphql/mutations/boards/epics/create_spec.rb": 4.177453473000014,4662 "ee/spec/requests/api/graphql/group/epic/epic_issues_spec.rb": 4.5245185920000495,4663 "ee/spec/mailers/ee/emails/projects_spec.rb": 4.793022567999969,4664 "ee/spec/requests/api/graphql/project/pipelines/dast_profile_spec.rb": 3.780513877999965,4665 "ee/spec/requests/api/templates_spec.rb": 2.5081286199999795,4666 "ee/spec/requests/rack_attack_spec.rb": 5.543934632999935,4667 "ee/spec/requests/projects/requirements_management/requirements_controller_spec.rb": 4.011371088000033,4668 "ee/spec/requests/projects/audit_events_spec.rb": 4.381387981999978,4669 "ee/spec/controllers/concerns/onboarding_spec.rb": 1.996699092999961,4670 "ee/spec/controllers/projects/security/vulnerability_report_controller_spec.rb": 3.6561417699999765,4671 "ee/spec/requests/api/graphql/projects/compliance_frameworks_spec.rb": 5.058137356000088,4672 "ee/spec/requests/api/analytics/project_deployment_frequency_spec.rb": 4.259576797000136,4673 "ee/spec/requests/api/provider_identity_spec.rb": 3.7383531069999663,4674 "ee/spec/requests/api/graphql/mutations/dast_site_validations/create_spec.rb": 4.511188227000048,4675 "ee/spec/requests/api/graphql/mutations/vulnerabilities/create_external_issue_link_spec.rb": 5.096108355000069,4676 "ee/spec/requests/api/group_milestones_spec.rb": 3.635325361000014,4677 "ee/spec/requests/api/graphql/audit_events/streaming/headers/create_spec.rb": 2.9239075779998984,4678 "ee/spec/requests/api/dora/metrics_spec.rb": 2.969196697000143,4679 "ee/spec/requests/api/ci/minutes_spec.rb": 2.7542636340001536,4680 "ee/spec/controllers/admin/push_rules_controller_spec.rb": 2.5035576140001012,4681 "ee/spec/requests/groups/clusters_controller_spec.rb": 5.420490752000205,4682 "ee/spec/requests/api/pypi_packages_spec.rb": 2.490367175000074,4683 "ee/spec/requests/api/graphql/mutations/issues/bulk_update_spec.rb": 3.854969651999909,4684 "ee/spec/requests/api/graphql/mutations/incident_management/oncall_rotation/create_spec.rb": 3.1401690499999404,4685 "ee/spec/mailers/credentials_inventory_mailer_spec.rb": 1.9053366360001291,4686 "ee/spec/requests/groups/analytics/devops_adoption_controller_spec.rb": 3.4660775550000835,4687 "ee/spec/requests/api/graphql/current_user/groups_query_spec.rb": 4.575239068999963,4688 "ee/spec/requests/api/graphql/project/dast_scanner_profiles_spec.rb": 2.5380701069998395,4689 "ee/spec/controllers/registrations/verification_controller_spec.rb": 1.6307523420000507,4690 "ee/spec/requests/api/graphql/mutations/dast_scanner_profiles/delete_spec.rb": 2.1683299329999954,4691 "ee/spec/requests/api/graphql/project/branch_rules/approval_project_rules_spec.rb": 3.0557913630000257,4692 "ee/spec/mailers/license_mailer_spec.rb": 2.128757596000014,4693 "ee/spec/requests/api/graphql/audit_events/streaming/event_type_filters/create_spec.rb": 2.185590144000116,4694 "ee/spec/requests/api/graphql/project/pipeline/code_quality_report_summary_spec.rb": 2.0313039420000223,4695 "ee/spec/requests/api/graphql/project/repository_spec.rb": 1.5156957750000402,4696 "ee/spec/requests/api/rubygem_packages_spec.rb": 1.4603737169998112,4697 "ee/spec/requests/groups/hook_logs_controller_spec.rb": 2.2683232069998667,4698 "ee/spec/controllers/ee/profiles/preferences_controller_spec.rb": 2.719495444000131,4699 "ee/spec/requests/projects/issue_feature_flags_controller_spec.rb": 2.4616069260000586,4700 "ee/spec/requests/api/graphql/mutations/ci/namespace_ci_cd_settings_update_spec.rb": 2.1038902119998966,4701 "ee/spec/requests/api/graphql/project/branch_rules_spec.rb": 2.217125069999838,4702 "ee/spec/controllers/groups/security/dashboard_controller_spec.rb": 1.8595642160000807,4703 "ee/spec/requests/api/graphql/mutations/vulnerabilities/destroy_external_issue_link_spec.rb": 1.811022788999935,4704 "ee/spec/mailers/ee/emails/profile_spec.rb": 0.8134633310000936,4705 "ee/spec/requests/api/graphql/product_analytics/visualizations_spec.rb": 1.7433371290001105,4706 "ee/spec/requests/api/graphql/group/external_audit_event_destinations_spec.rb": 1.9881607050001548,4707 "ee/spec/requests/api/graphql/mutations/audit_events/instance_external_audit_event_destinations/destroy_spec.rb": 1.8272345410000526,4708 "ee/spec/requests/api/graphql/mutations/quality_management/test_cases/create_spec.rb": 2.838073642000154,4709 "ee/spec/requests/api/graphql/geo/geo_node_spec.rb": 1.519752255000185,4710 "ee/spec/requests/ee/projects/deploy_tokens_controller_spec.rb": 1.5836290060001375,4711 "ee/spec/requests/api/debian_group_packages_spec.rb": 1.7740116930001477,4712 "ee/spec/requests/api/graphql/mutations/environments/canary_ingress/update_spec.rb": 1.7124525950000589,4713 "ee/spec/requests/omniauth_kerberos_spec.rb": 0.8040274089999002,4714 "ee/spec/requests/api/helm_packages_spec.rb": 1.3986184279999634,4715 "ee/spec/requests/admin/namespace_limits_controller_spec.rb": 1.231614362999835,4716 "ee/spec/requests/api/graphql/mutations/work_items/convert_spec.rb": 1.477636389000054,4717 "ee/spec/requests/projects/insights_controller_spec.rb": 0.9563594820001526,4718 "ee/spec/controllers/projects/iteration_cadences_controller_spec.rb": 2.242695743000013,4719 "ee/spec/mailers/ee/emails/issues_spec.rb": 0.997663128999875,4720 "ee/spec/requests/api/graphql/subscriptions/ai_completion_response_spec.rb": 1.1163096399998267,4721 "ee/spec/requests/groups/security/compliance_framework_reports_controller_spec.rb": 1.1092883520000214,4722 "ee/spec/requests/api/graphql/project/ai_conversations_spec.rb": 0.983190458999843,4723 "ee/spec/requests/api/graphql/mutations/incident_management/oncall_schedule/update_spec.rb": 0.8172424189999674,4724 "ee/spec/requests/admin/subscriptions_controller_spec.rb": 0.8157072789999802,4725 "ee/spec/requests/api/graphql/analytics/devops_adoption/enabled_namespaces_spec.rb": 0.5810014539999884,4726 "ee/spec/requests/api/usage_data_spec.rb": 0.5319362569998702,4727 "ee/spec/controllers/passwords_controller_spec.rb": 0.5111337289999938,4728 "ee/spec/requests/ide_controller_spec.rb": 0.38018713700012086,4729 "ee/spec/controllers/profiles/keys_controller_spec.rb": 0.41071372400006114730}4731Knapsack global time execution for tests: 16m 10s4732Failures:4733 1) Query.project(fullPath).pipelines.dastProfile when feature is licensed when user is member of the project avoids N+1 queries4734 Failure/Error: expect { subject }.not_to exceed_query_limit(control)4735 Expected a maximum of 37 queries, got 38:4736 Query Diff:4737 -----------4738 SELECT "personal_access_tokens".* FROM "personal_access_tokens"...4739 -- (expected: 1, got: 0)4740 WHERE "personal_access_tokens"."token_digest" = 'G07e3qVinVup2C2eAYsEtRVGH26ZSRUCv6aZTNoB5FI=' LIMIT 14741 -- (expected: 1, got: 0)4742 WHERE "personal_access_tokens"."token_digest" = '/ofWZWQc5cWUNK4llk5H3JpIbFIg1OnkLfsSdIm/6iQ=' LIMIT 14743 -- (expected: 0, got: 1)4744 WHERE "personal_access_tokens"."token_digest" = 'Giibl765C2OD5PWopmgIe9mW/LQL4LIEgkdh1/G1GZU=' LIMIT 14745 -- (expected: 0, got: 1)4746 WHERE "personal_access_tokens"."token_digest" = 'sTcb8UoehMQ/L6KM0sDgO7imtlKMkParyknDUDvDZPM=' LIMIT 14747 SAVEPOINT active_record_3...4748 -- (expected: 2, got: 1)4750 RELEASE SAVEPOINT active_record_3...4751 -- (expected: 2, got: 1)4753 SELECT "user_details"."user_id", "user_details"."job_title", "user_details"."bio", "user_details"."webauthn_xid", "user_details"."provisioned_by_group_id", "user_details"."pronouns", "user_details"."pronunciation", "user_details"."registration_objective", "user_details"."phone", "user_details"."linkedin", "user_details"."twitter", "user_details"."skype", "user_details"."website_url", "user_details"."location", "user_details"."organization", "user_details"."password_last_changed_at", "user_details"."onboarding_step_url", "user_details"."discord", "user_details"."provisioned_by_group_at" FROM "user_details"...4754 -- (expected: 1, got: 0)4755 WHERE "user_details"."user_id" = 1387 LIMIT 14756 SELECT "user_synced_attributes_metadata".* FROM "user_synced_attributes_metadata"...4757 -- (expected: 1, got: 0)4758 WHERE "user_synced_attributes_metadata"."user_id" = 1387 LIMIT 14759 SELECT "namespaces".* FROM "namespaces"...4760 -- (expected: 1, got: 0)4761 WHERE "namespaces"."owner_id" = 1387 AND "namespaces"."type" = 'User' LIMIT 14762 UPDATE "users"...4763 -- (expected: 1, got: 0)4764 SET "sign_in_count" = 1, "current_sign_in_at" = '2023-06-02 06:42:17.093471', "last_sign_in_at" = '2023-06-02 06:42:17.093471', "current_sign_in_ip" = '127.0.0.1', "last_sign_in_ip" = '127.0.0.1', "updated_at" = '2023-06-02 06:42:17.109864' WHERE "users"."id" = 13874765 INSERT INTO "user_details" ("user_id")...4766 -- (expected: 1, got: 0)4767 VALUES (1387) RETURNING "user_id"4768 SELECT "emails"."email" FROM "emails"...4769 -- (expected: 1, got: 0)4770 WHERE "emails"."user_id" = 1387 AND "emails"."confirmed_at" IS NOT NULL4771 SELECT "user_preferences"."id", "user_preferences"."user_id", "user_preferences"."issue_notes_filter", "user_preferences"."merge_request_notes_filter", "user_preferences"."created_at", "user_preferences"."updated_at", "user_preferences"."epics_sort", "user_preferences"."roadmap_epics_state", "user_preferences"."epic_notes_filter", "user_preferences"."issues_sort", "user_preferences"."merge_requests_sort", "user_preferences"."roadmaps_sort", "user_preferences"."first_day_of_week", "user_preferences"."timezone", "user_preferences"."time_display_relative", "user_preferences"."projects_sort", "user_preferences"."show_whitespace_in_diffs", "user_preferences"."sourcegraph_enabled", "user_preferences"."setup_for_company", "user_preferences"."render_whitespace_in_code", "user_preferences"."tab_width", "user_preferences"."view_diffs_file_by_file", "user_preferences"."gitpod_enabled", "user_preferences"."markdown_surround_selection", "user_preferences"."diffs_deletion_color", "user_preferences"."diffs_addition_color", "user_preferences"."markdown_automatic_lists", "user_preferences"."use_new_navigation", "user_preferences"."achievements_enabled", "user_preferences"."pinned_nav_items", "user_preferences"."pass_user_identities_to_ci_jwt", "user_preferences"."enabled_following", "user_preferences"."visibility_pipeline_id_type", "user_preferences"."project_shortcut_buttons" FROM "user_preferences"...4772 -- (expected: 1, got: 0)4773 WHERE "user_preferences"."user_id" = 1387 LIMIT 14774 SELECT "dast_pre_scan_verifications".* FROM "dast_pre_scan_verifications"...4775 -- (expected: 0, got: 1)4776 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 6 LIMIT 14777 -- (expected: 0, got: 1)4778 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 5 LIMIT 14779 -- (expected: 0, got: 1)4780 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 4 LIMIT 14781 -- (expected: 0, got: 1)4782 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 3 LIMIT 14783 -- (expected: 0, got: 1)4784 WHERE "dast_pre_scan_verifications"."dast_profile_id" = 2 LIMIT 14785 SELECT "dast_profiles_tags"."tag_id" FROM "dast_profiles_tags"...4786 -- (expected: 0, got: 1)4787 WHERE "dast_profiles_tags"."dast_profile_id" = 64788 -- (expected: 0, got: 1)4789 WHERE "dast_profiles_tags"."dast_profile_id" = 54790 -- (expected: 0, got: 1)4791 WHERE "dast_profiles_tags"."dast_profile_id" = 44792 -- (expected: 0, got: 1)4793 WHERE "dast_profiles_tags"."dast_profile_id" = 34794 -- (expected: 0, got: 1)4795 WHERE "dast_profiles_tags"."dast_profile_id" = 24796 # ./ee/spec/requests/api/graphql/project/pipelines/dast_profile_spec.rb:79:in `block (4 levels) in <top (required)>'4797 # ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'4798 # ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'4799 # ./spec/spec_helper.rb:406:in `block (2 levels) in <top (required)>'4800 # ./spec/spec_helper.rb:402:in `block (3 levels) in <top (required)>'4801 # ./lib/gitlab/application_context.rb:61:in `with_raw_context'4802 # ./spec/spec_helper.rb:402:in `block (2 levels) in <top (required)>'4803 # ./spec/spec_helper.rb:243:in `block (2 levels) in <top (required)>'4804 # ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'4805 # ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <top (required)>'4806 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <top (required)>'4807 # ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'4808 # ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <top (required)>'4809Finished in 16 minutes 13 seconds (files took 1 minute 21.54 seconds to load)48101613 examples, 1 failure4811Failed examples:4812rspec ./ee/spec/requests/api/graphql/project/pipelines/dast_profile_spec.rb:69 # Query.project(fullPath).pipelines.dastProfile when feature is licensed when user is member of the project avoids N+1 queries4813Randomized with seed 223924814[TEST PROF INFO] Time spent in factories: 07:09.597 (42.77% of total time)4815Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected4816RSpec exited with 1.4817RETRIED_TESTS_REPORT_PATH: rspec/flaky/retried_tests_rspec-ee_integration_pg13_single-db-ci-connection_6_6_report.txt4818Retrying the failing examples in a new RSpec process...4819$ gem install junit_merge --no-document --version 0.1.24820Successfully installed nokogiri-1.15.2-x86_64-linux4821Successfully installed junit_merge-0.1.248222 gems installed4823==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 1 seconds.4824Running RSpec command: bin/rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format Support::Formatters::JsonFormatter --out rspec/rspec-retry-4400964945.json --format RspecJunitFormatter --out rspec/rspec-retry-4400964945.xml --only-failures --pattern "{ee/}spec/{commands,controllers,mailers,requests}{,/**/}*_spec.rb"4825warning: parser/current is loading parser/ruby30, which recognizes 3.0.5-compliant syntax, but you are running 3.0.6.4827Run options: include {:last_run_status=>"failed"}4828Test environment set up in 0.3229987 seconds4829Query.project(fullPath).pipelines.dastProfile4830 when feature is licensed4831 when user is member of the project4832 avoids N+1 queries4833Finished in 6.8 seconds (files took 35.52 seconds to load)48341 example, 0 failures4835[TEST PROF INFO] Time spent in factories: 00:03.413 (41.86% of total time)4836Loading rspec/rspec-4400964945.json...4837Merged rspec/rspec-retry-4400964945.json adding 4 results.4838Saved rspec/rspec-4400964945.json.4839A test was flaky and succeeded after being retried. Checking to see if flaky test is part of this MR...4840Flaky test was not part of this MR.4842Not uploading cache ruby-gems-debian-bullseye-ruby-3.0-16 due to policy4844Uploading artifacts...4845coverage/: found 4 matching artifact files and directories 4846crystalball/: found 2 matching artifact files and directories 4847WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 4848knapsack/: found 4 matching artifact files and directories 4849WARNING: query_recorder/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 4850rspec/: found 19 matching artifact files and directories 4851WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 4852log/*.log: found 15 matching artifact files and directories 4853WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4400964945/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com4854WARNING: Retrying... context=artifacts-uploader error=request redirected4855Uploading artifacts as "archive" to coordinator... 201 Created id=4400964945 responseStatus=201 Created token=64_uaXWh4856Uploading artifacts...4857rspec/rspec-*.xml: found 2 matching artifact files and directories 4858WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/4400964945/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com4859WARNING: Retrying... context=artifacts-uploader error=request redirected4860Uploading artifacts as "junit" to coordinator... 201 Created id=4400964945 responseStatus=201 Created token=64_uaXWh4862Job succeeded