gradio/js/spa/test/render_heavy_concurrently.spec.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
326 B
TypeScript
Raw Permalink Normal View History

import { test, expect } from "@self/tootils";
test("1000 total textboxes render", async ({ page }) => {
await page.getByText("DONE 1", { exact: false }).click();
await page.getByText("DONE 2", { exact: false }).click();
const textboxes = await page.getByLabel("Textbox").all();
expect(textboxes).toHaveLength(1000);
});