Skip to content

Commit

Permalink
adjust test after merging with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Jan 23, 2025
1 parent 8f91158 commit 2d8b27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/storage/DriveEditor.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe("PartitionMenuItem", () => {
const partitionsButton = screen.getByRole("button", { name: "Partitions" });
await user.click(partitionsButton);
const partitionsMenu = screen.getByRole("menu");
const deleteSwapButton = within(partitionsMenu).getByRole("button", {
const deleteSwapButton = within(partitionsMenu).getByRole("menuitem", {
name: "Delete swap",
});
await user.click(deleteSwapButton);
Expand Down

0 comments on commit 2d8b27e

Please sign in to comment.