Rayrun
← Back to Discord Forum

playwright test is overwriting jest's expect.toEqual

I just upgraded an app from playwright 1.30 to 1.36. That app has some "normal" jest tests, testing a redux store, and other playwright tests, testing an electron app. I'm getting some expect toEqual failing with the message TypeError: this.customTesters is not iterable . These tests are not using Playwright. I saw this issue (https://github.com/microsoft/playwright/issues/20432) getting reported a few months ago. But in my case, the error does come from playwright. Ideas?

image.png

This thread is trying to answer question "Why is the `expect` `toEqual` failing with a TypeError after upgrading playwright from 1.30 to 1.36 and how can this be resolved?"

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