https://cypress.io logo
Join DiscordCommunities
Powered by
# help
  • t

    thankful-dawn-86064

    10/09/2022, 6:31 PM
    thanks
  • m

    mysterious-belgium-25713

    10/09/2022, 6:32 PM
    Or you can pick this list https://github.com/cypress-io/cypress-docker-images/tree/master/browsers
  • t

    thankful-dawn-86064

    10/09/2022, 6:32 PM
    i cant find firefox there
  • m

    mysterious-belgium-25713

    10/09/2022, 6:33 PM
    ff-99 means firefox 99
  • m

    mysterious-belgium-25713

    10/09/2022, 6:33 PM
    So look for the ff word
  • t

    thankful-dawn-86064

    10/09/2022, 6:33 PM
    oh
  • t

    thankful-dawn-86064

    10/09/2022, 6:33 PM
    yeah i found it
  • t

    thankful-dawn-86064

    10/09/2022, 6:33 PM
    how to use it?
  • m

    mysterious-belgium-25713

    10/09/2022, 6:35 PM
    @thankful-dawn-86064 This is an example just change the line where you see container and also specify the right Cypress GitHub action
    Copy code
    yaml
    name: Cypress Tests using Cypress Docker Image
    
    on: [push]
    
    jobs:
      cypress-run:
        runs-on: ubuntu-latest
        container: cypress/browsers:node12.18.3-chrome87-ff82
        steps:
          - name: Checkout
            uses: actions/checkout@v2
    
          # Install NPM dependencies, cache them correctly
          # and run all Cypress tests
          - name: Cypress run
            uses: cypress-io/github-action@v4.x.x # use the explicit version number
            with:
              # Specify Browser since container image is compile with Firefox
              browser: firefox
  • m

    mysterious-belgium-25713

    10/09/2022, 6:35 PM
    https://docs.cypress.io/guides/continuous-integration/github-actions#Testing-in-Chrome-and-Firefox-with-Cypress-Docker-Images
  • t

    thankful-dawn-86064

    10/09/2022, 6:42 PM
    i think i messed something up
    Copy code
    yaml
    Available browsers found on your system are:
     - chrome
     - electron
    Can't run because you've entered an invalid browser name.
    
    Browser: firefox was not found on your system or is not supported by Cypress.
    
    Cypress supports the following browsers:
     - electron
     - chrome
     - chromium
     - chrome:canary
     - edge
     - firefox
  • t

    thankful-dawn-86064

    10/09/2022, 6:42 PM
    cypress/browsers:node16.14.0-slim-chrome99-ff97
  • m

    mysterious-belgium-25713

    10/09/2022, 6:45 PM
    Hmm that's weird. Maybe try this one. cypress/browsers:node14.19.0-chrome100-ff99-edge
  • t

    thankful-dawn-86064

    10/09/2022, 6:48 PM
    Copy code
    yml
    > echo "[svelte-preprocess] Don't forget to install the preprocessors packages that will be used: node-sass/sass, stylus, less, postcss & postcss-load-config, coffeescript, pug, etc..."
    
    [svelte-preprocess] Don't forget to install the preprocessors packages that will be used: node-sass/sass, stylus, less, postcss & postcss-load-config, coffeescript, pug, etc...
  • t

    thankful-dawn-86064

    10/09/2022, 6:48 PM
    first time seeing this error
  • t

    thankful-dawn-86064

    10/09/2022, 6:48 PM
    before firefox update all tests was working
  • t

    thankful-dawn-86064

    10/09/2022, 6:49 PM
    but now cypress can't detect it
  • m

    mysterious-belgium-25713

    10/09/2022, 6:49 PM
    Yeah the latest firefox also broke my tests
  • t

    thankful-dawn-86064

    10/09/2022, 6:49 PM
    on my local computer its working with the newest version installed
  • t

    thankful-dawn-86064

    10/09/2022, 6:52 PM
    i already made like 15 commits updating cypress workflow but without any success
  • t

    thankful-dawn-86064

    10/09/2022, 7:01 PM
    do you have any working firefox containers?
  • t

    thankful-dawn-86064

    10/09/2022, 7:01 PM
    with node v14 or v16 on it
  • m

    mysterious-belgium-25713

    10/09/2022, 7:08 PM
    Let me check
  • t

    thankful-dawn-86064

    10/09/2022, 7:17 PM
    did you found anything?
  • m

    mysterious-belgium-25713

    10/09/2022, 7:23 PM
    Trying to run a pipeline now lets see if it works
  • t

    thankful-dawn-86064

    10/09/2022, 7:24 PM
    i would use other browsers like chrome but for me it starts to test before page was fully loaded
  • m

    mysterious-belgium-25713

    10/09/2022, 7:37 PM
    Just got the same error as you that it cannot find firefox. Let me try another one. If this also fails i think we should create a github ticket.
  • t

    thankful-dawn-86064

    10/09/2022, 7:38 PM
    yeah
  • t

    thankful-dawn-86064

    10/09/2022, 8:06 PM
    @mysterious-belgium-25713 im looking at your failing workflows and i think the issue is you are doing
    npm install
    as a seperate command and it should be where you are running cypress using
    install
    so it would look like this:
    Copy code
    yaml
    with:
      install: npm install
      browser: firefox
  • m

    mysterious-belgium-25713

    10/09/2022, 8:06 PM
    No the fails are because i'm on my company laptop
1...168169170...252Latest