feat(e2e): add default test setup, update playwright config
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { seedUser } from "@/e2e/data/user";
|
||||
import { test as setup } from "../../index";
|
||||
|
||||
setup("Setup the default user", async () => {
|
||||
const username = process.env["TEST_USERNAME"] || "";
|
||||
const password = process.env["TEST_PASSWORD"] || "";
|
||||
await seedUser(username, password);
|
||||
});
|
||||
Reference in New Issue
Block a user