From 300af709532e3472af4dff19bed833821435dffd Mon Sep 17 00:00:00 2001 From: Aleksi Ahtiainen Date: Mon, 21 Oct 2024 15:02:05 +0300 Subject: [PATCH] WIP --- .../e2e/luovutuspalvelu-healthcheck-page.spec.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 omadata-oauth2-sample/client/test/e2e/luovutuspalvelu-healthcheck-page.spec.ts diff --git a/omadata-oauth2-sample/client/test/e2e/luovutuspalvelu-healthcheck-page.spec.ts b/omadata-oauth2-sample/client/test/e2e/luovutuspalvelu-healthcheck-page.spec.ts new file mode 100644 index 00000000000..20cf76c2e10 --- /dev/null +++ b/omadata-oauth2-sample/client/test/e2e/luovutuspalvelu-healthcheck-page.spec.ts @@ -0,0 +1,12 @@ +import { test, expect } from "@playwright/test" + +test.use({ + ignoreHTTPSErrors: true, +}) + +test("Luovutuspalvelu healthcheck page opens", async ({ page }) => { + await page.goto( + "https://localhost:7022/koski-luovutuspalvelu/healthcheck/proxy", + ) + await expect(page.getByText("ok")).toBeVisible() +})