mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-06 16:34:36 +00:00
Only viewed chats receive live timeline rows, while directory state now uses one subscribed bootstrap followed by ordered deltas. Legacy clients and daemons retain their existing behavior through centralized compatibility gates.
20 lines
713 B
TypeScript
20 lines
713 B
TypeScript
import { test } from "./fixtures";
|
|
import { DirectoryBootstrapScenario } from "./helpers/directory-bootstrap-scenario";
|
|
|
|
test.describe("Directory bootstrap correctness", () => {
|
|
test("connect, pushed deltas, and reconnect keep directories current without duplicate bootstraps", async ({
|
|
page,
|
|
}) => {
|
|
test.setTimeout(180_000);
|
|
const scenario = await DirectoryBootstrapScenario.open(page);
|
|
try {
|
|
await scenario.expectDirectoryStarts(1);
|
|
await scenario.stayConnectedWithoutRefetchAndApplyDeltas();
|
|
await scenario.disconnectMutateAndReconnect();
|
|
await scenario.expectVisibleReconciliationAndNavigateAgent();
|
|
} finally {
|
|
await scenario.cleanup();
|
|
}
|
|
});
|
|
});
|