+ Customize the AI's instructions. This will change how it generates ideas.
+
+
+
+ );
+}
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..ce73679
--- /dev/null
+++ b/test.py
@@ -0,0 +1,18 @@
+
+import time
+from playwright.sync_api import sync_playwright
+
+with sync_playwright() as p:
+ browser = p.chromium.launch()
+ page = browser.new_page()
+ time.sleep(5) # Wait for the dev server to start
+ page.goto("http://localhost:5173")
+ page.click('button:has-text("⚙️")')
+ page.wait_for_selector('h2:has-text("⚙️ AI Settings")')
+ page.fill('textarea', 'You are a pirate who rhymes.')
+ page.click('button:has-text("Save")')
+ page.fill('input[placeholder="Enter a news/event prompt..."]', 'Why is the sky blue?')
+ page.click('button:has-text("Generate Node")')
+ time.sleep(10) # Wait for AI to start and some nodes to appear
+ page.screenshot(path="screenshot.png")
+ browser.close()