I wrote some tests for my Vue app using Selenium, and I'm trying to create an executable so I won't need to install or copy the entire node_modules files each time I want to run my tests. The problem is I didn't find a way to do it.
Currently, I'm running my tests with two terminals like this:
On the first terminal: npm run selenium
Where 'selenium' stand for this script: "./node_modules/protractor/bin/webdriver-manager update && ./node_modules/protractor/bin/webdriver-manager start"
On the second terminal, in a test directory I want to test with the selenium tests I wrote:
Where "/directory_name/" is including the node_modules files.
My goal is to run everything together with one executable and without the need to install node_module.
Any suggestions?
Thanks in advance! :)