`,
- version: "0.7.4",
+ // 0.7.21 is the first version the iframe wrapper gates parking on
+ // (PARK_MIN_VERSION), so parking works without a host-specified
+ // standaloneUrl — the bundle/CSS auto-resolve from this version.
+ version: "0.7.21",
numVariants: 1,
};
}
@@ -68,8 +66,6 @@ describe("ActivityViewer — windowed mounting", () => {
activityId="windowed-paginated"
flags={{ allowSaveState: true }}
paginate={true}
- standaloneUrl={WINDOWED_STANDALONE_URL}
- cssUrl={WINDOWED_STANDALONE_CSS_URL}
addVirtualKeyboard={false}
mountPolicy={{ parkDelayMs: 300, flushTimeoutMs: 15_000 }}
/>,
@@ -122,8 +118,6 @@ describe("ActivityViewer — windowed mounting", () => {
activityId="windowed-scroll"
flags={{ allowSaveState: true }}
paginate={false}
- standaloneUrl={WINDOWED_STANDALONE_URL}
- cssUrl={WINDOWED_STANDALONE_CSS_URL}
addVirtualKeyboard={false}
mountPolicy={{
maxLiveViewers: 2,
diff --git a/test/cypress/component/helpers.ts b/test/cypress/component/helpers.ts
index 6ab3698..73c2e22 100644
--- a/test/cypress/component/helpers.ts
+++ b/test/cypress/component/helpers.ts
@@ -15,13 +15,7 @@ export const STANDALONE_CSS_URL = `${CDN}/style.css`;
// on a cold CDN fetch.
export const IFRAME_READY_TIMEOUT = 20_000;
-// The windowed-mounting specs park viewers, which requires a standalone
-// bundle that acknowledges `SPLICE.flushState` — true of the bundle
-// published alongside the installed doenetml-iframe version (the wrapper
-// treats a host-specified standaloneUrl as modern).
-export const WINDOWED_STANDALONE_URL = STANDALONE_URL;
-export const WINDOWED_STANDALONE_CSS_URL = STANDALONE_CSS_URL;
-
-// Parking additionally waits for the off-screen viewer's realm to boot far
-// enough to acknowledge the flush.
+// Parking waits for the off-screen viewer's realm to boot far enough to
+// acknowledge the flush. The windowed specs use docs at the park-gate
+// version (>= 0.7.21), so parking needs no host-specified standaloneUrl.
export const PARK_TIMEOUT = 40_000;