Relands "Fix node searchbox default value setting" (#152)

* Revert "Revert "Fix node searchbox default value setting (#150)" (#151)"

This reverts commit bb02f935ff.

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-07-17 22:34:03 -04:00
committed by GitHub
parent bb02f935ff
commit 54246d37b0
3 changed files with 2 additions and 13 deletions

View File

@@ -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 }) => {