angularjs - how to import different methods from different files to another javascript file for page objects E2E testing using protractor -


how import different methods different files javascript file page objects e2e testing using protractor. dividing page-objects per each individual page , writing possible actions on page methods. so, how import methods multiple pages(files) test file.

you use require import page objects specs:

var mypage = require("./po/mypage.po.js"); 

see examples at:


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -