testing - End to End test with ionic 2 -


i trying perform tests in ionic 2 application based on question , relevant links. have gone through referenced project , have read instructions. unfortuantely, not run test protractor. have in package.json file:

"protractor": "^4.0.9", "protractor-jasmine2-screenshot-reporter": "^0.3.2", 

i need in .spec.ts file import:

import { elementfinder, element, } 'protractor'; 

otherwise element , by not found.

i not use gulp file or typings since obsolete ionic 2. instructions refer tests order conf.js file, not exist in sample project (anymore?).

when run test karma start diverse errors on selenium-webdriver or websocketserver.

what need in order tests run protractor?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -