Retire Convex paths and standardize local-first Pi runtime
This commit is contained in:
@@ -124,7 +124,7 @@ async function main() {
|
||||
assert.equal(recentLocalRoots[0], fileUrl(root), "打开本地文件夹后应记录最近 rootUri");
|
||||
|
||||
const bodyText = await page.locator("body").innerText({ timeout: UI_TIMEOUT_MS });
|
||||
assert(!bodyText.includes("legacy_next_compat_disabled"), "本地文件夹主入口不能落入 legacy Next fallback");
|
||||
assert(!bodyText.includes("legacy_next_compat"), "本地文件夹主入口不能出现已退役的 legacy Next 文案");
|
||||
const readmeRow = page.locator('.tree-row[data-row-id="local:markdown:README.md"]');
|
||||
const docsRow = page.locator('.tree-row[data-row-id="local:folder:docs"]');
|
||||
await readmeRow.waitFor({
|
||||
@@ -206,7 +206,7 @@ async function main() {
|
||||
await page.goto(BASE_URL, { waitUntil: "domcontentloaded", timeout: UI_TIMEOUT_MS });
|
||||
const finalUrl = new URL(page.url());
|
||||
assert(
|
||||
finalUrl.pathname === "/" && !page.url().includes("legacy_next_compat_disabled"),
|
||||
finalUrl.pathname === "/" && !page.url().includes("legacy_next_compat"),
|
||||
"回到主入口后应仍由 Rust Web 主壳承载",
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user