mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-11 16:30:57 +00:00
## Summary Add Playwright E2E tests for workflow tab interactions in the topbar. ## Changes - **What**: New test file `browser_tests/tests/topbar/workflowTabs.spec.ts` with 5 tests covering default tab visibility, tab creation, switching, closing, and context menu. Added `newWorkflowButton`, `getTab()`, and `getActiveTab()` locators to `Topbar.ts` fixture. ## Review Focus Tests are focused on tab UI interactions only (sidebar workflow operations are already covered in `workflows.spec.ts`). Context menu assertion uses Reka UI's `data-reka-context-menu-content` attribute. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-10796-test-add-E2E-tests-for-workflow-tab-operations-3356d73d36508170a657ef816e23b71c) by [Unito](https://www.unito.io) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>