aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/routes/(main)/(public)/sign-in/index.spec.js
blob: 9d0122dd92ac6757e4d25ca5aee0f73fa592aec3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { test, expect } from "@playwright/test";
import { signInPageTestKeys } from "./index.js";
import { get_test_context } from "$configuration";
import { get_pw_key_selector } from "$utilities/testing-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();
});