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 251170 - "Go to Source" on failed Selenium test in PHP project does not work
Summary: "Go to Source" on failed Selenium test in PHP project does not work
Status: RESOLVED FIXED
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 17:11 UTC by Jiri Kovalsky
Modified: 2015-09-05 03:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project reproducing the not working Go to Source button. (1.19 MB, application/x-java-archive)
2015-03-13 17:11 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 17:11:55 UTC
Created attachment 152608 [details]
Project reproducing the not working Go to Source 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:
============
"Go to Source" action on stacktrace of failed Selenium test in "Test Results" output window does not work if 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 execution is done, expand "testFailure Failed: ..." node.
4. Right click "Failed asserting that..." message and invoke "Go to Source" from its popup menu.

Expected: indexTest.php file is opened in Editor with cursor at line 35.
Actual: Nothing happens.
Comment 1 Theofanis Oikonomou 2015-09-04 14:54:53 UTC
Changeset: 2a4a8556cf09
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2015-09-04 16:54
Message:
Comment 2 Theofanis Oikonomou 2015-09-04 14:57:23 UTC
Problem was that no testing provider was selected in project properties. If PHPUnit is selected everything works as expected. With the fix at least project's properties dialog is opened giving an indication why things might not work instead of leaving him wondering what happened. Thanks for catching.
Comment 3 Quality Engineering 2015-09-05 03:03:31 UTC
Integrated into 'main-silver', will be available in build *201509050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2a4a8556cf09
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #251170 - "Go to Source" on failed Selenium test in PHP project does not work