[arquillian-issues] [JBoss JIRA] (ARQGRA-197) Support for Page Objects encapsulating location

Juraj Húska (JIRA) jira-events at lists.jboss.org
Thu Jun 27 15:04:20 EDT 2013


    [ https://issues.jboss.org/browse/ARQGRA-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785901#comment-12785901 ] 

Juraj Húska commented on ARQGRA-197:
------------------------------------

I have committed the state of the art of my work to [this|https://github.com/jhuska/arquillian-graphene/tree/ARQGRA-197-2] branch.

It is not completed.

I am stuck with Jetty embedded issue I guess. It incorrectly deploy .war in a multiple deployment scenario. I will introduce another container maybe if that will be a issue.
                
> Support for Page Objects encapsulating location
> -----------------------------------------------
>
>                 Key: ARQGRA-197
>                 URL: https://issues.jboss.org/browse/ARQGRA-197
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>    Affects Versions: 2.0.0.Alpha2
>            Reporter: Lukáš Fryč
>            Assignee: Juraj Húska
>            Priority: Minor
>             Fix For: 2.0.0.Alpha5
>
>   Original Estimate: 6 hours
>  Remaining Estimate: 6 hours
>
> {code:java|title=ConferencePage.java}
> @Location("view/conference/create.jsf")
> public class ConferencePage {
>        
>         @FindBy(id = "create")
>         private ConferenceForm form;
>        
>         public ConferenceForm getForm() {
>                 return form;
>         }
> }
> public class ConferencePage implements Bookmarkable {
>        
>         @FindBy(id = "create")
>         private ConferenceForm form;
>        
>         public ConferenceForm getForm() {
>                 return form;
>         }
>         public String getLocation() {
>              return "view/conference/create.jsf";
>         }
> }
> {code}
> {code:java|title=Test.java}
> @Test
> public void test() {
>     ConferencePage page = goTo(ConferencePage.class);
>     ConferenceForm = page.getForm();
> }
> {code}
> The only issue is that it is not sure on which deployment and with what browser should given Page operate.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list