Skip to content

test: add e2e test for duo chat e2e flow

Jay McCure requested to merge jmc-duo-chat-smoke-test into main

Description

Adds a simple E2E test to invoke Duo Chat within VS Code and ensures it gets a response.

The test ensures that when we say hi to duo chat it returns GitLab Duo Chat in the response. This string was chosen since we define what our chat bot is called so it should be deterministic.

Related Issues

Resolves #1225

How has this been tested?

Locally using my PAT and also in this pipeline.

4 passing jobs:

  1. https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/jobs/6653720255
  2. https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/jobs/6653761076 (this one had a code suggestion failure which we may need to investigate)
  3. https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/jobs/6653828160
  4. https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/jobs/6653828160

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Jay McCure

Merge request reports

Loading