currents-dev / cypress-cloud

Debug, troubleshoot and record Cypress CI tests in Cloud
https://currents.dev
Other
47 stars 16 forks source link

Providing a comma-separated list of specs in an API call is not working #118

Closed agoldis closed 1 year ago

agoldis commented 1 year ago

Before opening, please confirm:

Environment information

n/a

Describe the bug

This does not work:

await run({
    // this does not work
    spec: "cypress/integration/1000.spec.js,cypress/integration/fails.spec.js",
    ciBuildId: "xome",
  })

This works:

 await run({
    // this works
    spec: [
      "cypress/integration/1000.spec.js",
      "cypress/integration/fails.spec.js",
    ],
    ciBuildId: "xome",
  })

Expected behavior

spec: "cypress/integration/1000.spec.js,cypress/integration/fails.spec.js",

should work

Command and Setup

n/a

Full log and debug output

n/a