Repository navigation
Split SimpleBehav into a polyglot DSL, Playwright, and LivingDoc. - #1
Merged
Merged
Conversation
Kotlin and TypeScript share the scenario chain and artifact format with .NET, and each language keeps its own build root. Co-authored-by: Cursor <cursoragent@cursor.com>
Pin Kotlin and Java to JVM 17 so CI can compile, write the suite index.html from the Kotlin and TypeScript runners, and run their browser scenarios in CI. Co-authored-by: Supat L <HuiSou@users.noreply.github.com>
simplebehav-gen now builds the same feature pages from JUnit and node:test chains as it does from C#. Co-authored-by: Supat L <HuiSou@users.noreply.github.com>
Clicking a scenario stays on the page and swaps the Given/When/Then steps and the trace together, on the index and on each feature page. Co-authored-by: Supat L <HuiSou@users.noreply.github.com>
|
Clicking a scenario shows the Given/When/Then spec and the Playwright trace on the same screen. |
The checkout click-through is an H.264 video in the repository, so the pull request can play it without a Cursor link. Co-authored-by: Supat L <HuiSou@users.noreply.github.com>
|
The walkthrough plays on GitHub. Open the video, then the two stills are the same two clicks. |
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.


Kotlin and TypeScript share the scenario chain and artifact format with .NET, and each language keeps its own build root.
Kotlin and TypeScript share the scenario chain and artifact format with .NET, and each language keeps its own build root.
Kotlin and Java both target JVM 17, so the Kotlin job compiles on CI. Kotlin and TypeScript write the same suite report page (
index.html) besidebundle.jsonandcucumber.json. CI runs the Playwright scenarios for both.simplebehav-gen --livingdocreads.cs,.kt, and.tstest files. The index is one screen: click a scenario and its Given/When/Then spec and Playwright trace appear together. Each feature page is the same screen for that file.Walkthrough, hosted in this pull request so it plays on GitHub:
https://github.com/agoda-com/simplebehav-net/blob/polyglot-dsl/docs/demos/livingdoc-click-spec-and-trace.mp4