commit c1da6054590c199f667960d33fb68200f29b9920 parent 5f3746a513c4a372a65fba7f26adb9039c8cc312 Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st> Date: Fri, 3 Jul 2026 03:15:56 -0400 Merge feat/channel-rename e2e fixup Diffstat:
| M | editor/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);