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

    cuddly-notebook-88094

    06/16/2022, 10:23 PM
    hey man, did you figure it out?
  • r

    rich-pharmacist-74804

    06/17/2022, 7:02 AM
    My test was stuck in the middle of running test. No errors is shown but keep on loading. The same test runs perfectly in the previous/old version. @billions-barista-30103 team need to look into it .
  • m

    many-fish-80990

    06/17/2022, 10:46 AM
    Hi, I noticed that when cypress is in open mode, when I add new or remove spec file, this change is not reflected in cypress! I have to restart cypress to see the new specs or the removed one actually removed
  • a

    astonishing-electrician-44897

    06/17/2022, 12:46 PM
    I made a bug for this all ready: https://github.com/cypress-io/cypress/issues/22303
  • l

    limited-room-30929

    06/17/2022, 7:22 PM
    https://github.com/cypress-io/cypress/blob/0ebaa14b31474a6610fdd152b1a062d17849339a/npm/vite-dev-server/src/index.ts#L9
  • l

    limited-room-30929

    06/17/2022, 7:22 PM
    I guess there is a bug with the vite devserver
  • l

    limited-room-30929

    06/17/2022, 7:25 PM
    const viteDevServer = await createDevServer(startDevServerArgs)
    transpiles into something like
    Copy code
    ts
  • l

    limited-room-30929

    06/17/2022, 7:25 PM
    wrong
  • l

    limited-room-30929

    06/17/2022, 7:25 PM
    I doesn't seem to have the correct version of the dev server
  • l

    limited-room-30929

    06/17/2022, 7:28 PM
    what is the correct vite devserver version for cypress 10?
  • m

    magnificent-finland-58048

    06/17/2022, 8:01 PM
    copy this to vue comp test channel
  • h

    high-shampoo-86680

    06/17/2022, 10:08 PM
    Is anyone else seeing their run times drastically increase when running the tests in electron in Cypress 10? The good news is that the tests run almost as quickly in chrome in Cypress 10 as they did in electron in Cypress 8. But here's a few benchmarks I took just now from our Github Actions pipeline Test1 Cypress 8 electron - 17s Cypress 8 chrome - 27s Cypress 10 electron - 47s Cypress 10 chrome - 21s Test 2 Cypress 8 electron - 12s Cypress 8 chrome - 19s Cypress 10 electron - 30s Cypress 10 chrome - 13s Test 3 Cypress 8 electron - 19s Cypress 8 chrome - 22s Cypress 10 electron - 39s Cypress 10 chrome - 16s For some bare minimum context, we have a Vue 2 frontend, Node backend. We're running our tests on virtual Linux runners on Github actions using Node 16.15.0 So if this is a bigger issue, I can get more info and submit an issue somewhere. I'm not worried since I can just flip our pipeline to use chrome. But this was really weird to me and just wanted a gut check on whether this is happening to anyone else? Or is it just our app?
  • l

    limited-room-30929

    06/18/2022, 6:28 AM
    vite is not restricted to vue
  • f

    fresh-doctor-14925

    06/18/2022, 9:00 AM
    This is really useful information for the Cypress team. They've been looking at ways to improve performance, as well as investigating if there's been any degradation in recent versions. Is it only with Electron? Usually Chrome is the hungrier of the two in my experience cc @adventurous-dream-20049
  • l

    limited-room-30929

    06/18/2022, 12:28 PM
    you trapped into the
    .md
    trap with this one 😄 the folder is actually
    __tests__
  • n

    numerous-addition-67509

    06/18/2022, 8:43 PM
    https://www.linkedin.com/pulse/cypress-10-frontend-javascript-engineer-manoj-mukherjee
  • h

    high-shampoo-86680

    06/19/2022, 2:09 AM
    I only tried the differences between chrome and electron, since those were the two browsers I was already using for different tests But yeah, I found it really weird at first, too, because we were using electron for everything it could handle since it was noticeably faster. But then I did the version bump on Cypress and all the tests were taking almost three times as long to finish
  • a

    adorable-stone-42197

    06/20/2022, 3:15 PM
    Argument of type “login” is not assignable to parameter of type ‘keyof Chainable
  • a

    adorable-stone-42197

    06/20/2022, 3:16 PM
    I have file cypress.d.ts and there i declare namespace Cypress { interface Chainable { login(): void;} }
  • e

    echoing-painting-40909

    06/21/2022, 3:39 AM
    You can find the custom command guide for typescript here: https://docs.cypress.io/guides/tooling/typescript-support#Types-for-Custom-Commands It doesn't involve creating a cypress.d.ts file
  • m

    modern-fish-67741

    06/21/2022, 7:17 AM
    Anyone running cypress 10.0.3 or 10.1.0 on CI (jenkins for me) have issues running tests on Electron and firefox? Get the “Still waiting to connect to Firefox” message Want to know if this is a regression in 10. Works perfectly fine for <10
  • n

    numerous-addition-67509

    06/21/2022, 3:26 PM
    Gitpod with Cypress 10
  • n

    numerous-addition-67509

    06/21/2022, 3:27 PM
    https://www.linkedin.com/posts/manoj-mukherjee_cypress-cucumber-nextjs-activity-6944901403764998144-jPrD?utm_source=linkedin_share&utm_medium=android_app
  • l

    limited-room-30929

    06/22/2022, 1:07 PM
    @rapid-yak-87393 what are the dev servers that should work with cypress 10?
  • a

    adventurous-dream-20049

    06/22/2022, 1:20 PM
    Thanks for flagging this! Sorry I'm just seeing it @fresh-doctor-14925 @high-shampoo-86680 can you send me a PM? I'll respond as soon as I'm back next week.
  • f

    flat-lunch-59246

    06/22/2022, 4:19 PM
    Hi, I previously used the Cypress watch and reload plugin (https://github.com/bahmutov/cypress-watch-and-reload) to automatically have tests rerun if I make code changes. However, that plugin does not seem to work with Cypress 10 (or at least I was not able to get get it to work). Now I know this is a 3rd party plugin, but I was wondering if Cypress 10 maybe already supports rerunning tests when there are code changes? (Currently I keep having to click on the "rerun all tests" button every time.) - any tips or info would be appreciated!
  • r

    rapid-yak-87393

    06/22/2022, 4:25 PM
    Hi @limited-room-30929, you can find a list of our supported frameworks and devservers here: https://docs.cypress.io/guides/component-testing/component-framework-configuration
  • a

    abundant-gold-84344

    06/22/2022, 4:30 PM
    Hi everyone. I have a doubt in code coverage for cypress. i instrumented my application with nyc. I can see files under window.__coverage__ in the browser where my application is running and i can see undefined under window.__coverage__ in the Cypress automated browser when i run any test case.
  • a

    abundant-gold-84344

    06/22/2022, 4:32 PM
    I can see window.__coverage__ gives the list of files that are instrumented in the Cypress automated browser in the examples provided by cypress (screenshots)
  • g

    gray-kilobyte-89541

    06/22/2022, 4:50 PM
    those pesky 3rd party plugins, https://glebbahmutov.com/blog/cypress-v10-tips/#register-the-plugins
1...789...18Latest