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 221368

Summary: Configuring JSTestDriver and restarting runs same test several times
Product: javascript Reporter: Vladimir Riha <vriha>
Component: TestingAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2012-11-02 15:27:52 UTC
To reproduce:
- run some tests in e.g. Chrome and Firefox
- now let's say you want to change "Start in 'strict' mode", so right click in Services|JS Test Driver->Configure and change it
- do stop|start to restart it
- test your application

=> In both browsers, new (and duplicit) slave pages are openned and the old one (from first run) are reconnected to the JS Test Driver. As a result all tests are run twice in each browser. Now you can go back to #2, configure again and you get more and more slave pages.

Workaround is e.g. close slave pages before you start over JS Test Driver.


Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211020750)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 David Konecny 2012-11-04 20:48:12 UTC
In case of "Chrome With NB Integration" browser the tab is closed when server is stopped. But for FireFox or Chrome the tab remains opened. Valid issue but not a big deal I think.
Comment 2 Tomas Mysik 2013-12-12 06:15:58 UTC
Taking over.