Feat/getmobil suite#8
Merged
Merged
Conversation
A product entry point on the web Studio: enter your site URL and/or OpenAPI
spec, share your stories, get test scenarios (the "what to test" design — no
code). POST /api/scenarios grounds the design in the REAL system:
- siteUrl -> live UI inspect (DOM elements/flows)
- apiSpec -> OpenAPI probe (endpoints, statuses, contracts); accepts a spec
URL or pasted JSON
- both -> combined UI + API context
designTests gains an optional siteContext; public/scenarios.html is the UI
(URL + spec + stories -> priority-tagged scenarios, risks, open questions).
Verified end to end: getmobil UI inspect -> 14 grounded scenarios; the dummy
OpenAPI spec -> 15 API scenarios with real statuses (400 missing param, 404
unknown id) and per-schema contract checks.
A site URL or an API spec is enough to generate scenarios — the inspected/probed system is the requirement, so a written story is no longer mandatory. When no story is given, designTests derives the scenarios from the live context (each capability's happy/negative/edge cases; for APIs also statuses, contract shape, validation). /api/scenarios now requires only one of site/API/stories, and the UI marks stories as optional. Verified: pasting just the OpenAPI JSON (no story) yields 21 system-derived scenarios.
- probe (specProbe): parse Swagger 2.0 specs too (base URL from schemes+host+basePath, response.schema, param type/default) alongside OpenAPI 3.x. - web: POST /api/generate-suite — selected scenarios -> a runnable suite written into the project (generate, write, type-check, self-correct up to 2 rounds), API or UI lane by source. projectSources is mode-aware. Scenario Studio (scenarios.html) is now the home page; the old code studio is retired.
Product-grade UI for both surfaces in one purple design language (aurora background, glass cards, gradient accents, Inter/JetBrains Mono): - Scenario Studio: redesigned, plus scenario selection (custom checkboxes), faceted priority/type filters with counts, and a sticky "Generate suite" bar. - Agent: same design language, SSE timeline + approval/escalation gates kept. - Renamed the product to NeuralQA across both pages; new neural-glyph mark + favicon. Removed the Code Studio nav entry.
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.
No description provided.