Git Product home page Git Product logo

Comments (5)

john-doherty avatar john-doherty commented on June 11, 2024

Hi @shekss, I am not a WebStorm user so I would have no idea. @Temi89 can you help?

from selenium-cucumber-js.

Temi89 avatar Temi89 commented on June 11, 2024

Hi @shekss what version of Node and npm are you running ? Also have tried doing
and Npm update. seems like you might have missing a dependencies

from selenium-cucumber-js.

Temi89 avatar Temi89 commented on June 11, 2024

@shekss , @john-doherty Just had a look at your screenshot you are using "cucumber runner" . Edit your run configuration to use "node runner" which you can download as a plugin and point to the index.js file of selenium cucumber js . Or better still just execute Npm run test on the terminal and pass arguments you need e.g. (npm run test -- -b Firefox -t@search) . That is if you haven't already done this.

from selenium-cucumber-js.

john-doherty avatar john-doherty commented on June 11, 2024

Thanks @Temi89. @shekss probably does not have the "test" entry in his package.json file. Are you able to share what you use?

from selenium-cucumber-js.

shekss avatar shekss commented on June 11, 2024

HI @Temi89 & @john-doherty ,
I wanted to run the tests using cucumberjs command actually. the reason i showed webstorm is , webstorm or any other IDE runs cucumberjs command. if i wanted to run the features using cucumberjs, what are all the changes I need to do ?
cucumber loads everything in the support folder before running features , so may be you can store the index.js in there? I tried it but I was not successful. by using the cucumberjs as the runner, I can use the standard cucumber options like tags,hooks in the same way its defined in cucumber tool.

from selenium-cucumber-js.

Related Issues (20)

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.