feat: add render graph driven renderer architecture
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
test("@visual all supported catalog", async ({ page }) => {
|
||||
await page.setViewportSize({ width: 1600, height: 900 });
|
||||
await page.goto("/examples/blender/all-supported/");
|
||||
await page.waitForFunction(() => Boolean(window.fxnodeExample));
|
||||
await page.evaluate(() => window.fxnodeExample.ready);
|
||||
await page.locator("canvas").press("Home");
|
||||
await page.evaluate(() => window.fxnodeExample.view!.whenRendered());
|
||||
await expect(page.locator("canvas")).toHaveScreenshot("all-supported.png", { animations: "disabled" });
|
||||
});
|
||||
Reference in New Issue
Block a user