[
https://jira.jboss.org/browse/JBIDE-7564?page=com.atlassian.jira.plugin.s...
]
Viacheslav Kabanovich commented on JBIDE-7564:
----------------------------------------------
I suggest setting Web Development perspective before invoking wizard.performFinish() in
testAddJSFCapabilities().
IPerspectiveDescriptor p =
PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWithId("org.jboss.tools.jst.web.ui.WebDevelopmentPerspective");
if(p != null)
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().setPerspective(p);
I will commit that. Denis, if you have another solution, please roll my change back.
org.jboss.tools.jsf.ui.test.AddJSFCapabilitiesTest JUnit Test breaks
the other tests execution
----------------------------------------------------------------------------------------------
Key: JBIDE-7564
URL:
https://jira.jboss.org/browse/JBIDE-7564
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF, testing
Affects Versions: 3.2.0.Beta1
Reporter: Victor Rubezhny
Assignee: Denis Golovin
Fix For: 3.2.0.Beta2
While executing the AddJSFCapabilitiesTest the "Open Perspective" dialog
appears and test waits for the user to answer.
In tycho-build this results in breaking by time-out for the test. All the tests that are
to be started after this test fail in their initialization.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira