Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge example fails - web docs #482

Closed
MikeMcC399 opened this issue Jul 20, 2024 · 4 comments
Closed

Edge example fails - web docs #482

MikeMcC399 opened this issue Jul 20, 2024 · 4 comments

Comments

@MikeMcC399
Copy link
Collaborator

Issue

The usage example published to the CircleCI website - cypress-io/cypress@3.3.1 for running Cypress against the Microsoft Edge web browser using the Cypress CircleCI Orb fails.

There is no Edge browser available, only the default Electron browser bundled with Cypress.

The failing example code is:

version: '2.1'
orbs:
  cypress: cypress-io/cypress@3
workflows:
  use-my-orb:
    jobs:
      - cypress/run:
          cypress-command: npx cypress run --browser edge
          start-command: npm run start:dev

Logs

DevTools listening on ws://127.0.0.1:33367/devtools/browser/b3d05bc3-1f27-4c8b-a846-b3991acbfb1f
Can't run because you've entered an invalid browser name.

Browser: edge was not found on your system or is not supported by Cypress.

Cypress supports the following browsers:
 - electron
 - chrome
 - chromium
 - chrome:canary
 - edge
 - firefox

You can also use a custom browser: https://on.cypress.io/customize-browsers

Available browsers found on your system are:
 - electron
Can't run because you've entered an invalid browser name.

Browser: edge was not found on your system or is not supported by Cypress.

Cypress supports the following browsers:
 - electron
 - chrome
 - chromium
 - chrome:canary
 - edge
 - firefox

You can also use a custom browser: https://on.cypress.io/customize-browsers

Available browsers found on your system are:
 - electron

Exited with code exit status 1

Previous issue

@MikeMcC399
Copy link
Collaborator Author

There are also associated issues:

  1. The example source code src/examples/edge.yml doesn't work either, since cypress/run-tests has no provision for an alternate executor.
  2. The web example on https://circleci.com/developer/orbs/orb/cypress-io/cypress#usage-edge is not a copy of the example on https://github.com/cypress-io/circleci-orb/blob/master/src/examples/edge.yml so it seems that something is going wrong with the publishing process. The deployment logs however give no detail to aid debugging - see https://app.circleci.com/pipelines/github/cypress-io/circleci-orb/1929.

@MikeMcC399
Copy link
Collaborator Author

Source Published
image image

@MikeMcC399
Copy link
Collaborator Author

@MikeMcC399
Copy link
Collaborator Author

@MikeMcC399 MikeMcC399 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant