15 lines
460 B
JSON
15 lines
460 B
JSON
{
|
|
"app": "data-viewer",
|
|
"seed_files": [
|
|
{ "path": "output/data.csv", "content": "name,age\nalice,30\nbob,25" }
|
|
],
|
|
"steps": [
|
|
{ "type": "click", "selector": "[data-testid=\"list\"]" },
|
|
{ "type": "getText", "selector": "[data-testid=\"files\"]" }
|
|
],
|
|
"expect": [
|
|
{ "kind": "text", "target": "[data-testid=\"files\"]", "contains": "data.csv" },
|
|
{ "kind": "text", "target": "[data-testid=\"status\"]", "contains": "取得OK" }
|
|
]
|
|
}
|