You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect from @playwright/test is supposed to be used only within Playwright Test runner. Making it a standalone library is not a goal for playwright and we have no plans changing that.
Is there a reason you cannot use playwright test runner?
ok, got it, it's sad but thanks anyway. Unfortunately, our test framework have a lot of dependencies from mocha runner across all project, so it's a big task for us switching to pw test runner :c
I am struggling with same problem right now. I am using cucumber-js with playwright and I need increase except timeout. But I can't because cucumber-js ignore playwright.config.ts file. Can somebody tell me if there is some workarround please?
I don't want to write function which rewrite file packages/playwright/src/common/globals.ts in node_modules directory in order to increase timeout 🙈 But I don't see any other solution.
We are using mocha-based runner. And we started to use expect from @playwright/test lib.
Main Issue: We are not able to change default timeout from 5000ms to 30000ms.
Feature request: Could u please provide ability to change not only from PlaywrightTestConfig?
PlaywrightTestConfig - works only with pw test runner (so provide expect.timeout here not working for us)
The text was updated successfully, but these errors were encountered: