mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-28 20:22:45 +00:00
Keep translation resources and subscriptions inside each installation. Resolve host labels against the presentation locale so live language changes preserve mounted drafts and RPC state. Existing descriptor types retain string defaults for source compatibility.
24 lines
824 B
TypeScript
24 lines
824 B
TypeScript
import { verifyPluginToolTranslations } from "../support/helpers/plugin-translations";
|
|
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,
|
|
}) => {
|
|
test.setTimeout(180_000);
|
|
await withButtonShowcase(page, async (buttons) => {
|
|
await buttons.verifyObservationLifetime();
|
|
await buttons.openWideMenusAndPopovers();
|
|
await buttons.runAndUpdateActions();
|
|
await buttons.openCompactSheets();
|
|
await buttons.hideAndUnloadOpenButtons();
|
|
});
|
|
});
|
|
|
|
test("plugin tooltips and menu labels follow app language with a panel draft open", async ({
|
|
page,
|
|
}, info) => {
|
|
test.setTimeout(180_000);
|
|
await verifyPluginToolTranslations(page, info);
|
|
});
|