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

    shy-journalist-38376

    06/01/2022, 7:56 PM
    I got an issue with cypress using circle ci.
  • g

    gray-easter-54566

    06/01/2022, 8:10 PM
    what are the contents of your current cypress.config.ts?
  • g

    gray-easter-54566

    06/01/2022, 8:17 PM
    You likely need to update
    cypress-ci.json
    to use the new cypress.config.(ts|js) nomenclature https://docs.cypress.io/guides/guides/command-line#cypress-run-config-file-lt-configuration-file-gt.
  • g

    great-school-82741

    06/01/2022, 8:34 PM
    Live about Cypress v10 in Portuguese

    https://www.youtube.com/watch?v=ithwtAzILdU&ab_channel=TalkingAboutTesting▾

  • c

    colossal-car-14055

    06/01/2022, 8:57 PM
    I was able to make some forward progress using the steps in

    https://www.youtube.com/watch?v=mIqKNhLlPcU▾

    It still appears I am having issues with the config for devServer within next.js
  • c

    colossal-car-14055

    06/01/2022, 9:09 PM
    I think it's due to the removal of the plugin file, we were using this within our support/plugins/index.js
    Copy code
    const injectNextDevServer = require('@cypress/react/plugins/next');
    
      if (config.testingType === 'component') {
        injectNextDevServer(on, config);
      }
  • g

    gray-easter-54566

    06/01/2022, 9:17 PM
    what does your
    cypress.config.ts
    currently look like? you should be able to configure the dev server like this https://docs.cypress.io/guides/component-testing/component-framework-configuration#Next-js
  • s

    swift-angle-95455

    06/01/2022, 10:09 PM
    I'm having a critical error "EPERM: operation not permitted, watch `path\to\project\.git\index.lock`". It suddenly occurs, I was reading some testing example files (e.g. assertions.cy.js) and the test runner closes. It happened 4 times since I upgraded. Full details: Couple of hours ago, I upgraded from 9.7.0 by doing
    npm install --save-dev cypress@10.0.0
    . All went good. The wizard changed my files and whatnot. Everything worked as intended and suddenly the test runner crashed on every time I opened it (via
    cypress open
    ). (The terminal output is bad formatted, it always happens) My machine: Windows 10 21H2 19044.1706 NodeJS v. 16.15.0 NextJS 12.1.6
    c
    • 2
    • 3
  • f

    full-ram-6858

    06/02/2022, 12:16 AM
    The sample app under the React with Vite docs is pointing to a next example (https://docs.cypress.io/guides/component-testing/component-framework-configuration#React-with-Vite)
  • f

    full-ram-6858

    06/02/2022, 12:24 AM
    Great work on the awesome release!
  • e

    early-ocean-91379

    06/02/2022, 12:34 AM
    Hello Migrated to cy 10 and noticed that the performance is drastically degraded -both at startup and during execution Loading configuration takes almost 2 minutes Also, can someone please clarify if cy.session and cy.origin CAN be used to login to an app that uses SSO (Microsoft OAuth 2.0)? Currently I login programmatically via api calls. As a normal user, if I enter the application url, it gets redirected to login.microsoftonline.com and tests starts failing. How can we use cy.session and cy.origin to handle redirect? The example provided shows user has to click a button to go to another page, and then use cy.origin to perform tasks on that page, but how about auto redirection? If someone can share a small example, that would be really helpful
    g
    • 2
    • 4
  • m

    modern-fish-67741

    06/02/2022, 2:47 AM
    Who is maintaining the docker images? The new images for cypress 10 is broken in my Jenkins CI server.. it runs as root but for some reason has issues accessing the caches directory now EACCESS: permission denied, mkdir ‘/root/.caches/Cypress’
  • r

    rapid-monitor-17268

    06/02/2022, 3:58 AM
    hi , im testing v10 but i can't run my spec
  • r

    rapid-monitor-17268

    06/02/2022, 3:59 AM
    the code
  • m

    modern-fish-67741

    06/02/2022, 5:08 AM
    Try “` */.cy `” instead
  • u

    user

    06/02/2022, 6:09 AM
    I have the same problem and all my test files are named x.spec.js, cypress doesn't find them no matter what I do
  • m

    modern-fish-67741

    06/02/2022, 6:10 AM
    It needs to be named x.cy.js now
  • u

    user

    06/02/2022, 6:11 AM
    ah..lol, thanks :)
  • b

    bumpy-television-39266

    06/02/2022, 6:44 AM
    Important note. in tsconfig; baseUrl must be: es5. Other options will result in errors
  • r

    rapid-monitor-17268

    06/02/2022, 7:05 AM
    yea is true
  • r

    rapid-monitor-17268

    06/02/2022, 7:05 AM
    close the running app and run again
  • r

    rapid-monitor-17268

    06/02/2022, 7:07 AM
    is nesesary close firts for add in config json
  • r

    rapid-monitor-17268

    06/02/2022, 7:10 AM
    and supprtFile need set false value the firts time
  • p

    powerful-orange-86819

    06/02/2022, 7:14 AM
    I'm getting these issues when trying to upgrade from 10.0.0 to 10.0.1, anyone have any idea how to resolve them ?
    w
    s
    • 3
    • 6
  • w

    wonderful-wire-43244

    06/02/2022, 8:50 AM
    is cypress 10 still loading the support/index.js? Somehow after updating cypress, it doesn't execute that code anymore...
  • m

    modern-fish-67741

    06/02/2022, 8:56 AM
    Support/index.js needs to be renamed to support/e2e.js
  • w

    wonderful-wire-43244

    06/02/2022, 9:03 AM
    ok, thx
  • w

    wonderful-wire-43244

    06/02/2022, 9:06 AM
    hmm, nope, renaming it creates another fatal error that it can't find an index.js
  • e

    early-autumn-39689

    06/02/2022, 9:45 AM
    Hi, thanks for cypress v10, it looks great. I received some feedback about losing the "Run all specs" in the
    cypress open
    . In a few teams they missed a lot that feature, and I see there's already a discussion about this here -> https://github.com/cypress-io/cypress/discussions/21628 What do you think about this? Is is something that will comeback to cypress? 🤔
  • b

    bumpy-television-39266

    06/02/2022, 11:32 AM
    I had the same; change tsconfig; baseUrl must be: es5.
12345...18Latest