{ "$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" } } ] } ] }