Rayrun
← Back to Discord Forum

test.slow() is not tripling my timeout

I was expecting the timeout to be 90000ms when I used test.slow(), but I still get TimeoutError at 30000ms. Am I missing anything?

test('test', async ({ page }) => {
  test.slow();
  ...

});

This thread is trying to answer question "Why is test.slow() not tripling the timeout as expected?"

5 replies

I guess test.slow(true); has the same effect?

also, which version of Playwright are you using?

Yes, no difference using test.slow(true)

Im using 1.35.1

I think I found my problem, test.slow() is tripling the default timeout, but I had specified the timeout to be 30 000ms in the config file. When I removed the timeout from the config I did not get a timeout error at 30 000ms

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].