feat: connect resource library workflows
This commit is contained in:
@@ -8,12 +8,14 @@ test("renders a dense toolbar row with compact controls", () => {
|
||||
render(
|
||||
<PageToolbar>
|
||||
<Input aria-label="search" />
|
||||
<Select aria-label="status">
|
||||
<option value="all">全部状态</option>
|
||||
</Select>
|
||||
<Select
|
||||
aria-label="status"
|
||||
options={[{ value: "all", label: "全部状态" }]}
|
||||
value="all"
|
||||
/>
|
||||
</PageToolbar>,
|
||||
);
|
||||
|
||||
expect(screen.getByLabelText("search").className).toContain("h-9");
|
||||
expect(screen.getByLabelText("status").className).toContain("h-9");
|
||||
expect(screen.getByRole("combobox", { name: "status" }).className).toContain("h-9");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user