Rayrun
← Back to Discord Forum

`getByTestId.waitFor` timeouts early

Hi all,

I got a similar code to

await page.getByTestId("some-test-id").waitFor({ state: "visible", timeout: "90000" })

Which I use to check that some images has been loaded within a time frame of 1.5 minutes.

My issue is that it always timeouts after 11 seconds.

Am I doing something wrong here? Thanks!

This thread is trying to answer question "Why does the code always timeout after 11 seconds despite setting a timeout of 1.5 minutes?"

0 replies

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].