E2E: Update duo chat test to dynamically check mock/real backend
Adds logic to check the direct_access['base_url'] value which should indicate where the AI Gateway is running. As we sometimes run with a mocked backend, we can use this value to determine whether the test shoudl expect to run a mocked string or something generated by a live model.
显示
- qa/qa/resource/code_suggestions/direct_access.rb 27 个添加, 0 个删除qa/qa/resource/code_suggestions/direct_access.rb
- qa/qa/specs/features/ee/api/3_create/code_suggestions_spec.rb 1 个添加, 16 个删除...a/specs/features/ee/api/3_create/code_suggestions_spec.rb
- qa/qa/specs/features/ee/browser_ui/16_ai_powered/duo_chat/duo_chat_spec.rb 7 个添加, 6 个删除...res/ee/browser_ui/16_ai_powered/duo_chat/duo_chat_spec.rb
- qa/qa/specs/features/ee/browser_ui/3_create/web_ide/duo_chat_in_web_ide_spec.rb 7 个添加, 6 个删除...e/browser_ui/3_create/web_ide/duo_chat_in_web_ide_spec.rb
加载中
想要评论请 注册 或 登录