Reputation: 309
I want to run e2e test case from the UI.
Use case: i will build one testing page on our dev stack, where anyone can run the protractor test case by click on "run" button.
We have created a shell script (run.sh) where we have mentioned to run webdriver-manager start and protractor conf.js, so i guess we just need to run shell script from the UI.
Upvotes: 7
Views: 878
Reputation: 3731
As mentioned here, you can create a PHP webpage and use shell_exec()
to trigger your shell scripts.
Another alternative: my team runs protractor tests via a Hubot integration in Slack.
Upvotes: 2