Skip to content

1.18.0 contains breaking changes #398

Closed
@manniniandrea

Description

@manniniandrea

We use Nx to build and test our code on our pipeline in parallel, since we have more than one target running at the same time we must differentiate each cypress config file name.
For example, when we run our cypress tests these are the config file generated:
cypress.target-1.json
cypress.target-2.json
cypress.target-3.json

Inspecting the code we've found out that the new version of the library only allows standard names such as cypress.json, cypress.config.js, etc.

As you can see in the verify function here
https://github.com/browserstack/browserstack-cypress-cli/blame/566e0f43db9a190ce978a65236324ba98708a747/bin/helpers/capabilityHelper.js#L252
and here
https://github.com/browserstack/browserstack-cypress-cli/blame/566e0f43db9a190ce978a65236324ba98708a747/bin/helpers/constants.js#L391

every configuration file named differently from the below ones will get discarded

  • cypress.json
  • cypress.config.js
  • cypress.config.ts
  • cypress.config.mjs
  • cypress.config.cjs

Can the ability to ingest files with custom names be reintroduced in the latest version?

Thank you.

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