how to set up Protractor tests in IntelliJ

Hi all,

I am quite new to execute Protractor test cases in IntelliJ in Mac OS. I have downloaded Intellij IDEA ultimate trial version and require to know how I should do the initial set up to execute Protractor conf.js. when I opened the IDE,I can see "Create New Project" option. Could you let me know what type of project I need to create to run the test scripts? Where do I require to add spec.js and conf.js files and how do I run?

I was able to run Protractor scripts at command line and it was successfull.

0
2 comments

>I was able to run Protractor scripts at command line and it was successfull.

So, you do have some scripts and configuration files ready? You can create a new project from existing sources (New |Project from existing sources, choose your application root directory) then;

or, you can start from scratch by creating a new empty project using New | Project... | Static Web | Static Web and start populating it with your stuff

 

See also https://www.jetbrains.com/help/idea/2018.2/protractor.html

0
Avatar
Permanently deleted user

Thanks . This helps.

1

Please sign in to leave a comment.