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 support documentation #419

Closed
paulfalgout opened this issue Apr 4, 2023 · 5 comments
Closed

Edge support documentation #419

paulfalgout opened this issue Apr 4, 2023 · 5 comments
Assignees

Comments

@paulfalgout
Copy link

The documentation for edge is either incorrect or confusing. The example shows

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

But the install-browsers command description says:

Cypress runs by default in the Electron browser. Use this flag to install additional browsers to run your tests in. This is only needed if you are passing the `--browser` flag in your `cypress-command`. This parameter leverages the `circleci/browser-tools` orb and includes Chrome and FireFox. If you need additional browser support you can set this to false and use an executor with a docker image that includes the browsers of your choosing.

This seems to indicate that install-browsers should be false for edge and we should load an executor? Is the Edge example incorrect or am I missing something?

@emilyrohrbough
Copy link
Member

emilyrohrbough commented Apr 4, 2023

@paulfalgout The example you shared is incorrect example-- can can confirm the second bullet below is where you found this example? I'm finding a few references:

@emilyrohrbough
Copy link
Member

Ah I see this is out of date: https://circleci.com/developer/orbs/orb/cypress-io/cypress#usage-edge

@emilyrohrbough
Copy link
Member

This has been fixed with the 3.1.0 release.

@MikeMcC399
Copy link
Collaborator

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.

@MikeMcC399
Copy link
Collaborator

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

3 participants