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

Install Firefox fails #504

Closed
ttomaszewski-litify opened this issue Feb 5, 2025 · 7 comments · Fixed by #506
Closed

Install Firefox fails #504

ttomaszewski-litify opened this issue Feb 5, 2025 · 7 comments · Fixed by #506

Comments

@ttomaszewski-litify
Copy link

ttomaszewski-litify commented Feb 5, 2025

In the last 1 day, "Install Firefox" step fails. We are using install-browsers: true in the configuration.

@abponcio
Copy link

abponcio commented Feb 5, 2025

seems like I'm not the only one

Image

Ran it multiple times, but this firefox always fails

@MikeMcC399
Copy link
Collaborator

@abponcio

This is due to the issue CircleCI-Public/browser-tools-orb#122.

It requires an update in this repo to https://github.com/CircleCI-Public/browser-tools-orb/releases/tag/v1.5.1, currently using:

browser-tools: circleci/[email protected]

@ParallelUniv3rse
Copy link

Workaround is to pin the firefox version to v134 or below in your config.yml as mentioned here

- browser-tools/install-browser-tools:
    firefox-version: "134.0.2" # FIXME: hotfix for firefox install failing from version 135 (https://github.com/cypress-io/circleci-orb/issues/504)

@MikeMcC399
Copy link
Collaborator

MikeMcC399 commented Feb 6, 2025

      - cypress/install:
          install-browsers: true

now fails in https://github.com/cypress-io/cypress-example-kitchensink for both Chrome and Firefox tests.

@fathom-alastair
Copy link

@ParallelUniv3rse could you help me figure out where that pinned version directive should sit in our config.yml?

we're encountering the same problem and i'm not familiar with circleci...

version: 2.1

orbs:
  aws-cli: circleci/[email protected]
  node: circleci/[email protected]
  slack: circleci/[email protected]
  cypress: cypress-io/[email protected]

parameters:
  environment:
    type: string
    default: ""
  sandbox:
    type: string
    default: ""

workflows:
  test:
    when:
      and:
        - equal: ["", << pipeline.parameters.environment >>]
        - equal: ["", << pipeline.parameters.sandbox >>]
    jobs:
      - cypress/run:
        install-browsers: true
        cypress-command: "npx cypress run --component --browser chrome"
        filters:
          branches:
            ignore:
              - release
              - main

...snip...

@junminhong
Copy link

junminhong commented Feb 7, 2025

@fathom-alastair , try this:

orbs:
  aws-cli: circleci/[email protected]
  node: circleci/[email protected]
  slack: circleci/[email protected]
  cypress: cypress-io/[email protected]
  browser-tools: circleci/[email protected]

workflows:
  test:
    when:
      and:
        - equal: ["", << pipeline.parameters.environment >>]
        - equal: ["", << pipeline.parameters.sandbox >>]
    jobs:
      - browser-tools/install-browser-tools:
          firefox-version: "134.0.2"
      - cypress/run:
        cypress-command: "npx cypress run --component --browser chrome"
        filters:
          branches:
            ignore:
              - release
              - main

If you decide not to pin the Firefox version, you'll have to wait for the hotfix.

@jennifer-shehane
Copy link
Member

We released an update to browser-tools in our 3.4.3 orb. Please update to v3.4.3 to test that this fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants