aboutsummaryrefslogtreecommitdiffstats
path: root/code/frontend/src/routes/(main)/(public)/sign-in/index.spec.js
blob: 3bccf72bd24e7c1edb0b53d1947c92a09b7eac70 (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/test";
import { get_pw_key_selector } from "$utils/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();
});