Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 637
Apurv Avatar asked Aug 18 '15 12:08

Apurv


People also ask

Which can be used to run end to end testing karma or Protractor?

When do I use which? Karma is a great tool for unit testing, and Protractor is intended for end to end or integration testing. This means that small tests for the logic of your individual controllers, directives, and services should be run using Karma.


1 Answers

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.

like image 94
Brine Avatar answered Sep 19 '22 16:09

Brine