I am working on an Angular application that is deployed as a component within another web application. It relies on REST apis of the parent application. Can protractor be configured to run against an already deployed application or would I be better off using Selenium directly for e2e testing?

有帮助吗?

解决方案

Yes it can. Look at the Protractor docs, they are shown to be testing the AngularJS site: https://github.com/angular/protractor/blob/master/docs/getting-started.md#writing-tests

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top