test(spec): golden-fixture cross-runtime parity gate for the node picker

Replace the env-driven parity harness with a shared scenario module and a
committed golden the node picker asserts independently. The goja side asserts
the same golden, so neither runtime invokes the other at test time.
This commit is contained in:
pj committed 2026-06-01 17:27:14 +05:30
1 parent 0fa6968a5a
commit e3bb9aeeb2
3 files changed
+193 -27

No files matched your search

+127
View File
@@ -0,0 +1,127 @@
[
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
},
{
"kind": "Tap",
"x": 150,
"y": 160,
"selector": "id:beta"
},
{
"kind": "Tap",
"x": 50,
"y": 60,
"selector": "id:alpha"
},
{
"kind": "InputText",
"x": 150,
"y": 160,
"text": "a",
"selector": "id:beta"
},
{
"kind": "InputText",
"x": 50,
"y": 60,
"text": "\t\n",
"selector": "id:alpha"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
},
{
"kind": "Tap",
"x": 150,
"y": 160,
"selector": "id:beta"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
},
{
"kind": "Tap",
"x": 150,
"y": 160,
"selector": "id:beta"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
},
{
"kind": "Tap",
"x": 150,
"y": 160,
"selector": "id:beta"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
},
{
"kind": "Tap",
"x": 50,
"y": 60,
"selector": "id:alpha"
},
{
"kind": "InputText",
"x": 150,
"y": 160,
"text": "999999999999999999999",
"selector": "id:beta"
},
{
"kind": "InputText",
"x": 150,
"y": 160,
"text": "-1",
"selector": "id:beta"
},
{
"kind": "InputText",
"x": 250,
"y": 260,
"text": "-1",
"selector": "id:gamma"
},
{
"kind": "Tap",
"x": 50,
"y": 60,
"selector": "id:alpha"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
},
{
"kind": "Tap",
"x": 50,
"y": 60,
"selector": "id:alpha"
}
]