fix: redirects with partials (#2053)

This commit is contained in:
Marvin Hagemeister
2023-11-21 11:35:08 +01:00
committed by GitHub
parent ba3fa2c895
commit 27adeb7b14
7 changed files with 79 additions and 1 deletions
+13
View File
@@ -1496,3 +1496,16 @@ Deno.test("partials visit to async page", async () => {
},
);
});
Deno.test("partials with redirects", async () => {
await withPageName(
"./tests/fixture_partials/main.ts",
async (page, address) => {
await page.goto(`${address}/redirected`);
await page.waitForSelector(".output");
await page.click(".update-link");
await page.waitForSelector(".status-updated");
},
);
});