Spot it. Save it. Free, local-first Chrome extension for images, videos and prompts. Explore 2,000+ curated cases and connect your library to AI Agents via MCP. 提示词导演
JavaScript ai-artai-videochrome-extensionclaude-codecodexhiggsfieldjimenglocal-firstmcpmidjourneymoodboardprompt-engineeringprompt-libraryprompt-managerreference-libraryseedancevisual-bookmarksweb-clipper
改用 Playwright 上下文固定测试语言
MigenAI720995f8547a
diff --git a/test/e2e_support.py b/test/e2e_support.pyindex d4ccfaa..b41e815 100644--- a/test/e2e_support.py+++ b/test/e2e_support.py@@ -90,9 +90,9 @@ def launch_context(channel=os.environ.get("PROMPTDIRECTOR_E2E_CHANNEL", "chromium"),accept_downloads=accept_downloads,viewport=viewport,+ locale="zh-CN",permissions=["clipboard-read", "clipboard-write"],args=[- "--lang=zh-CN",f"--disable-extensions-except={extension_dir}",f"--load-extension={extension_dir}",],diff --git a/test/release-gate.test.js b/test/release-gate.test.jsindex d301b45..faf7c34 100644--- a/test/release-gate.test.js+++ b/test/release-gate.test.js@@ -21,7 +21,7 @@ test("installed-package acceptance can point the shared browser harness at an un});test("the shared browser harness has a deterministic default UI language across operating systems", () => {- assert.match(e2eSupport, /--lang=zh-CN/);+ assert.match(e2eSupport, /locale="zh-CN"/);});test("release verification cannot bypass the historical data compatibility gate", () => {