mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 17:52:49 +00:00
* feat(plugins): enforce declared Paseo version requirements Treat manifests without a Paseo requirement as pre-0.8 plugins so the first breaking plugin release offers an explicit migration path. Check the daemon and app independently before plugin execution, and preserve installed Git revisions when updates are incompatible. * fix(nix): refresh dependency hash for plugin requirements * refactor(plugins): validate test manifest inputs and name compatibility input
19 lines
594 B
TypeScript
19 lines
594 B
TypeScript
import {
|
|
test,
|
|
openRequirementHost,
|
|
expectAppMismatch,
|
|
correctRequirementAndReload,
|
|
rejectDaemonMismatch,
|
|
} from "../support/helpers/plugin-requirements";
|
|
|
|
test("shows which runtime is incompatible and recovers after the requirement is corrected", async ({
|
|
page,
|
|
requirementHost,
|
|
}) => {
|
|
await openRequirementHost(page, requirementHost);
|
|
await expectAppMismatch(page);
|
|
await correctRequirementAndReload(page, requirementHost.directory);
|
|
await rejectDaemonMismatch(page, requirementHost.directory);
|
|
await correctRequirementAndReload(page, requirementHost.directory);
|
|
});
|