[Vuejs]-Puppeteer VUE JS problems with HTTPS

0👍

This error was solved by updating certificates and after change the node version to v10.24.1.
However, I have a problem with timeouts when the test is longer than 5000 ms.

: Timeout – Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.Timeout – Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.Error:

  30 | const testAndScreenshot = function (url: string): ((name: string, func: (page: puppeteer.Page) => void) => Promise<void>) {
  31 |   return async function (name, func) {
> 32 |     test(name, async () => {
     |     ^
  33 |       // for subsequent tests, we leave the page logged in, unless we need to switch to testing a different app
  34 |       if (!page || page.isClosed() || !page.url().includes(url)) {
  35 |         page = await browser.newPage();

Leave a comment