Closed MikeMcC399 closed 2 weeks ago
Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/cypress-io/cypress?version=dev:fab347ff110b7fe66cf9adeb586d856852174583
This does not contain all the workflow lines from https://github.com/cypress-io/circleci-orb/blob/master/src/examples/edge.yml . The executors
is missing:
description: >
Run Cypress tests in Microsoft Edge.
usage:
version: 2.1
orbs:
cypress: cypress-io/cypress@3
executors:
cypress-browsers:
docker:
- image: cypress/browsers:node-20.17.0-chrome-129.0.6668.70-1-ff-130.0.1-edge-129.0.2792.52-1
jobs:
edge-test:
executor: cypress-browsers
steps:
- cypress/install
- cypress/run-tests:
start-command: "npm run start:dev"
cypress-command: 'npx cypress run --browser edge'
workflows:
use-my-orb:
jobs:
- edge-test
I can't see any reason why it would just omit this section, unless this is linked to the Cypress Orb using an outdated version of orb-tools: circleci/orb-tools@11.6.1
If I run
circleci orb pack ./src
I can see that the pack option misses out the executors
section. If I indent the section, then it is picked up, however this syntax fails to run, so that's not a solution.
I don't know what to do next. It looks like a bug in circleci orb pack
, however I am too inexperienced in CircleCI to say this for certain.
circleci
CLI
Issue
The example source code src/examples/edge.yml in the GitHub cypress-io/circleci-orb repo for running Cypress against the Microsoft Edge web browser using the Cypress CircleCI Orb fails.
executor
is unused. The cypress/run job has no provision for specifying an alternate executor. See https://github.com/cypress-io/circleci-orb/issues/429. It uses thecimg/node:18.16.1-browsers
image defined in src/executors/default.yml.The failing example source code in src/examples/edge.yml is:
The runnable part of this code is
Logs
Other
relates to