Skip to content

Commit

Permalink
Fix nightly by setting missing token (#7048)
Browse files Browse the repository at this point in the history
* restore old screenshot code which doesn't hang

* Revert "restore old screenshot code which doesn't hang"

This reverts commit e3c371a.

* set missing token
  • Loading branch information
philippotto authored May 3, 2023
1 parent 0bb9b25 commit 3fbaa9a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ export async function getNewPage(browser: Browser) {
width: 1920,
height: 1080,
});
page.setExtraHTTPHeaders({
// @ts-expect-error ts-migrate(2322) FIXME: Type 'string | undefined' is not assignable to typ... Remove this comment to see the full error message
"X-Auth-Token": WK_AUTH_TOKEN,
});
return page;
}

Expand Down

0 comments on commit 3fbaa9a

Please sign in to comment.