Skip to content

Does it work with --exclude option on Linux? #200

@bahmutov

Description

@bahmutov
> @bahmutov/cy-grep@0.0.0-development stop-only
> stop-only --folder cypress/e2e --exclude cypress/e2e/only/check-only.cy.js

stop-only arguments
{
  _: [],
  warn: false,
  w: false,
  folder: 'cypress/e2e',
  f: 'cypress/e2e',
  exclude: 'cypress/e2e/only/check-only.cy.js',
  e: 'cypress/e2e/only/check-only.cy.js'
}
2026-03-24T04:13:49.686Z stop-only split folders [ 'cypress/e2e' ]
grep arguments
[
  '--line-number',
  '--recursive',
  '--extended-regexp',
  '(describe|context|it)\\.only',
  '--exclude',
  'cypress/e2e/only/check-only.cy.js',
  'cypress/e2e'
]
Found .only here 👎
cypress/e2e/only/check-only.cy.js:10:it.only('b', { tags: '@one' }, () => {})

Seems to be ignored on Ubuntu?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions