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 - Cannot rerun Selenium tests on PHP project
Summary: Cannot rerun Selenium tests on PHP project
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Selenium (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-13 16:52 UTC by Jiri Kovalsky
Modified: 2015-03-13 16:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project reproducing the not working Rerun button. (1.19 MB, application/x-java-archive)
2015-03-13 16:52 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
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