Skip to content

TEST add frontend unit and e2e tests#1331

Merged
romanlutz merged 5 commits intomicrosoft:mainfrom
romanlutz:romanlutz/frontend_tests
Jan 28, 2026
Merged

TEST add frontend unit and e2e tests#1331
romanlutz merged 5 commits intomicrosoft:mainfrom
romanlutz:romanlutz/frontend_tests

Conversation

@romanlutz
Copy link
Copy Markdown
Contributor

Description

Adding tests for the frontend! This includes unit tests and e2e (including backend running). Notably, anything that requires a browser to be visible (i.e., not headless) can't be run in the devcontainer as of right now. I validated outside the devcontainer in Windows.

Tests and Documentation

added a bunch of simple ones for the trivial current frontend

Copy link
Copy Markdown
Contributor

@ValbuenaVC ValbuenaVC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good!

Comment thread frontend/e2e/api.spec.ts Outdated
Comment thread frontend/e2e/chat.spec.ts Outdated
Comment thread frontend/e2e/api.spec.ts Outdated
Comment thread frontend/e2e/api.spec.ts Outdated
Comment thread frontend/src/components/Chat/InputBox.test.tsx Outdated
Comment thread frontend/src/components/Chat/InputBox.test.tsx
Copy link
Copy Markdown
Contributor

@jbolor21 jbolor21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some tiny comments but looks good to me!

@romanlutz romanlutz merged commit d89872c into microsoft:main Jan 28, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants