Skip to content
代码片段 群组 项目
未验证 提交 d24cadaf 编辑于 作者: Sanad Liaquat's avatar Sanad Liaquat 提交者: GitLab
浏览文件

Merge branch 'e2e-add-ai-gateway-no-add-on-tests' into 'master'

No related branches found
No related tags found
无相关合并请求
...@@ -598,6 +598,19 @@ ai-gateway-no-seat-assigned: ...@@ -598,6 +598,19 @@ ai-gateway-no-seat-assigned:
- if: $QA_SUITES =~ /Test::Integration::AiGatewayNoSeatAssigned/ - if: $QA_SUITES =~ /Test::Integration::AiGatewayNoSeatAssigned/
- !reference [.rules:test:manual, rules] - !reference [.rules:test:manual, rules]
ai-gateway-no-add-on:
extends:
- .ai-gateway-base
variables:
QA_SCENARIO: Test::Integration::AiGatewayNoAddOn
before_script:
- export QA_EE_ACTIVATION_CODE=$QA_EE_ACTIVATION_CODE_NO_ADD_ON
- !reference [.ai-gateway-base, before_script]
rules:
- !reference [.rules:test:qa, rules]
- if: $QA_SUITES =~ /Test::Integration::AiGatewayNoAddOn/
- !reference [.rules:test:manual, rules]
ai-gateway-no-license: ai-gateway-no-license:
extends: extends:
- .ai-gateway-base - .ai-gateway-base
......
# frozen_string_literal: true
module QA
module EE
module Scenario
module Test
module Integration
class AiGatewayNoAddOn < QA::Scenario::Test::Instance::All
tags :ai_gateway_no_add_on
end
end
end
end
end
end
...@@ -93,6 +93,10 @@ module QA ...@@ -93,6 +93,10 @@ module QA
it_behaves_like 'unauthorized', 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/451487' it_behaves_like 'unauthorized', 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/451487'
end end
end end
context 'with no Duo Pro add-on', :ai_gateway_no_add_on do
it_behaves_like 'unauthorized', 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/452448'
end
end end
context 'with no license', :ai_gateway_no_license do context 'with no license', :ai_gateway_no_license do
......
...@@ -94,6 +94,10 @@ module QA ...@@ -94,6 +94,10 @@ module QA
it_behaves_like 'unauthorized', 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/451486' it_behaves_like 'unauthorized', 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/451486'
end end
end end
context 'with no Duo Pro add-on', :ai_gateway_no_add_on do
it_behaves_like 'unauthorized', 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/452450'
end
end end
context 'with no license', :ai_gateway_no_license do context 'with no license', :ai_gateway_no_license do
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册