This thread is trying to answer question "Can I run a specific test as headless:false in a project where all tests run headless?"
As far as I know, you cannot really run tests tagged as "#headlessFalse", going by your example, however, what you can do is:
test.use({headless: false})
on top level of the spec file right before you specify your test blocks.npx playwright test --headed --grep "#headlessFalse"
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].