fix: wrong url after partial form submission (#2495)
Fixes https://github.com/denoland/fresh/issues/2409
This commit is contained in:
@@ -1484,6 +1484,9 @@ Deno.test({
|
||||
|
||||
await page.locator(".update").click();
|
||||
await page.locator(".done-foo").wait();
|
||||
|
||||
const pathname = await page.evaluate(() => window.location.pathname);
|
||||
expect(pathname).toEqual("/foo");
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user