aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/routes/(main)/(public)/sign-in/tests/index.spec.ts
blob: 9a9f7a508ade04a9f1d77d280815018cda98168b (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 "$configuration";
import {get_pw_key_selector} from "$help";

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();
});