Skip to content

Error: page.waitForURL: Test timeout of 30000ms exceeded. #16

@boyuancao

Description

@boyuancao

一直出現這個錯誤代表什麼意思

Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/projects" until "load"
navigated to "http://localhost:3000/docs"
navigated to "http://localhost:3000/docs"

at utils.ts:72

70 | await page.getByLabel("Confirm Password").fill(password-${username});
71 | await page.getByTestId("auth-submit-button").click();

72 | await page.waitForURL(/projects);
| ^
73 | };
74 |
75 | /* Setup the page before each test */

at signUpDummyUser (C:\Users\曹博淵\Desktop\112-1-hack2\tests\utils.ts:72:14)
at C:\Users\曹博淵\Desktop\112-1-hack2\tests\public-3.spec.ts:16:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions