Rayrun
← Back to Discord Forum

Can we create Add custom matchers using expect.extend outside the playwright config.ts file?

saikrishna_00511posted in #help-playwright
Open in Discord
saikrishna_00511

Please show me a way how to create expect.extend functions outside the playwright-config.ts file access across all test files with only one expect

This thread is trying to answer question "How can one create expect.extend functions outside the playwright-config.ts file and make it accessible across all test files with only one expect?"

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