Skip to content

Commit

Permalink
fix: --spec arg now allows () in filename (cypress-io#28509)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasTeixeira2003 committed Apr 3, 2024
1 parent d794f93 commit 84c04bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cli/CHANGELOG.md
Expand Up @@ -6,6 +6,7 @@ _Released 4/16/2024 (PENDING)_
**Misc:**

- Updated the Chrome flags to not show the "Enhanced Ad Privacy" dialog. Addresses [#29199](https://github.com/cypress-io/cypress/issues/29199).
- Specs with () in the filename will no longer fail to load and now behave as any other spec. Fixes [#28509](https://github.com/cypress-io/cypress/issues/28509)

## 13.7.2

Expand Down
1 change: 1 addition & 0 deletions cli/lib/exec/run.js
Expand Up @@ -139,6 +139,7 @@ const processRunOptions = (options = {}) => {

// if we have specific spec(s) push that into the args
if (options.spec) {
options.spec = options.spec.replace(/[()]/g, '\\$&')
args.push('--spec', options.spec)
}

Expand Down

0 comments on commit 84c04bb

Please sign in to comment.