mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-03 11:37:09 +00:00
test(inspect): update fixtures to use next_action trace field
Aligns inspect tests with the trace schema rename. Step constructors now set NextAction and the JSONL fixtures use the next_action tag.
This commit is contained in:
1 parent
7916123458
commit
f237eb2c4d
2 files changed
+9
-9
No files matched your search
@@ -38,7 +38,7 @@ func newFixtureServer(t *testing.T) (*Server, string) {
|
||||
BundleID: "com.example",
|
||||
}, []trace.Step{
|
||||
{Index: 1, Timestamp: startedAt, Screen: "Home"},
|
||||
{Index: 2, Timestamp: startedAt.Add(time.Second), Screen: "Home", Action: &trace.Action{Kind: "tap"}},
|
||||
{Index: 2, Timestamp: startedAt.Add(time.Second), Screen: "Home", NextAction: &trace.Action{Kind: "tap"}},
|
||||
{Index: 3, Timestamp: startedAt.Add(2 * time.Second), Screen: "Cart", Violations: []string{"propA"}},
|
||||
})
|
||||
writeRun(t, root, "run-b", trace.Meta{
|
||||
|
||||
Reference in new issue
Block a user