Skip to content

Only works for a couple of files at a time #27

Description

@gespinha

Hey,

I've tried this with multiple timeout values in .env and also with multiple timeout values in playwright.config.ts and what I get all the time is that for any project I'm able to download the first 50 files or so and then the subsequent ones all fail with this error:

    Test timeout of 612000ms exceeded.

    Error: page.waitForEvent: Test timeout of 612000ms exceeded.
    =========================== logs ===========================
    waiting for event "download"
    ============================================================

      18 |         await page.goto(`https://www.figma.com/design/${file.key}/`);
      19 |
    > 20 |         const downloadPromise = page.waitForEvent("download");
         |                                      ^
      21 |
      22 |         await page.locator("#toggle-menu-button").click();
      23 |         await page.locator("[id^='mainMenu-file-menu-']").click();

How can I solve this problem? Could this be because the authentication has expired?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions