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 252401 - AngularJS/HTML5 project does not show test files (you have to switch files view)
Summary: AngularJS/HTML5 project does not show test files (you have to switch files view)
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.0.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on: 252409
Blocks:
  Show dependency tree
 
Reported: 2015-05-14 11:53 UTC by eino
Modified: 2015-09-03 05:07 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example project created with Netbeans 8.0.2 (6.49 KB, image/png)
2015-05-14 11:53 UTC, eino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eino 2015-05-14 11:53:50 UTC
Created attachment 153653 [details]
Example project created with Netbeans 8.0.2

When I create new HTML5 javascript application (working like charm) with AngularJS bootstrap application. All karma and e2e tests works nice, but to be able to edit files like karma.conf.js (in root) or directory created e2e-tests I have to switch to Files-view.  This is OK, but there is now Unit tests or tests view in Projects.
Comment 1 Vladimir Riha 2015-05-14 12:25:06 UTC
The "test" folder is empty, so it is hidden (it is displayed in NetBeans dev version [1]). But there are Protractor tests in folder "e2e-tests".

Tomasi, could this "e2e-tests" be set as a source folder for Selenium Tests? That way you could see "Selenium Tests" node in Projects view right after project creation.


Thanks


[1] http://bits.netbeans.org/download/trunk/nightly/latest/



Product Version: NetBeans IDE Dev (Build 201505120001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 2 Tomas Mysik 2015-05-15 05:23:50 UTC
Will try to improve it. Láďo, please, check also other Online Templates and report a bug if any of those needs to be improved as well.

Thanks!
Comment 3 Vladimir Riha 2015-05-15 06:10:39 UTC
Thanks, other templates seem to be fine.
Comment 4 Tomas Mysik 2015-05-15 07:35:44 UTC
I will setup AngularSeed template to have Selenium Tests folder, however Selenium provider (Protractor) must be set manually now - I have submitted issue #252409.

Thanks.
Comment 5 Tomas Mysik 2015-05-15 07:40:53 UTC
Selenium folder is set properly, please verify. Waiting for the issue #252409 so lowering to P4.

Thanks.

http://hg.netbeans.org/web-main/rev/81043842924a
Comment 6 Quality Engineering 2015-05-16 08:29:58 UTC
Integrated into 'main-silver', will be available in build *201505160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/81043842924a
User: Tomas Mysik <tmysik@netbeans.org>
Log: #252401 - AngularJS/HTML5 project does not show test files (you have to switch files view)
Comment 7 Tomas Mysik 2015-09-03 05:07:14 UTC
Issue #252409 is fixed now, we can close this issue. Láďo, please verify, thanks.