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 - Configuring JSTestDriver and restarting runs same test several times
Summary: Configuring JSTestDriver and restarting runs same test several times
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Testing (show other bugs)
Version: 7.3
Hardware: PC Linux
: P4 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-02 15:27 UTC by Vladimir Riha
Modified: 2014-10-07 07:44 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 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.