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 246084 - Install js-test-driver
Summary: Install js-test-driver
Status: RESOLVED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Test Specifications (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7 x64
: P4 normal (vote)
Assignee: Vladimir Riha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 05:06 UTC by skomisa
Modified: 2014-08-12 15:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skomisa 2014-07-29 05:06:19 UTC
Environment (from "About Netbeans"): 
====================================
Product Version: NetBeans IDE Dev (Build 201407280405)
Java: 1.8.0_20-ea; Java HotSpot(TM) 64-Bit Server VM 25.20-b22
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-ea-b23
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\JohnDoe\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\JohnDoe\AppData\Local\NetBeans\Cache\

Details:
========
The following comments relate to the 8.0.1 test specification for JSTestDriver here: http://services.netbeans.org/synergy/client/app/#/specification/326/v/2

[1] NetBeans 8.0.1 includes a new version (1.1.2) of the Netbeans Connector extension for Chrome. Its installation should be included in the "Prerequisites & Trivia" section.  
[2] The "Configuration and Test execution" section does not mention that the JS Test Driver service needs to be started. This should be done after step 8 ("Confirm the dialog").
[3] The screen shot of all tests running successfully is very misleading since the supplied test files (e.g. jsTestDriver_jasmine.conf) deliberately contain instructions designed to cause tests to fail (e.g. exclude web/js/calc2.js), so the provided screen shot will never be displayed.
[4] Regarding the selection of browsers in the Configure dialog:
    - I had Opera installed but it was not presented as a browser choice.
    - I had Chrome Canary installed but it was not presented as a browser choice.
[5] Steps 5 and 9 are missing any text description.
[6] The documentation does not mention that a web page alert with the text "100" appears. Is this supposed to occur? If so it should be documented in the test specification.
Comment 1 Vladimir Riha 2014-08-12 15:47:29 UTC
#1 is fixed now, new extension has been published to Chrome WebStore
#2 if you mean [1], it works for me properly. After the last dialog is confirmed, tests are executed
#3 you're right, fixed
#4 I'm not sure here how the browsers are detected, but I think it offers some "hard coded" options (like Chrome, Embedded browser) and then browsers configured in Tools|Options|General|Web browsers 
#5 fixed
#6 fixed, although it is not error, it is annoying behavior because the popup window steals focus



[1] http://services.netbeans.org/synergy/client/app/#/case/3715/suite/1858/v/1

Thank you