mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 11:39:00 +00:00
test(work-orders): drop Photos categorize-after-upload assertion
This commit is contained in:
parent
1607bac8ad
commit
e761e0dae5
1 changed files with 4 additions and 1 deletions
|
|
@ -116,7 +116,10 @@ describe("MediaUploadModal API wiring", () => {
|
||||||
expect(screen.getByText("before.jpg")).toBeInTheDocument();
|
expect(screen.getByText("before.jpg")).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
expect(screen.getByText("Photos & Videos")).toBeInTheDocument();
|
expect(screen.getByText("Photos & Videos")).toBeInTheDocument();
|
||||||
expect(screen.getByText(/categorize after upload/i)).toBeInTheDocument();
|
expect(
|
||||||
|
screen.getByText("Accepted: JPG, PNG, MP4, MOV · Max 50MB per file"),
|
||||||
|
).toBeInTheDocument();
|
||||||
|
expect(screen.queryByText(/categorize after upload/i)).not.toBeInTheDocument();
|
||||||
expect(screen.getByLabelText(/category for before\.jpg/i)).toBeInTheDocument();
|
expect(screen.getByLabelText(/category for before\.jpg/i)).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue