I want to run e2e test case from the UI.
我想从UI运行e2e测试用例。
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.
我们已经创建了一个shell脚本(run.sh),我们已经提到过运行webdriver-manager start和protractor conf.js,所以我想我们只需要从UI运行shell脚本。
1 个解决方案
#1
2
As mentioned here, you can create a PHP webpage and use shell_exec()
to trigger your shell scripts.
如此处所述,您可以创建PHP网页并使用shell_exec()来触发shell脚本。
Another alternative: my team runs protractor tests via a Hubot integration in Slack.
另一种选择:我的团队通过Slack中的Hubot集成运行量角器测试。
#1
2
As mentioned here, you can create a PHP webpage and use shell_exec()
to trigger your shell scripts.
如此处所述,您可以创建PHP网页并使用shell_exec()来触发shell脚本。
Another alternative: my team runs protractor tests via a Hubot integration in Slack.
另一种选择:我的团队通过Slack中的Hubot集成运行量角器测试。