Git Product home page Git Product logo

Comments (4)

trentrand avatar trentrand commented on September 23, 2024

Hey, sorry to hear you're having trouble running it!

I'd expect this would work with the input you've suggested (e.g. npx cypress-utils stress-test Orders/SGO.spec.js).

Here's the part that seems to be failing for you: https://github.com/trentrand/cypress-utils/blob/master/index.js#L197-L202

The file matcher glob.sync(cypressConfig.integrationFolder + '/' + argv.testFiles) is going to look for files relative to your terminals working directory. Are you inside of the correct folder? It will likely be your project root, and should contain a cypress/ directory and cypress.config file.

If this doesn't help, consider running the util from source code and throw in some breakpoints / log messages. I think the issue will become apparent.

from cypress-utils.

trentrand avatar trentrand commented on September 23, 2024

Or perhaps your test name was written with the wrong casing (i.e. Orders/SGO.spec.js instead of orders/SGO.spec.js)? See issue #2.

from cypress-utils.

jove4015 avatar jove4015 commented on September 23, 2024

Thanks for writing back Trent! I was able to get past it in the meantime by just removing all the other specs I wasn't trying to stress test temporarily. However for the next time it would be nice to sort out.

I was in the project root (where there was a cypress folder/) and the path name as you described was valid for my CWD. Capitalization / etc is correct.

Got a lot to wrap up yet before the break - I will try to find time next week to set it up to run from source and debug.

from cypress-utils.

trentrand avatar trentrand commented on September 23, 2024

Awesome! Glad to hear you've unblocked yourself.

Let me know what you find. Happy to help get it fixed!

from cypress-utils.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.