mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
replay ui fix (#56)
* refactor: rename inspect to replay across the codebase Renames inspect-ui/ to replay-ui/, internal/inspect/ to internal/replay/, the CLI subcommand from `sanderling inspect` to `sanderling replay`, and updates all references in docs, Makefile, README, and Go comments. * feat(replay-ui): show spec filename with full path on hover RunList and RunDetail now render the basename of spec_path (e.g. login.spec.ts) with the full path available as a title tooltip.
This commit is contained in:
71 files changed
+104
-92
No files matched your search
@@ -321,7 +321,7 @@ func encodeExtractorValue(value goja.Value) []byte {
|
||||
|
||||
// ChangedExtractors returns the named extractors whose value changed between
|
||||
// the prior PushSnapshot and the current one. The map is keyed by extractor
|
||||
// name; unnamed extractors (extractor_N fallback) are included so the inspect
|
||||
// name; unnamed extractors (extractor_N fallback) are included so the replay
|
||||
// UI can still display them under a numeric label. The very first snapshot
|
||||
// emits every non-null extractor as a change (Prev=null, Curr=current) since
|
||||
// the runner can otherwise misread "no diff yet" as "nothing initialized".
|
||||
@@ -525,7 +525,7 @@ func (v *Verifier) NewlyViolatedProperties() []string {
|
||||
// Residuals returns the residual formula for each registered property after
|
||||
// the most recent EvaluateProperties call. Properties whose violation was
|
||||
// caused by a thrown predicate surface as ErrorFormula, sourced from the
|
||||
// captured witness, so the inspect UI can render "predicate threw" inline.
|
||||
// captured witness, so the replay UI can render "predicate threw" inline.
|
||||
func (v *Verifier) Residuals() map[string]ltl.Formula {
|
||||
residuals := map[string]ltl.Formula{}
|
||||
for name, evaluator := range v.evaluators {
|
||||
|
||||
Reference in new issue
Block a user