mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-11 02:46:29 +00:00
Share host-wide terminal observations across plugin surfaces and gate them on terminalCollection. Keep directory observations compatible, and carry creation time in worker v6 state so v5 terminals can drain with an unknown timestamp.
19 lines
601 B
TypeScript
19 lines
601 B
TypeScript
import { test } from "../support/fixtures";
|
|
import { withSidebarViews } from "../support/helpers/sidebar-views";
|
|
|
|
test("sidebar views replace the content, preserve chrome, and recover to the default", async ({
|
|
page,
|
|
}) => {
|
|
test.setTimeout(150_000);
|
|
await withSidebarViews(page, async (views) => {
|
|
await views.expectDefault();
|
|
await views.chooseWorkspaces();
|
|
await views.exerciseExamples();
|
|
await views.exerciseTerminals();
|
|
await views.restoreDefault();
|
|
await views.recoverFromFailure();
|
|
await views.chooseWorkspaces();
|
|
await views.disableChosenView();
|
|
});
|
|
});
|