Rayrun
← Back to Discord Forum

Implementing testIgnore

Does anyone know of any articles or good implementations of testIgnore out there? Thanks

This thread is trying to answer question "Does anyone know of any articles or good implementations of testIgnore out there?"

2 replies

do you mean test.skip() ?

you could include a specific tag in the test titles (e.g. 'my test @skipme') that you want to exclude from execution, then use the following

npx playwright test --grep-invert '@skipme'

all the tests that contain @skipme in title will not be executed.

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