15 lines
552 B
JSON
15 lines
552 B
JSON
{
|
|
"app": "form-input",
|
|
"seed_files": [],
|
|
"steps": [
|
|
{ "type": "fill", "selector": "[data-testid=\"f-name\"]", "value": "alice" },
|
|
{ "type": "fill", "selector": "[data-testid=\"f-note\"]", "value": "hello-e2e" },
|
|
{ "type": "click", "selector": "[data-testid=\"submit\"]" },
|
|
{ "type": "getText", "selector": "[data-testid=\"status\"]" }
|
|
],
|
|
"expect": [
|
|
{ "kind": "text", "target": "[data-testid=\"status\"]", "contains": "保存" },
|
|
{ "kind": "file", "target": "output/submissions.jsonl", "contains": "hello-e2e" }
|
|
]
|
|
}
|