Protractor: Any possibility of NativeScript support in the future?

Created on 3 Nov 2016  路  2Comments  路  Source: angular/protractor

Feature Request: nativescript-angular support

Reasons for adopting new feature

We already use Protractor for our Angular 1.x and Angular 2+ apps. NativeScript can be used with Appium, which some have found success using with Protractor in the past. Using the same technology and same APIs would be useful for consistency across our tests, and possibly reuse of our test code.

For functional UI testing, the current solution for NativeScript apps is nativescript-dev-appium, which uses Mocha for testing out of the box (and I don't see any evidence of anyone successfully using anything but Mocha with it). While you can get the job done with this, I am definitely missing the familiarity and customizability that comes with Protractor, and the fact that Protractor understands Angular and doesn't require nearly as many wait commands in the tests.

I'm not sure how much work it would take to be able to run Protractor against an Angular 2 NativeScript app (as you don't have the browser), but it sure would be awesome if this were a thing.

Is this a breaking change? (How will this affect existing functionality)

I don't expect it would be; if anything, this would open Protractor up more for fine-tuned configuration or hooks.

user experience feature request

Most helpful comment

We're working on appium support in protractor, so once that's in a good place I think nativescript-dev-appium should be able to do everything you need. Not sure if we'll ever support it directly but maybe if enough people want it!

All 2 comments

We're working on appium support in protractor, so once that's in a good place I think nativescript-dev-appium should be able to do everything you need. Not sure if we'll ever support it directly but maybe if enough people want it!

Is it possible to use Protractor + Appium for native Android apps particularly messaging ?
Does protractor support native apps? Kindly confirm at the earliest.

Was this page helpful?
0 / 5 - 0 ratings