mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-02 22:52:58 +00:00
The draft option test subscribed the options model to the form, which in the app happens in a render effect, so it passed without the model observing the form's provider itself. A case with no subscription now fails when that observation is removed. The overflow-sheet spec reads as steps through a helper.
13 lines
514 B
TypeScript
13 lines
514 B
TypeScript
import { test } from "../support/fixtures";
|
|
import { withComposerControlsExample } from "../support/helpers/plugin-composer-items";
|
|
|
|
test("a narrow composer's overflow sheet shows a plugin item's row", async ({ page }) => {
|
|
test.setTimeout(120_000);
|
|
await withComposerControlsExample(page, async (composer) => {
|
|
await composer.narrowTheWindow();
|
|
await composer.openAgentFeatures();
|
|
await composer.expectFeatureRow("Needs review");
|
|
await composer.expectFeatureRow("Insert checklist");
|
|
});
|
|
});
|