Files
metabuilder/packages/workflowui-notifications/playwright/tests.json
2026-03-09 22:30:41 +00:00

81 lines
1.7 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/package-playwright.schema.json",
"package": "workflowui-notifications",
"version": "1.0.0",
"description": "WorkflowUI Notifications page tests - user notifications and alerts",
"tests": [
{
"name": "should display notifications page",
"tags": [
"@notifications",
"@critical"
],
"timeout": 10000,
"steps": [
{
"action": "navigate",
"url": "notifications"
},
{
"action": "waitForLoadState",
"state": "domcontentloaded"
},
{
"action": "expect",
"selector": "body",
"assertion": {
"matcher": "toBeVisible"
}
}
]
},
{
"name": "should display notification list or empty state",
"tags": [
"@notifications",
"@content"
],
"steps": [
{
"action": "navigate",
"url": "notifications"
},
{
"action": "waitForLoadState",
"state": "domcontentloaded"
},
{
"action": "expect",
"selector": "body",
"assertion": {
"matcher": "toBeVisible"
}
}
]
},
{
"name": "should have filter or tab controls",
"tags": [
"@notifications",
"@filters"
],
"steps": [
{
"action": "navigate",
"url": "notifications"
},
{
"action": "waitForLoadState",
"state": "domcontentloaded"
},
{
"action": "expect",
"selector": "body",
"assertion": {
"matcher": "toBeVisible"
}
}
]
}
]
}