[JBoss JIRA] (ARQGRA-264) Create possibility to "inject" elements from frames
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-264?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-264:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Create possibility to "inject" elements from frames
> ---------------------------------------------------
>
> Key: ARQGRA-264
> URL: https://issues.jboss.org/browse/ARQGRA-264
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Affects Versions: 2.0.0.Alpha3
> Reporter: Aliaksei Lahachou
> Assignee: Juraj Húska
> Fix For: 2.0.0.Alpha5
>
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> I don't like how WebDriver works with frames. I have to constantly switch between frames, I cannot simply "inject" element from a specific frame. I would love to have something like the following:
> {code:java}
> @FindBy(id = "menuBar")
> @InFrame(id = "header")
> private MenuBarFragment menuBar;
> {code}
> In this case Graphene should switch to frame "header" before any operation on menuBar and switch back to previous frame after (today, I have to do it manually). It seems to me that it is not too complex to do it with Arquillian/Graphene - you only need one more interceptor.
> Elements not annotated with @InFrame should work on current frame just as today.
--
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
11 years
[JBoss JIRA] (ARQGRA-264) Create possibility to "inject" elements from frames
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-264?page=com.atlassian.jira.plugin... ]
Juraj Húska commented on ARQGRA-264:
------------------------------------
It depends on how you will annotate elements, and how you will use them in your tests. Elements which do not use {{@InFrame}} annotation are not affected at all, so they will work with legacy {{browser.switchTo().frame()}}.
> Create possibility to "inject" elements from frames
> ---------------------------------------------------
>
> Key: ARQGRA-264
> URL: https://issues.jboss.org/browse/ARQGRA-264
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Affects Versions: 2.0.0.Alpha3
> Reporter: Aliaksei Lahachou
> Assignee: Juraj Húska
> Fix For: 2.0.0.Alpha5
>
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> I don't like how WebDriver works with frames. I have to constantly switch between frames, I cannot simply "inject" element from a specific frame. I would love to have something like the following:
> {code:java}
> @FindBy(id = "menuBar")
> @InFrame(id = "header")
> private MenuBarFragment menuBar;
> {code}
> In this case Graphene should switch to frame "header" before any operation on menuBar and switch back to previous frame after (today, I have to do it manually). It seems to me that it is not too complex to do it with Arquillian/Graphene - you only need one more interceptor.
> Elements not annotated with @InFrame should work on current frame just as today.
--
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
11 years
[JBoss JIRA] (ARQ-1142) Warp: provide a list of intercepted requests
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQ-1142?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved ARQ-1142.
-----------------------------
Resolution: Won't Fix
This functionality will be rather covered by ARQ-968.
Warp guards that no other requests than the specified ones are done,
they all can be inspected and with resolution of ARQ-968,
even they HTTP Requests/Responses can be verified.
> Warp: provide a list of intercepted requests
> --------------------------------------------
>
> Key: ARQ-1142
> URL: https://issues.jboss.org/browse/ARQ-1142
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Affects Versions: warp_1.0.0.Alpha1
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Fix For: warp_1.0.0.Beta1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> To verify what requests were done during test.
--
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
11 years
[JBoss JIRA] (ARQ-968) Warp: response verification contraints
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQ-968?page=com.atlassian.jira.plugin.sy... ]
Lukáš Fryč updated ARQ-968:
---------------------------
Fix Version/s: warp_1.next
(was: warp_1.0.0.Beta1)
> Warp: response verification contraints
> --------------------------------------
>
> Key: ARQ-968
> URL: https://issues.jboss.org/browse/ARQ-968
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Reporter: Lukáš Fryč
> Fix For: warp_1.next
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> Warp should be able to verify the response type.
> By default, it should verify, that response is OK (status=200).
> API proposal:
> {code:java}
> Warp.execute(..)
> .verifyResponse(Responses.OK, Responses.MediaType.APPLICATION_XML)
> {code}
--
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
11 years
[JBoss JIRA] (ARQ-968) Warp: response verification contraints
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQ-968?page=com.atlassian.jira.plugin.sy... ]
Lukáš Fryč updated ARQ-968:
---------------------------
Story Points: (was: 40)
> Warp: response verification contraints
> --------------------------------------
>
> Key: ARQ-968
> URL: https://issues.jboss.org/browse/ARQ-968
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Reporter: Lukáš Fryč
> Fix For: warp_1.0.0.Beta1
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> Warp should be able to verify the response type.
> By default, it should verify, that response is OK (status=200).
> API proposal:
> {code:java}
> Warp.execute(..)
> .verifyResponse(Responses.OK, Responses.MediaType.APPLICATION_XML)
> {code}
--
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
11 years