Release flow Tools v0.1.0
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import userEvent from "@testing-library/user-event";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { Workbench } from "../../src/components/Workbench";
|
||||
|
||||
describe("Flow Workbench", () => {
|
||||
it("runs the visible pipeline and exposes its result", async () => {
|
||||
const user = userEvent.setup();
|
||||
render(<Workbench />);
|
||||
|
||||
await user.click(
|
||||
screen.getByRole("button", { name: "Run complete pipeline" }),
|
||||
);
|
||||
|
||||
expect(screen.getByRole("status")).toHaveTextContent("Completed 2 stages");
|
||||
expect(screen.getByRole("cell", { name: "Ada" })).toBeVisible();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user