Open
Description
🚀 Feature Request
Similar to --grep
and --grep-invert
: npx playwright test --project-invert <project>
. It's just a proposal and there's life without it. If it doesn't make sense, feel free to close the issue without notice.
Example
// playwright.config.ts
export default defineConfig({
projects: [
{ name: 'browser-desktop', /* blah blah */ },
{ name: 'browser-tablet', /* blah blah */ },
{ name: 'browser-mobile', /* blah blah */ },
/* more blah blah */
{ name: 'api' }
]
});
Motivation
CLI will be more flexible.