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 251168

Summary: Cannot rerun Selenium tests on PHP project
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: DEFECT Exception Reporter:
Attachments: Project reproducing the not working Rerun button.

Description Jiri Kovalsky 2015-03-13 16:52:09 UTC
Created attachment 152607 [details]
Project reproducing the not working Rerun button.

Product Version: NetBeans IDE Dev (Build 1)
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:
============
"Rerun" action in "Test Results" output window does not work if Selenium tests are run on PHP project.

Steps to reproduce:
===================
1. Open attached PhpProject6.
2. Right click the project node and invoke "Run Selenium Tests" action from its popup menu.
3. After the "Test Results" window shows two tests click "Rerun" button in it toolbar with two green arrows.

Expected: The same set of tests is executed.
Actual: No tests are executed. Although the execution command is the same there will be the following error message printed into "Output - PHPUnit (test all)" window:

PHP Fatal error:  Call to a member function close() on a non-object in /home/cesilko/NetBeansProjects/PhpProject6/tests/indexTest.php on line 27