You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/frontend/src/pages/Authentication.test.tsx

14 lines
473 B

import { render, screen } from "@/tests";
import { describe, it } from "vitest";
import Authentication from "./Authentication";
describe("Authentication", () => {
it("should render without crash", () => {
render(<Authentication></Authentication>);
expect(screen.getByPlaceholderText("Username")).toBeDefined();
expect(screen.getByPlaceholderText("Password")).toBeDefined();
expect(screen.getByRole("button", { name: "Login" })).toBeDefined();
});
});