Vv/test automation - #264
Open
vishnuv688 wants to merge 56 commits into
Open
Conversation
Greptile SummaryThe PR expands component and adapter test automation while updating trace capture, run-state continuity, trace parsing, and related app behavior.
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains within the scope of the prior review thread. The previously reported missing-fixture skip path no longer exists: the capture-parity suite, ready matrix, fixtures, verification script, and associated CI workflow were removed together, so the old silent-skip behavior cannot occur on the current HEAD.
|
| Filename | Overview |
|---|---|
| packages/core/src/run-id.ts | Introduces shared environment-backed run identity generation and propagation. |
| packages/backend/src/index.ts | Updates worker connection handling to preserve backend state across sockets belonging to the same run. |
| packages/backend/src/trace-reader.ts | Extends trace archive parsing around the consolidated trace-file contract. |
| packages/app/src/components/workbench/compare/stepResolution.ts | Resolves preserved test UIDs directly so compare commands are windowed to the selected test. |
| packages/nightwatch-devtools/src/cucumber-lifecycle.ts | Adds pre-quit Cucumber capture handling while the scenario browser session remains available. |
| packages/app/wdio.conf.ts | Configures the new WebdriverIO browser-component test suite. |
Sequence Diagram
sequenceDiagram
participant Runner
participant Adapter
participant Core
participant Backend
participant App
Runner->>Adapter: Start run and browser session
Adapter->>Core: Resolve and propagate run ID
Adapter->>Backend: Connect worker socket with runId
Backend->>Backend: Preserve or reset accumulated run state
Adapter->>Core: Capture commands, assertions, and snapshots
Core->>Backend: Stream live events or write trace.zip
Backend->>App: Replay accumulated run data
App->>App: Render tested explorer and workbench states
Reviews (2): Last reviewed commit: "fix(app): window the compare panel to a ..." | Re-trigger Greptile
|
Too many files changed for review. ( Bypass the limit by tagging |
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.
What & why
Type of change
Packages touched
shared(types and contracts)core(framework-agnostic capture/reporting)service(WebdriverIO adapter)nightwatch-devtools(Nightwatch adapter)selenium-devtools(Selenium adapter)backend(server)app(UI)script(page-injected runtime)Notes for reviewers
Screenshots / recordings