https://cypress.io logo
Join Discord
Powered by
# help
  • m

    magnificent-byte-58695

    06/21/2022, 3:05 PM
    Hello everyone, I need help regarding cypress. Today i'm facing this issue in past it was working fine. My app's login component will not let me log in when opened with the Cypress browser. I can log in via the normal Chrome browser. Copypasting the username and password which work in the normal browser to the Cypress browser also results in a login error.
  • s

    strong-lamp-7583

    06/21/2022, 3:33 PM
    Good morning! I apologize if this has been asked before, but after upgrading to 10.1.0, I have not been able to connect to Chrome V102. I am able to connect to Chromium v98. Has any one run into this/found a fix?
  • f

    faint-cat-31237

    06/21/2022, 4:21 PM
    Hello everybody šŸ‘‹ I have a very simple question : Is the cypress folder ignored when building the application in production ? Or do you need to exclude that folder in tsconfig.json/angular.json ? šŸ¤” ā¤ļø
  • l

    lively-ram-88547

    06/21/2022, 6:46 PM
    Could anyone tell me why this assertions fails 9 out of 10 times? If I use a contains('Label field') it finds it without problem.
  • m

    magnificent-finland-58048

    06/21/2022, 7:37 PM
    when you build the app, do you see cypress in the dist folder? You most likely do not. You can verify it all locally by building.
  • m

    magnificent-finland-58048

    06/21/2022, 7:38 PM
    the test most likely runs much faster than the field can be populated but looking at the error, I am confused try a regex to see if that tames it (/label field/i)
  • l

    lively-ram-88547

    06/21/2022, 7:40 PM
    https://github.com/cypress-io/cypress/issues/9531 -> this should be a solution but it does not work for me
  • m

    magnificent-finland-58048

    06/21/2022, 7:49 PM
    what happens if you try https://testing-library.com/docs/cypress-testing-library/intro/
  • l

    lively-ram-88547

    06/21/2022, 7:54 PM
    maybe later šŸ™‚ too much work to try that just because there is an &nbps; in the text field
  • r

    refined-autumn-54549

    06/22/2022, 4:55 AM
    Hello, i am trying to install cypress on a VPS-Server and get a SIGABRT error on the cypress verify command. Installed all needed dependencies, but i still get a SIGABRT error. tried it with cypress 9.7.0 and 10.1.0. Does anyone know this kind of issue?
    • 1
    • 1
  • m

    magnificent-finland-58048

    06/22/2022, 6:40 AM
    cypress testing lib is pretty easy to setup šŸ˜‰
  • f

    faint-cat-31237

    06/22/2022, 6:44 AM
    Yes you were right i can't see the cypress folder in the dist folder ^^ Thanks you šŸ™
  • l

    lively-ram-88547

    06/22/2022, 8:04 AM
    Thanks but found a solution without an other lib
  • c

    calm-cpu-27149

    06/22/2022, 8:19 AM
    Hi All, while running the cypress test runner command "node_modules/.bin/cypress open" the dashboard will open and automatically closing Please help me out with this issue, thanks in advance
  • s

    salmon-fountain-28046

    06/22/2022, 9:26 AM
    Hello all, I'm trying to configure cypress component testing with react, but I'm stuck trying to mount the component into a test. I'm using webpack with react and have everything installed (locally and production is working fine), but seems like cypress is not recognizing JSX syntax at all. Can someone point me where I should look?
  • b

    bored-angle-54834

    06/22/2022, 10:39 AM
    Hi all, I'm facing issue with 'javascript heap out of memory' issue, from what I've gathered looks like there are plenty of people that have it also. I've tried setting node variable, separated feature files into multiple, optimize code and steps, but somehow it always throws this error after around 1h30 of running. We are running them on angular v11, cypress v9.4 with cypress-cucumber-preprocessor v4.3, run is executed in headless mode. Does anyone have some idea or solution why this is happening and how to fix it? Thanks in advance
  • f

    fresh-doctor-14925

    06/22/2022, 11:05 AM
    Is this on your local machine or in CI?
  • b

    bored-angle-54834

    06/22/2022, 11:13 AM
    On local machine
  • f

    fresh-doctor-14925

    06/22/2022, 11:26 AM
    Try changing your
    numTestsKeptInMemory
    setting https://github.com/cypress-io/cypress/issues/2366#issuecomment-414781265
  • b

    bored-angle-54834

    06/22/2022, 11:31 AM
    Done it, basically every potential solution that I could find I've done, at the moment I've downgraded cypress to v8 since there are people who mentioned they don't have this issue on it.
  • f

    fresh-doctor-14925

    06/22/2022, 11:36 AM
    Ok, that would have been useful to know. The Cypress team is looking into if there have been performance degradations in recent versions, so I'm sure they would appreciate if you could list what solutions you've tried before arriving at your conclusion
  • b

    bored-angle-54834

    06/22/2022, 11:40 AM
    Sure, I'll write a post and inform them after test run ends. Where would be appropriate to notify them.
  • f

    fresh-doctor-14925

    06/22/2022, 11:43 AM
    @adventurous-dream-20049 I know you're interested in improving performance. Would Dragan be okay to contact you?
  • h

    happy-camera-57358

    06/22/2022, 12:45 PM
    Hi, did someone experience problems with Firefox browser when running locally cypress headless? i got this error message " Error: Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds." I cannot find right solution so far and will be grateful for any help. (I am using windows 10)
  • a

    adventurous-dream-20049

    06/22/2022, 1:16 PM
    Thanks for bringing this to my attention @fresh-doctor-14925 I'm OOO until next week, but please send me a PM @bored-angle-54834 and we'll connect asap!
  • b

    bored-angle-54834

    06/22/2022, 1:21 PM
    Well do, thanks
  • l

    limited-room-30929

    06/22/2022, 2:22 PM
    although I have set
    indexHtmlFile: 'test/cypress/support/component-index.html',
    the html is not used to mount vue components
  • l

    limited-room-30929

    06/22/2022, 2:22 PM
    any ideas?
  • l

    limited-room-30929

    06/22/2022, 2:24 PM
    is there a way to debug the config?
  • l

    limited-room-30929

    06/22/2022, 2:31 PM
    [@cypress/webpack-dev-server]: removing HtmlWebpackPlugin from configuration.
    why is cypress doing this?
1...929394...252Latest