feat: BDD test suite with playwright-bdd for UX regression testing - #25
Merged
Conversation
…ression testing Add 36 Gherkin feature files with ~162 scenarios (394 generated tests after outline expansion) covering all 25 Studio pages, 6 user roles, API endpoints, memory system, guardrails, enterprise features, and visual regression. Infrastructure: - playwright-bdd v8+ with createBdd() pattern - Dual Playwright projects: "bdd" (new) and "existing" (untouched) - npm scripts: test, test:existing, test:all, test:smoke, test:visual Feature coverage by domain: - Auth: login, RBAC navigation, RBAC API access, API keys - Agents: chat creation, deep agents, detail view, agent chat, deploy modal - Memory: short-term CRUD, long-term embeddings + search, compaction - Guardrails: pipeline checks, rule management - Studio UI: all 15 pages (dashboard through org-chart) - Enterprise: multi-tenancy, 5 compliance frameworks, audit integrity - Cross-cutting: command palette, theme toggle, visual regression baselines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
playwright-bddWhat's covered
Architecture
How to run
Test plan
npm installsucceeds ine2e/npx bddgengenerates.features-gen/without errorsnpm run test:existing— existing 91 tests still passnpm test— BDD scenarios run against running platformnpm run test:smoke— smoke subset runs independently--update-snapshots