Initialize fork and rebrand app to event_manager
CI / Server (push) Has been cancelled
Linters / Frappe Linter (push) Has been cancelled
Linters / Vulnerable Dependency Check (push) Has been cancelled
UI Tests / Playwright E2E Tests (push) Has been cancelled

This commit is contained in:
2026-05-11 09:56:57 +02:00
parent f82bb803ac
commit 786cbc724f
500 changed files with 41152 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
import { test as setup } from "@playwright/test";
import { createDoc, docExists, updateDoc } from "../helpers/frappe";
const testCategoryName = "E2E Test Category";
setup("setup event proposal form", async ({ request }) => {
if (!(await docExists(request, "Event Category", testCategoryName))) {
await createDoc(request, "Event Category", {
name: testCategoryName,
enabled: 1,
slug: "e2e-test-category",
});
console.log(`Created Event Category: ${testCategoryName}`);
}
await updateDoc(request, "Pohodex Event Manager Settings", "Pohodex Event Manager Settings", {
accept_event_proposals: 1,
allow_guest_event_proposals: 1,
});
console.log("Event proposal form enabled in Pohodex Event Manager Settings");
});