aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/routes/(main)/(public)/sign-in/tests/index.spec.ts
blob: ea8c494a998273312004ca1d1926337a64ba72b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { test, expect } from "@playwright/test";
import { signInPageTestKeys } from "../index";
import { get_test_context } from "$lib/configuration";
import { get_pw_key_selector } from "$lib/helpers";

const context = get_test_context();

test("form loads", async ({ page }) => {
    page.goto("/sign-in");
    const form = page.locator(get_pw_key_selector(signInPageTestKeys.signInForm));
    expect(form.isVisible()).toBeTruthy();
})