refactor: executor protocol, fallback, debounce

This commit is contained in:
2026-09-26 02:20:34 +05:00
parent 5f77c097e2
commit 0933f1cdea
14 changed files with 739 additions and 301 deletions
+3 -5
View File
@@ -16,12 +16,10 @@ test.describe("generators", () => {
await expect(resultImage(page)).toBeVisible();
await expect(page.getByRole("button", { name: "Generate" })).toHaveCount(0);
const firstSource = await resultImage(page).getAttribute("src");
await page.getByRole("spinbutton", { name: "Width" }).fill("32");
await expect(resultImage(page)).not.toHaveAttribute(
"src",
firstSource ?? "",
);
await page.getByRole("spinbutton", { name: "Height" }).fill("24");
await expect(resultImage(page)).toHaveJSProperty("naturalWidth", 32);
await expect(resultImage(page)).toHaveJSProperty("naturalHeight", 24);
await expectNoErrorAlert(page);
expectNoErrors(sink);
});