https://cypress.io logo
Join Discord
Powered by
# cy10-feedback
  • w

    wonderful-match-15836

    07/07/2022, 5:01 PM
    I have again attempted to migrate to 10
  • a

    acceptable-policeman-97489

    07/08/2022, 1:45 AM
    Hi, I am facing some issues with cypress migration to v10. Any idea how can I resolve this issue?
    Copy code
    The Test Runner unexpectedly exited via a exit event with signal SIGILL
    
    Please search Cypress documentation for possible solutions:
    
    https://on.cypress.io
    
    Check if there is a GitHub issue describing this crash:
    
    https://github.com/cypress-io/cypress/issues
    
    Consider opening a new issue.
    ----------
    
    Platform: linux-x64 (Debian - 11.3)
    
    Cypress Version: 10.3.0
  • p

    purple-yak-62116

    07/08/2022, 8:00 AM
    Hey guys when doing component tests on a code base that uses path aliases in tsconfig. It's hard to test them without changing the original code to not use aliases. Or is there a way around that? I used webconfig but it still doesn't work
  • a

    adorable-stone-42197

    07/08/2022, 8:43 AM
    I also have this problem
  • a

    adorable-stone-42197

    07/08/2022, 8:44 AM
    https://github.com/cypress-io/cypress/issues/22570 can someone help?
  • p

    powerful-orange-86819

    07/08/2022, 11:53 AM
    Anyone have issue with this plugin? Ever since Cy's 10.0 update it stopped showing the run and open buttons over my tests, I gave it some time, maybe it required an update, but still no buttons, I've reinstalled and updated it, but no luck
  • a

    alert-area-86576

    07/08/2022, 11:28 PM
    Anyone facing this issue after installing cypress 10.0 version
  • w

    wonderful-match-15836

    07/09/2022, 10:23 PM
    It looks like the code throwing the error is part of the cypress-cucumber-preprocessor package. It appears to be looking for a cypress.json file, which wouldn’t exist in Cy 10. I don’t know much about this package but that might be a starting point for you.
  • r

    rough-van-84956

    07/12/2022, 7:29 AM
    As part of the Cypress 10 migration, the old
    cypress.env
    becomes
    cypress.config.ts
    Hope this helps.
  • p

    powerful-orange-86819

    07/12/2022, 8:40 AM
    If anyone has issues with this addon after 10.0 upgrade, Here's how I made it work again in the settings as so, and its fixed now, reinstall of the vscode plugin didnt work
  • m

    magnificent-finland-58048

    07/12/2022, 7:27 PM
    cypress.json became cypress.config.js something didn't go well for you during the migration, need some tweaks
  • b

    bright-motherboard-31539

    07/13/2022, 11:10 AM
    Hi, i'm trying to write some component tests for my app (Cypress 10, Vue3, Webpack5, npm monorepo with workspaces, Ubuntu 20.04) When I start a test, even an empty one, i receive this error -> ERROR in ../../../../.cache/Cypress/10.3.0/Cypress/resources/app/node_modules/@packages/server/node_modules/@cypress/webpack-dev-server/dist/aut-runner.js 4:0-44 Module not found: Error: Can't resolve 'core-js/modules/es.error.cause.js'
  • b

    bright-park-76512

    07/13/2022, 1:47 PM
    Showing this error after upgrading to 10.3.0 running on Jenkins Linux. Previous version used was 7.1.0 it was working fine
  • t

    tall-thailand-5343

    07/14/2022, 2:03 PM
    Heyo! Just looking for relevant Cypress 10 base docker image, as our CI that uses base 16.5.0 says` Your configFile is invalid: /e2e/cypress.config.js` for some reason ? our package.json does use cypress 10.3.0 and installs that though so I assume it's a problem with the docker image running the tests. Any ideas/help appreciated πŸ™
  • m

    magnificent-telephone-56514

    07/14/2022, 7:27 PM
    Finally got 10.3.0 working both locally and through CI, however it does tend to run a bit slower than previously. I am using the 10.3.0 cypress/included docker image and I see these errors that we did not see in 9.3.0 - anyone know a fix?
    Copy code
    Pulling cypress (ci-runners-8.phg.io/platform/images/cypress:10.3.0a)...
    228^@libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
    229[187:0714/182448.258831:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
    230[187:0714/182448.268419:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
  • p

    purple-receptionist-78904

    07/15/2022, 9:09 AM
    In cypress 10.3 it is working fine now but this was a problem for me as well
  • g

    gray-beard-8992

    07/15/2022, 5:17 PM
    It looks like you need to look at your patterns for files in the new config file
  • g

    gray-beard-8992

    07/15/2022, 5:17 PM
    I have the same issue, did you find the solution?
  • m

    magnificent-telephone-56514

    07/15/2022, 7:08 PM
    I am afraid not. I don't think it affects runs but it is always disconcerting to see errors in logs
  • c

    curved-apartment-30079

    07/16/2022, 10:21 PM
    Hi, are there any plans to show one list of specs rather than having 2 separate lists of component specs and e2e specs? It'd be cool if it abstracted that distinction and just shifted gears behind the scenes as needed. Sorry if this has already been discussed--I searched github issues and didn't come across anything.
  • s

    stale-optician-85950

    07/18/2022, 12:56 PM
    Hi, in v10 what is the CLI format for e2e config key value pairs? Previously I used this
    Copy code
    yarn cypress run --browser chrome  'video'=false,'baseUrl'='http://localhost:3000',ignoreTestFiles='**/site-monitoring/*.int.test.ts'",
    , does the new
    excludeSpecPattern
    (replacing ignoreTestFiles) need to specify
    e2e
    now? Something like
    e2e/excludeSpecPattern='**/site-monitoring/*.int.test.ts'",
    ? The documentation doesn’t seem to show this.
  • s

    stale-optician-85950

    07/18/2022, 1:50 PM
    This command worked.
    Copy code
    --config excludeSpecPattern="**/e2e/site-monitoring/*.int.test.cy.ts",video=false
  • a

    able-monkey-72947

    07/18/2022, 2:49 PM
    Is there a way to set the default browser in
    cypress.config.js
    ? I didn't see it on this page - https://docs.cypress.io/guides/references/configuration
  • a

    able-monkey-72947

    07/18/2022, 2:52 PM
    Ah, actually here's an issue about this with activity from a little less than two weeks ago - https://github.com/cypress-io/cypress/issues/6646 I guess the CLI flag is the only way to do this currently?
  • a

    adorable-smartphone-87280

    07/18/2022, 4:19 PM
    This problem goes away if you use run scripts set in your
    package.json
    - then you don't have to remember all the flags you pass in at runtime.
  • a

    able-monkey-72947

    07/18/2022, 4:21 PM
    Yeah, that's what I'm doing at the moment, just looking to clean that up a bit. It is working though, so I guess I can leave it.
  • a

    aloof-artist-57349

    07/20/2022, 3:21 PM
    After upgrading to v10 from 9.5.4, cypress run and cypress open has gone really slow for us. - We were on 9.5.4. Then did the upgrade to the latest version of cypress 10.3.1 - Now the test execution time takes too long. This appears to occur when loading a page - Just the cypress package and cypress.config.js file changed. No other change in the test code
    w
    • 2
    • 2
  • w

    wonderful-match-15836

    07/21/2022, 1:56 PM
    After upgrading to v10 from 9 5 4
  • c

    curved-apartment-30079

    07/22/2022, 4:56 AM
    Some good news: cypress@9.x used to hang for us sometimes when starting tests. Doesn't seem to be an issue anymore. And the fresh new UI looks pretty nice. Thanks!
  • r

    rough-midnight-62455

    07/22/2022, 3:55 PM
    Hi, Since I moved to cypress 10, I notice that cypress no longer takes into account my directory names. I named them like : /e2e/01-onboarding/*.cy.ts /e2e/02-timeline/*.cy.ts /e2e/03-Forms/*.cy.ts ...etc Before Cypress 10 when I do "run" command : 1. it was run it that order > Now it takes into account the depth of the spec file 2. Full named was written in ouput like : a. when running test Running: 02-timeline/blocking-info-message.spec.ts (11 of 36) b. on final recap : β”‚ βœ” 01-onboarding/uc-home.spec.ts 00:09 4 4 - - - β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€| β”‚ βœ” 02-timeline/blocking-info-message.spec.ts 00:04 2 2 - - - β”‚ Cypress 10 only write spec file name : Running: blocking-info-message.spec.ts (11 of 36) How can I have both behavior back ? Have a good day πŸ™‚
1...111213...18Latest