mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-03 07:03:18 +00:00
test(app): expose terminal input loss during reconnect replay
This commit is contained in:
@@ -320,6 +320,9 @@ test.describe("Terminal protocol queries", () => {
|
||||
await pasteImage(page, pngBytes(8));
|
||||
await upload.waitUntilHeld();
|
||||
|
||||
// Widen the replay window to expose typed input being discarded during reconnect.
|
||||
const browser = await page.context().newCDPSession(page);
|
||||
await browser.send("Emulation.setCPUThrottlingRate", { rate: 6 });
|
||||
await upload.disconnect();
|
||||
await expect(page.getByTestId("app-toast-message")).toHaveText(
|
||||
"Failed to paste file: Host is not connected",
|
||||
|
||||
Reference in New Issue
Block a user