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

E2E test: tag e2e tests which use an external ai provider

上级 b5cb4b6a
No related branches found
No related tags found
1 合并请求!2419Fix TanukiBot spec relying on outdated code
...@@ -69,7 +69,7 @@ module QA ...@@ -69,7 +69,7 @@ module QA
}.compact }.compact
end end
context 'on SaaS', only: { pipeline: %w[staging-canary staging canary production] } do context 'on SaaS', :external_ai_provider, only: { pipeline: %w[staging-canary staging canary production] } do
let(:project_path) { 'gitlab-org/gitlab' } let(:project_path) { 'gitlab-org/gitlab' }
let(:project_id) { 278964 } let(:project_id) { 278964 }
let(:expected_language) { 'ruby' } let(:expected_language) { 'ruby' }
...@@ -119,7 +119,7 @@ module QA ...@@ -119,7 +119,7 @@ module QA
}.compact }.compact
end end
context 'on SaaS', only: { pipeline: %w[staging-canary staging canary production] } do context 'on SaaS', :external_ai_provider, only: { pipeline: %w[staging-canary staging canary production] } do
let(:project_path) { 'gitlab-org/gitlab' } let(:project_path) { 'gitlab-org/gitlab' }
let(:project_id) { 278964 } let(:project_id) { 278964 }
let(:expected_language) { 'python' } let(:expected_language) { 'python' }
...@@ -144,7 +144,7 @@ module QA ...@@ -144,7 +144,7 @@ module QA
}.compact }.compact
end end
context 'on SaaS', only: { pipeline: %w[staging-canary staging canary production] } do context 'on SaaS', :external_ai_provider, only: { pipeline: %w[staging-canary staging canary production] } do
let(:project_path) { 'gitlab-org/gitlab' } let(:project_path) { 'gitlab-org/gitlab' }
let(:project_id) { 278964 } let(:project_id) { 278964 }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module QA module QA
# https://docs.gitlab.com/ee/development/ai_features/duo_chat.html # https://docs.gitlab.com/ee/development/ai_features/duo_chat.html
RSpec.describe('Ai-powered', product_group: :duo_chat) do RSpec.describe 'Ai-powered', :external_ai_provider, product_group: :duo_chat do
describe 'Duo Chat' do describe 'Duo Chat' do
before do before do
Flow::Login.sign_in Flow::Login.sign_in
......
...@@ -74,7 +74,8 @@ module QA ...@@ -74,7 +74,8 @@ module QA
end end
end end
context 'on GitLab.com', :smoke, only: { pipeline: %i[staging staging-canary canary production] } do context 'on GitLab.com', :smoke, :external_ai_provider,
only: { pipeline: %i[staging staging-canary canary production] } do
it_behaves_like 'a code generation suggestion', it_behaves_like 'a code generation suggestion',
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/425756' 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/425756'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module QA module QA
# https://docs.gitlab.com/ee/development/ai_features/duo_chat.html # https://docs.gitlab.com/ee/development/ai_features/duo_chat.html
RSpec.describe 'Create', product_group: :ide do RSpec.describe 'Create', :external_ai_provider, product_group: :ide do
describe 'Duo Chat in Web IDE' do describe 'Duo Chat in Web IDE' do
let(:project) { create(:project, :with_readme, name: 'webide-duo-chat-project') } let(:project) { create(:project, :with_readme, name: 'webide-duo-chat-project') }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册