aboutsummaryrefslogtreecommitdiffstats
path: root/apps/kit/src/routes/(main)/(public)/sign-in/test.ts
blob: 27af2ea90b8cba0bc3884ac40bf4478a40a41003 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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();
});