test(player): a related video's end leaves an auto-advancing queue where it was
This commit is contained in:
@@ -885,6 +885,8 @@ describe("PlayerModal — the side panel on a wide window", () => {
|
||||
});
|
||||
|
||||
it("wide: a related video watched to its end is marked watched, and the queue stays put", async () => {
|
||||
// Auto-advance on: an end of the queue's own item would step to B.
|
||||
me = { related_enabled: true, preferences: { playerAutoAdvance: "next" } } as unknown as Me;
|
||||
const onState = vi.fn();
|
||||
const B = vid("B", 0);
|
||||
await playRel2(onState, [vid("A", 40), B]);
|
||||
|
||||
Reference in New Issue
Block a user