Skip to content

Commit

Permalink
feat: add useful logging to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvin-LL committed Sep 26, 2023
1 parent 9406de1 commit d0fbedd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ async function readStreamToBuffer(
* returns a promise that resolves when the page and all astro components have loaded
*/
async function astroGoto(page: Page, path: string) {
console.log("opening", path);

await Promise.all([
page.waitForFunction(
() => document.querySelectorAll("astro-island[ssr]").length === 0
Expand Down

0 comments on commit d0fbedd

Please sign in to comment.