Skip to content

Adding specPattern to component test config results in an infinite loop #31955

Open
@YvesRijckaert

Description

@YvesRijckaert

Current behavior

When adding this to the component test config specPattern: ['**/*.cy.{js,jsx,ts,tsx}', '!**/*.basic.cy.{js,jsx,ts,tsx}'],, cypress will go in an infinite loop when running tests

Desired behavior

No response

Test code to reproduce

Use the specPattern and run any component test

Cypress Version

13.17.0

Node version

v22.13.1

Operating System

macOS Sequoia 15.5

Debug Logs

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions