I am trying to make my tests more cleaner/parameterized by moving the enums, constants & locators to other files. Is there a way to do this while using protractor/java script. If yes, What is the best way to do this?
Asked
Active
Viewed 788 times
1 Answers
1
Sure, follow the Page Object pattern/model.
As for protractor specifically, study the "Page Objects" chapter of the Style Guide.

alecxe
- 462,703
- 120
- 1,088
- 1,195