firefox failing on circleCI
See original GitHub issueI don’t know if this is an issue with cypress or something missing on circleCI. I think this line of code installs chrome and firefox.
https://github.com/wikimedia/wikipedia-kaios/blob/try-firefox-browser/.circleci/config.yml#L5
https://hub.docker.com/r/circleci/node
Current behavior:
When I try to run
cypress run --browser=firefox
on circleCII get this error
Desired behavior:
tests should run the same as on local / with electron
Test code to reproduce
https://github.com/wikimedia/wikipedia-kaios/blob/try-firefox-browser/package.json#L18
Versions
4.5.0 https://github.com/wikimedia/wikipedia-kaios/blob/try-firefox-browser/package.json#L45
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Unable to Invoke browser(Chrome or Firefox) - CircleCI Discuss
I have configured config.yml with Maven(Java), its working in local machine but not with CircleCI. Please find the config.yml and error ...
Read more >Installing the Latest Version of Firefox in CircleCI
The Latest version of Firefox fails to install due to missing libpango depdenencies that are not being resolved by apt.
Read more >circleci/browser-tools@1.4.0
Install a variety of browsers and tools for browser testing. Includes Chrome, FireFox, ChromeDriver and GeckoDriver.
Read more >Ideas page JS bug on Firefox? - CircleCI Discuss
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://circleci.ideas.aha.io') does not match the recipient ...
Read more >(firefox:28877): GConf-WARNING **: Client failed to connect to ...
I'm trying to use selenium 3 and Firefox 55, but I'm seeing a lot of lines in the output with the following messages...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh my god, @jennifer-shehane i’m sorry. we run the app in a different way in our local environment 🤦 . I now changed the way to run the app in the CI and the tests are running as expected.
Sorry for wasting your time.
I can recreate this when running Cypress within Firefox in
cypress open
, so this has nothing to do with headless or CircleCI specifically. You should always try to run the tests locally with the installed browser since it will be easier to debug the issue than in a CI container.Also, you should always run the situation outside of Cypress. I can see this error outside of Cypress, when running your application in Firefox also. So, this is a bug in your app - your app doens’t work in Firefox and Cypress has caught this bug for you.