feat(design): a library row keeps Share (the link copy) in sight, ahead of save (E28 S3e3)
The owner's call: sharing a download's link is the library's main errand, more important than saving the file, so it does not hide in the row's "…". Manage sharing stays in the menu. The "…" tests press as a mouse, so a stray long-press timer no longer fires after teardown.
This commit is contained in:
@@ -136,7 +136,7 @@ describe("PlexPlaylistView · a row's menu", () => {
|
||||
await screen.findByText("Movie 1");
|
||||
await openMenu(() => fireEvent.click(moreOf("Movie 1")));
|
||||
act(() => {
|
||||
fireEvent.pointerDown(moreOf("Movie 1"));
|
||||
fireEvent.pointerDown(moreOf("Movie 1"), { pointerType: "mouse" });
|
||||
fireEvent.mouseDown(moreOf("Movie 1"));
|
||||
fireEvent.click(moreOf("Movie 1"), { detail: 1 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user