mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 08:30:06 +00:00
Fix node searchbox default value setting (#150)
This commit is contained in:
@@ -1,17 +1,6 @@
|
||||
import { expect } from "@playwright/test";
|
||||
import { ComfyPage, comfyPageFixture } from "./ComfyPage";
|
||||
import { comfyPageFixture as test} from "./ComfyPage";
|
||||
|
||||
export const test = comfyPageFixture.extend<{ comfyPage: ComfyPage }>({
|
||||
comfyPage: async ({ comfyPage }, use) => {
|
||||
await comfyPage.page.evaluate(async () => {
|
||||
await window["app"].ui.settings.setSettingValueAsync(
|
||||
"Comfy.NodeSearchBoxImpl",
|
||||
"default"
|
||||
);
|
||||
});
|
||||
await use(comfyPage);
|
||||
},
|
||||
});
|
||||
|
||||
test.describe("Node search box", () => {
|
||||
test("Can trigger on empty canvas double click", async ({ comfyPage }) => {
|
||||
|
||||
Reference in New Issue
Block a user