mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-06 16:34:36 +00:00
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.
22 lines
752 B
TypeScript
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());
|
|
});
|