Task: E2E test - Full workflow (open epic → expand → click task → view/sync progress)
Description
Create an end-to-end test that validates the complete user workflow from opening the extension, browsing epics, viewing task details, updating status, and syncing with GitHub. This test ensures all components work together seamlessly in a real-world scenario.
Acceptance Criteria
Technical Details
- Create test file:
test/e2e/fullWorkflow.test.ts
- Test workflow steps:
- Activate extension in test VSCode instance
- Verify tree view registered and visible
- Expand epic node in tree view
- Verify task nodes displayed
- Click task node to open file/panel
- Verify progress panel opens with task details
- Execute status update command (open → in_progress)
- Verify frontmatter updated in file
- Verify tree view icon updated
- Execute GitHub sync command
- Verify GitHub API called with correct data
- Verify GitHub issue link added to frontmatter
- Verify success notification shown
- Execute sync again (update existing issue)
- Verify GitHub issue updated
- Use @vscode/test-electron for full extension testing
- Create complete test workspace with epic/task files
- Mock GitHub API for predictable responses
- Capture screenshots at each step for debugging
- Use retry logic for timing-sensitive operations
- Files affected:
test/e2e/*.test.ts (new)
Dependencies
Effort Estimate
- Size: XL
- Hours: 16
- Parallel: false
Definition of Done
Task: E2E test - Full workflow (open epic → expand → click task → view/sync progress)
Description
Create an end-to-end test that validates the complete user workflow from opening the extension, browsing epics, viewing task details, updating status, and syncing with GitHub. This test ensures all components work together seamlessly in a real-world scenario.
Acceptance Criteria
Technical Details
test/e2e/fullWorkflow.test.tstest/e2e/*.test.ts(new)Dependencies
Effort Estimate
Definition of Done