Bug 1036823 - Add some Arquillian and Warp tests to quickstarts
Summary: Add some Arquillian and Warp tests to quickstarts
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Quickstarts
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: CR01
: 6.2.0
Assignee: Peter Palaga
QA Contact: Tomas Kyjovsky
URL:
Whiteboard: 6_2 Triage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 17:01 UTC by Peter Palaga
Modified: 2014-07-04 14:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 14:03:17 UTC
Type: Bug


Attachments (Terms of Use)

Comment 3 Peter Palaga 2014-01-15 10:44:44 UTC
Status update:

The setup Ken is using in arquillian-extension-portal works with a bare bone AS plus gatein-pc. This is not enough in quickstarts as we want to have access to Portal public APIs (navigation, organization, ...) too, which we (and customers) use in portlets. This is solvable trough taking full-blown Portal instead of AS+PC, but in this way, there is no app in the container that would render a (per-request) given single portlet on a page. This could be solved by the planned public API enhancements which are worked on within Bug 1043858. Bug 1043858 is targeted for JBoss Portal 6.2, thus I am postponing this one too.

There was an objection that taking a full-blown Portal is an overkill, because it takes too long to boot. This can perhaps be solved by using a remote container rather than a managed one. If this solution is not sufficient for some reason, we'd probably need to find out a way how to make the portal booting faster through stripping away some parts that are not necessary for this kind of portlet testing. Other proposals are welcome.

My efforts can be seen in this branch: https://github.com/ppalaga/jboss-portal-quickstarts/tree/BZ1036823

Comment 4 Peter Palaga 2014-07-04 14:03:17 UTC
Deferred as it cannot be done elegantly with the present Page Composition API (as I originally hoped). Page Composition API would have to be accessible through REST so that it can be used for creating ad hoc pages for the sake of UI testing.


Note You need to log in before you can comment on or make changes to this bug.