Spaces:
Sleeping

wuyiqunLu commited on
Commit
06bd1d1
·
unverified ·
1 Parent(s): 466a263

feat: add playwright e2e test for chat page with new and old data structure (#99)

Browse files

You can run npx playwright test --ui locally to check the test

<img width="1582" alt="image"
src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/3f6d2db5-c2d4-4190-92e9-b152894788bc">

<img width="1264" alt="image"
src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/2429efe1-56e0-4f3f-9694-599475097f83">

11 files changed +370 -81
Files changed (11)
.github/workflows/playwright.ymlAdded+34
.gitignore+5-1
app/page.tsx+2-18
components/CodeResultDisplay.tsx+21-5
components/chat/ChatMessage.tsx+40-6
components/ui/Dialog.tsx+2-1
lib/constants.ts+23-1
package.json+6-4
playwright.config.tsAdded+69
pnpm-lock.yaml+83-45
tests/e2e/index.spec.tsAdded+85