codeforequity-at / botium-bindings

The Selenium for Chatbots
http://www.botium.at
MIT License
108 stars 33 forks source link

Unable to run selective convodirs tests #130

Open sushank-rana-a30001665 opened 5 months ago

sushank-rana-a30001665 commented 5 months ago

We are using Jasmine to run our botium tests and I was wondering if it's possible to run tests in one of the two convo directories by providing a parameter on runtime?

For example in the screenshot below you can see we have two convo directories defined on our package.json and by default all the test scripts (convo.txt) in these two folders run when I use npm run test

I am looking at running tests under one of these convodirs by providing the convo directory path/name at runtime or maybe creating a script pointing to one of these so that I could run something like this

npm run auth - to run scripts in auth directory npm run unaut - to run scripts un unauth directory

image

package.json - scripts

image

botium.spec.ts

image