feat(auth): add better-auth core wiring for admin and db
This commit is contained in:
@@ -8,5 +8,12 @@ test("smoke", async ({ page }, testInfo) => {
|
||||
return
|
||||
}
|
||||
|
||||
await expect(page.getByRole("heading", { name: /content dashboard/i })).toBeVisible()
|
||||
const dashboardHeading = page.getByRole("heading", { name: /content dashboard/i })
|
||||
|
||||
if (await dashboardHeading.isVisible({ timeout: 2000 })) {
|
||||
await expect(dashboardHeading).toBeVisible()
|
||||
return
|
||||
}
|
||||
|
||||
await expect(page.getByRole("heading", { name: /sign in to cms admin/i })).toBeVisible()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user