feat(site): add healthz page (#458)

Summary:

This is a port of v1 healthz page to v2

Impact:

A simple way to check site health (requires no auth). Good smoke test
for e2e.
This commit is contained in:
G r e y
2022-03-16 07:11:24 +00:00
committed by GitHub
parent 5a42e172f1
commit 27749ce954
4 changed files with 31 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { test } from "@playwright/test"
import { HealthzPage } from "../pom/HealthzPage"
test("Healthz is available without authentication", async ({ baseURL, page }) => {
const healthzPage = new HealthzPage(baseURL, page)
await page.goto(healthzPage.url, { waitUntil: "networkidle" })
await healthzPage.getOk().waitFor({ state: "visible" })
})