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

    microscopic-advantage-2187

    08/18/2022, 10:24 AM
    I want to run test suite without that particular cypress test file which I want to run separately only it
  • m

    microscopic-advantage-2187

    08/18/2022, 10:24 AM
    that's why I want to run it separately without touching other tests files
  • m

    microscopic-advantage-2187

    08/18/2022, 10:35 AM
    Copy code
    javascript
    e2e: {
       excludeSpecPattern: "file",
    }
    It seems using this on config and then running the excluded test file from command line targeting that file, will give the opposite effect it will run other files but not this specified one
  • m

    microscopic-advantage-2187

    08/18/2022, 10:36 AM
    commented out this config, the command I mentioned above worked. but I still need to exclude this cypress test file from the test suite
  • h

    helpful-coat-87654

    08/18/2022, 11:46 AM
    Hi guys! Got stuck with Cucumber: Step implementation missing for: User logged-in anyone knows what could be here?
  • b

    blue-battery-71202

    08/18/2022, 12:05 PM
    Hi guys, is there any solution for the memory problem, when you have too many test cases in headed mode, and chrome crashes?
  • a

    average-tomato-6584

    08/18/2022, 1:00 PM
    Hi all, I'm currently integrating Cypress with our Okta instance, need a bit of guidance. Is it possible to get a call going / what's the best method to raise a request? Thanks.
  • f

    fast-artist-45202

    08/18/2022, 1:02 PM
    memory issues
  • b

    brief-toddler-73066

    08/18/2022, 1:35 PM
    Good Morning I need help migrating from 9.7.0 to 10.3.1, specifically with setting up certificates. I'm getting an SSLV3_ALERT_HANDSHAKE_FAILURE from Node.js Internals. The tests run fine in 9.7.0 so I'm assuming I haven't updated the configuration correctly. Help please! 😄
  • f

    freezing-piano-2792

    08/18/2022, 2:40 PM
    Start by installing the more recent version, ref. https://github.com/badeball/cypress-cucumber-preprocessor/issues/689
  • h

    helpful-coat-87654

    08/18/2022, 2:52 PM
    hi @freezing-piano-2792 actually, I solved it with replacing esbuild with browserify
  • m

    magnificent-finland-58048

    08/18/2022, 4:01 PM
    this is a barebones CRA repo, still WIP but all should be in working state https://github.com/muratkeremozcan/react-cypress-template you can rip out cra and follow Basarat's manual configuration https://github.com/basarat/typescript-react/tree/master/01%20bootstrap first grab something working, and then reverse engineer it once u have the walking skeleton, then bring it to your internal
  • p

    plain-garden-5374

    08/18/2022, 4:18 PM
    ❕ ❕❕❕❕❕❕❕❕
  • b

    blue-battery-71202

    08/18/2022, 6:02 PM
    Has anyone used cypress github action? Currently it throws me an error with the following error:
    Copy code
    console
    npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
    npm ERR! 
    npm ERR! Invalid: lock file's esbuild@0.11.23 does not satisfy esbuild@0.14.54
    I've deleted locally my
    node_modules
    and
    package-lock.json
    and regenerated with
    npm i
    - also pushed it, so I can't seem to resolve it.. Is there any way to identify which package uses these versions, or to fix it? I wouldn't want to use
    npm i
    in CI.
  • s

    stale-optician-85950

    08/18/2022, 8:21 PM
    Why wouldn’t you want to use
    npm i
    in CI, how else will you install your dependencies? Do you definitely have node_modules listed in your
    .gitignore
    ?
  • b

    blue-battery-71202

    08/18/2022, 8:52 PM
    I do, yes. package-lock json is commited, so
    npm ci
    should theoretically work. And it worked before I've upgraded some packages.
  • p

    plain-garden-5374

    08/18/2022, 10:11 PM
    seeking advice on okta authentication -- i'm encountering the same issue as this person, and no one seems to have a solution: https://devforum.okta.com/t/your-callback-function-returned-a-promise-that-never-resolved/20047
    • 1
    • 1
  • h

    hundreds-spoon-43121

    08/18/2022, 10:52 PM
    I've somehow reduced the logs by suppressing the XHRs from the console by overwriting defaults of Cypress.Server. But is there any way to just show the assertion that failed instead of showing all steps and events in the console?
  • e

    early-hairdresser-71010

    08/19/2022, 7:00 AM
    Hi team I am looking for scenario where i have to add an image in the text area. Can we achieve this by using cypress. can anyone plese help out. Just I have one text area and I need to add an image in that.
  • m

    microscopic-advantage-2187

    08/19/2022, 7:42 AM
    I'm having weird issue using packge.json scripts to run cypress with config it works perfectly fine on Linux but fails on Windows
  • m

    microscopic-advantage-2187

    08/19/2022, 7:43 AM
    the error message
  • m

    microscopic-advantage-2187

    08/19/2022, 7:43 AM
    any idea why?
  • i

    important-nest-99734

    08/19/2022, 7:49 AM
    Does anybody have experience with Exchange Web Services (EWS) and using it within your cypress environment? I know that we can use mailosaur.com but the outgoing mail is blocked by ICT and they don't want to enable it. So this is why I ask i someone is familiar with this EWS part.
  • i

    important-nest-99734

    08/19/2022, 7:52 AM
    I probably has to do something with the way linux and windows read the \ (backslash). Do you really need to escape the qoute? Can you not just do
    npx cypress run --config '{"exlcludeSpecPattern": ["**\/Sys\/*"]}'
  • m

    microscopic-advantage-2187

    08/19/2022, 7:54 AM
    issuing the command on Windows terminal it works but from packge.json it doesn't
  • m

    microscopic-advantage-2187

    08/19/2022, 8:00 AM
    Even without
    npx
    still yield same result
  • i

    important-nest-99734

    08/19/2022, 8:17 AM
    And using it like this
    cypress run --config '{"excludeSpecPattern": ["**/Sys/*"]}'
  • m

    microscopic-advantage-2187

    08/19/2022, 8:22 AM
    Within
    package.json
    it doesn't work as you need to encircle it with double quote While on terminal it works fine
  • m

    microscopic-advantage-2187

    08/19/2022, 8:23 AM
    For some reason it works fine on Linux but not on Windows.
  • f

    fast-napkin-28259

    08/19/2022, 8:28 AM
    Hey guys!
    cy.get('div.myHeart').then((el) => el.index())
    returns a
    Chainable<number>
    , but how can I extract the number? I need to assign that index, e.g.
    const index : number = cy.get('div.myHeart').then((el) => el.index())
    • 1
    • 2
1...130131132...252Latest