Files
paseo/packages/app/e2e/browser/plugin-buttons.spec.ts
T
Mohamed Boudra 5c1730a2f0 fix(plugins): bind button observations to mounted lifetimes
Compose shared header and composer buttons with owned subscription scopes. Renderer errors and closed content must release their mounted API without disrupting sibling buttons. Migrate incoming fixtures to explicit demand and verify mark-unread reply provenance.
2026-09-09 23:20:27 +02:00

22 lines
752 B
TypeScript

import { test } from "../support/fixtures";
import { withButtonShowcase } from "../support/helpers/plugin-buttons";
test("plugin header and composer buttons share actions, menus, content, and updates", async ({
page,
}, testInfo) => {
test.setTimeout(180_000);
await withButtonShowcase(page, testInfo, async (buttons) => {
await buttons.openWideMenusAndPopovers();
await buttons.runAndUpdateActions();
await buttons.openCompactSheets();
await buttons.hideAndUnloadOpenButtons();
});
});
test("plugin button observations follow mounted content and error lifetimes", async ({
page,
}, testInfo) => {
test.setTimeout(120_000);
await withButtonShowcase(page, testInfo, (buttons) => buttons.verifyObservationLifetime());
});