Skip to content

Spec glob seems to have broken in 9.3.1 #19783

Closed
@nickbrook72

Description

@nickbrook72

Current behavior

We use Bitbucket Pipelines for tests, and in order to run in parallel we split up the specs using simple globs.
e.g:

cypress run -s 'cypress/integration/[a-c]*/**

This worked fine up till 9.3.0, but broke in 9.3.1 with the following error:

`Cypress encountered an error while parsing the argument spec

You passed: cypress/integration/[a-c]*/**

The error was: spec must be a string or comma-separated list`

Desired behavior

It should pull in all the specs referenced by the glob i.e all specs beginning with a, b or c

Test code to reproduce

cypress run -s 'cypress/integration/[a-c]*/**

Cypress Version

9.3.1

Other

You fixed a glob-related bug in 9.3.1: regression due to that?

Activity

nickbrook72

nickbrook72 commented on Jan 20, 2022

@nickbrook72
Author

Note that it works if I append a comma
i.e:
cypress run -s 'cypress/integration/[a-c]*/**,'

works

tbiethman

tbiethman commented on Jan 20, 2022

@tbiethman
Contributor

@nickbrook72 Thank you for reporting. I am able to reproduce with the provided command and will look into the 9.3 changes around this: 273b703

self-assigned this
on Jan 20, 2022
cypress-bot

cypress-bot commented on Jan 21, 2022

@cypress-bot
Contributor

The code for this is done in cypress-io/cypress#19789, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

3 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: bugtype: regressionA bug that didn't appear until a specific Cy version releasev9.3.1 🐛Issue present since 9.3.1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @jennifer-shehane@tbiethman@nickbrook72

    Issue actions

      Spec glob seems to have broken in 9.3.1 · Issue #19783 · cypress-io/cypress