← Back to Discord Forum

expect().toPass() take test timeout instead of expect timeout?

As I noticed when write api test or something else that need retry several time to make sure it works right, if I didn't set timeout for toPass, it will run untill test timeout instead of expect timeout if the inside codes fail. Is this WAD?

This thread is trying to answer question "Does toPass run until test timeout instead of expect timeout if no timeout is set and the inside codes fail?"

1 reply

@mxschmitt your confirmation would be appreciated

Related Discord Threads

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 luc@ray.run.