@@ -49,7 +49,9 @@ describe("MIDI Workbench", () => {
|
||||
await user.clear(screen.getByLabelText("Semitones"));
|
||||
await user.type(screen.getByLabelText("Semitones"), "12");
|
||||
await user.click(screen.getByRole("button", { name: "Apply transpose" }));
|
||||
expect(screen.getByRole("status")).toHaveTextContent("transposed");
|
||||
await waitFor(() =>
|
||||
expect(screen.getByRole("status")).toHaveTextContent("transposed"),
|
||||
);
|
||||
await user.click(screen.getByRole("button", { name: "Undo edit" }));
|
||||
expect(screen.getByRole("status")).toHaveTextContent("undone");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user