mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-27 09:24:31 +01:00
feat(e2e): enhance end-to-end testing setup with new scripts and capture cases
- Updated package.json to include new E2E scripts for execution and snapshot capturing. - Added new capture cases for the "new-project-modal" and "start-new-chat" functionalities in the E2E tests. - Increased wait times in session detail captures to ensure elements are fully loaded before interactions. - Introduced new shell scripts for starting the server and capturing snapshots, improving the E2E testing workflow. - Updated NewChatModal and SessionsTab components to include data-testid attributes for better test targeting.
This commit is contained in:
@@ -35,7 +35,9 @@
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest --run",
|
||||
"test:watch": "vitest",
|
||||
"e2e": "./scripts/e2e.sh"
|
||||
"e2e": "./scripts/e2e/exec_e2e.sh",
|
||||
"e2e:start-server": "./scripts/e2e/start_server.sh",
|
||||
"e2e:capture-snapshots": "./scripts/e2e/capture_snapshots.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"@anthropic-ai/claude-code": "^1.0.98",
|
||||
|
||||
Reference in New Issue
Block a user