@uxf/e2e
v11.49.0
Published
UXF TestCafe helpers
Downloads
617
Readme
@uxf/e2e
yarn add @uxf/e2e
TestCafe test example
import { fixture, test } from "testcafe";
import { components, waitForReact } from "@uxf/e2e";
fixture("E2E test")
.page("https://fe.uxf.dev/examples/ui/button/Default")
.beforeEach(async (t) => {
await waitForReact(10000, t);
});
test("First E2E test", async () => {
await components.button({ text: "Default" }).click();
await components.button({ text: "Default" }).shouldBeDisabled();
});