Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit b7cceee4e5be10204d0c06f3623d090c6ae8b78c
parent 0dd95a2c5b10b1f59aa94549c8e167458175dcdb
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Fri,  3 Jul 2026 03:15:56 -0400

e2e: relax rename URL assertion to allow ?site= query

Diffstat:
Meditor/e2e/channel-rename.spec.ts | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/editor/e2e/channel-rename.spec.ts b/editor/e2e/channel-rename.spec.ts @@ -26,7 +26,8 @@ test("rename requires the exact current slug and then moves the channel", async await confirm.fill("not-the-slug"); await submit.click(); await expect(page.getByText(/Type the channel slug/)).toBeVisible(); - await expect(page).toHaveURL(new RegExp(`/channels/${OLD}$`)); + // Still on the old channel (a trailing ?site= query may be appended). + await expect(page).toHaveURL(new RegExp(`/channels/${OLD}(\\?|$)`)); // Correct confirmation renames and redirects to the new URL. await confirm.fill(OLD);