import { get_test_context } from "$lib/configuration"; import { get_element_by_pw_key } from "$lib/helpers"; import { test, expect } from "@playwright/test"; import { signInPageTestKeys } from "./+page.svelte"; const context = get_test_context(); test("form loads", async ({ page }) => { await page.goto("/sign-up"); const formElement = get_element_by_pw_key(signInPageTestKeys.signUpForm); expect(formElement).toBeTruthy(); });