Files
2026-03-09 22:30:41 +00:00

56 lines
1.2 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/package-playwright.schema.json",
"package": "dashboard",
"version": "1.0.0",
"description": "E2E tests for dashboard package - the home page serves as the dashboard",
"tests": [
{
"name": "should load dashboard for authenticated user",
"tags": [
"@smoke",
"@dashboard"
],
"steps": [
{
"action": "navigate",
"url": ""
},
{
"action": "waitForLoadState",
"state": "domcontentloaded"
},
{
"action": "expect",
"selector": "body",
"assertion": {
"matcher": "toBeVisible"
}
}
]
},
{
"name": "should display user widgets",
"tags": [
"@ui",
"@widgets"
],
"steps": [
{
"action": "navigate",
"url": ""
},
{
"action": "waitForLoadState",
"state": "domcontentloaded"
},
{
"action": "expect",
"selector": "body",
"assertion": {
"matcher": "toBeVisible"
}
}
]
}
]
}