This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250973

Summary: Register Protractor configuration file in private.properties upon it's creation
Product: utilities Reporter: Jiri Kovalsky <jkovalsky>
Component: SeleniumAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jiri Kovalsky 2015-03-06 13:46:44 UTC
Product Version: NetBeans IDE Dev (Build 201503060001)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)

Description:
============
It would be great if nbproject/private/private.properties configuration file is updated after creation of Protractor configuration file.

Steps to reproduce:
===================
1. Invoke "File > New Project..." from main menu.
2. Select "HTML5/JavaScript" category and "HTML5/JS Application" project type.
3. Push "Next >" button and then "Finish".
4. Right click "HTML5Application" project node and invoke "Properties" from its popup menu.
5. Select "Selenium Testing" category, then "Protractor" provider and push "OK".
6. Right click "HTML5Application" project node and invoke "New > Other..." from its popup menu.
7. Select "Selenium Tests" category and "Protractor Configuration File" type.
8. Push "Next >" button and then "Finish".

Expected: There is no additional setting up needed since absolute path to the protractor.conf.js file is automatically added to nbproject/private/private.properties configuration file.
Actual: If "Properties" is invoked on project node and "Selenium Testing" category selected, "Configuration File:" text field remains empty.