fix(lanes): make proof gallery test assertion actually fail on missing panel
This commit is contained in:
@@ -601,15 +601,9 @@ describe("Workspace — proof gallery", () => {
|
||||
});
|
||||
|
||||
await renderWorkspace();
|
||||
await waitFor(
|
||||
() => {
|
||||
const gallery = screen.queryByTestId("proof-gallery");
|
||||
if (gallery) {
|
||||
expect(gallery).toBeInTheDocument();
|
||||
}
|
||||
},
|
||||
{ timeout: 2000 }
|
||||
);
|
||||
await waitFor(() => {
|
||||
expect(screen.getByTestId("proof-gallery")).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
it("shows no gallery panel when the selected feature has no proof", async () => {
|
||||
|
||||
Reference in New Issue
Block a user