Rayrun
← Back to Discord Forum

recording video for webkit test causes test to be slower and fail

wahreChristposted in #help-playwright
Open in Discord

Has anyone encountered this issue? I m already used to the fact that with recording wekbit tests are much slower than on other browsers, but they didnt cause failing before at least

This thread is trying to answer question "Why does recording video for webkit tests cause the tests to run slower and fail?"

1 reply

Failures should not happen. They usually are caused by either tests which are racy or you run them with too many workers on your machine. (We need a repro and see the test in order to analyse it). We recommend Tracing rather than video when running your tests, since tracing requires much less CPU/Memory and provides you a much better debugging experience. (Also make sure to set them to "on-first-retry" as per here. https://playwright.dev/docs/trace-viewer-intro#recording-a-trace)

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