Apurv
Apurv

Reputation: 309

Can i run protractor e2e test from the UI

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

Answers (1)

Brine
Brine

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

Related Questions