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

    mysterious-belgium-25713

    11/17/2022, 9:35 PM
    https://github.com/Xvier/cypress-pnpm
  • m

    mysterious-belgium-25713

    11/17/2022, 9:35 PM
    This works out of the box without using pnpm dlx
  • r

    ripe-market-44926

    11/17/2022, 9:35 PM
    this is super helpful! won't cypress run pnpm install twice because the github action automatically runs it?
  • m

    mysterious-belgium-25713

    11/17/2022, 9:37 PM
    It will auto cache everything so it will not download everything again
  • m

    mysterious-belgium-25713

    11/17/2022, 9:37 PM
    https://github.com/Xvier/cypress-pnpm/actions/runs/3250329710/jobs/5333865326
  • m

    mysterious-belgium-25713

    11/17/2022, 9:37 PM
    I also have a branch where i used pnpm dlx. https://github.com/Xvier/cypress-pnpm/blob/testbranch/.github/workflows/pnpm.yml
  • m

    mysterious-belgium-25713

    11/17/2022, 9:38 PM
    with also the pipeline that matches this yaml
  • m

    mysterious-belgium-25713

    11/17/2022, 9:38 PM
    https://github.com/Xvier/cypress-pnpm/actions/runs/3273398644/jobs/5385551634
  • r

    ripe-market-44926

    11/17/2022, 9:39 PM
    thank you!! do you know how to specify the cypress version when using
    pnpm dlx cypress install
    ? it is installing 11.1.0 when my package.json uses 10.11.0
  • r

    ripe-market-44926

    11/17/2022, 9:41 PM
    oh i guess i just append it to cypress...
  • r

    ripe-market-44926

    11/17/2022, 10:03 PM
    hey @mysterious-belgium-25713 the pnpm dlx cypress install command fixed my problem. not sure why it was necessary but i wont' look a gift horse in the mouth. i also ended up having to install
    tslib
    to get my tests to pass. i guess that's some
    pnpm
    quirk, maybe having to do with hoisting? but our tests worked normally after that. anyway, thanks a whole lot 🙂 really appreciate it
  • w

    worried-lifeguard-15953

    11/17/2022, 11:39 PM
    Is there any easy way to disable all logging within a custom command? I have about 10 gets in my command, each with their own assertions. I'd like the log to just show
    myCustomCommand
    instead of every action inside of it.
  • s

    straight-iron-95208

    11/17/2022, 11:47 PM
    Hey, whenever I run any of my specs it always loads an old version of the spec. The only way I seem to be able to get the code to update is to rename the file. Anyone know why this might be happening?
  • m

    most-secretary-62975

    11/18/2022, 1:56 AM
    https://github.com/jakedowns/CypressHelpers hi everyone. Does anyone know how I can use these commands within cypress? I didn’t understand the instructions in the repo. I’m new to Cypress. Thank you.
  • m

    most-jackal-31319

    11/18/2022, 7:01 AM
    Hello! Any way to force touch pointer (no mouse) in cypress E2E? Or force disable it? My local env runs cypress in desktop mode and my github actions runs it with a touch pointer, which is very annoying 😄
  • m

    mysterious-belgium-25713

    11/18/2022, 8:07 AM
    Uhmm for the cy.get you dont want to log you can do something like cy.get("something", {log:false}) this will disable logs. Or you have to overwrite the cy.get command if you dont want logging at all.
  • s

    some-controller-43140

    11/18/2022, 8:52 AM
    Cypress absolute path import issue
  • b

    brash-magazine-98754

    11/18/2022, 11:27 AM
    i want to unselct or change the style value brackground to black color can some one please help me with this
  • l

    late-insurance-53930

    11/18/2022, 11:57 AM
    hi all, we have hit the brick wall with the webpack config on absolute path challenge, described here https://github.com/cypress-io/cypress/discussions/23713. Still have no work around for it. Would be lovely if anybody can share if they faced similar problems and if you could resolve those. Much appreciate the help. Thanks
  • a

    astonishing-actor-1092

    11/18/2022, 1:23 PM
    Hello people, I would like to import a file in a site and find the upload time. I would like to do this kind of "performance" test. Can we do it through Cypress? I try lighthouse but I am not sure that can help me
  • a

    acceptable-hamburger-48790

    11/18/2022, 1:55 PM
    You should be looking at K6/jmeter ? if you really want to measure performance. Lighthouse is for JS/CSS performance check and its not for APIs performance check.
  • a

    astonishing-actor-1092

    11/18/2022, 2:02 PM
    Yes you are correct
  • a

    astonishing-actor-1092

    11/18/2022, 2:02 PM
    Thanks
  • e

    enough-truck-68085

    11/18/2022, 3:49 PM
    It appears that 11.0.x has introduced a regression in the Cypress Test Runner where watching for file changes no longer reruns the test suite on save. Using a Mac and Google Chrome. Has anyone else seen this new behavior? Cypress 10.11.0 works fine.
  • r

    rapid-yak-87393

    11/18/2022, 4:45 PM
    Hi david, are you on 11.0.0 or 11.0.1? Also is this for e2e or CT?
  • e

    enough-truck-68085

    11/18/2022, 4:51 PM
    11.0.1 although 11.0.0 had the same issue. This is for e2e
  • a

    average-elephant-2568

    11/18/2022, 5:02 PM
    Hey people. I've been having problems with an apparently dropped response body for a multipart POST. I opened an issue here: https://github.com/cypress-io/cypress/issues/24730 after really being unable to debug it myself. Any clues here maybe? 🙂
  • r

    rapid-yak-87393

    11/18/2022, 5:06 PM
    actually 11.1.0. If you haven't tested on that lmk, there were some fixes around the issue there.
  • e

    enough-truck-68085

    11/18/2022, 5:07 PM
    Apologies, that was a typo in my last message. I meant
    11.1.0
    , not
    11.0.0
    . The latest has the same issue so I worked my way backwards. The last time it worked for me was
    10.11.0
  • r

    rapid-yak-87393

    11/18/2022, 5:08 PM
    Thanks, also, for e2e testing or component testing?
    e
    • 2
    • 1
1...208209210...252Latest