[JBoss JIRA] (ARQGRA-395) Graphene.guardAjax() doesn't work correctly in IE
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-395?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-395:
------------------------------
Sprint: Graphene 2.0.1 (was: Graphene 2.0.1, Graphene 2.0.2)
> Graphene.guardAjax() doesn't work correctly in IE
> -------------------------------------------------
>
> Key: ARQGRA-395
> URL: https://issues.jboss.org/browse/ARQGRA-395
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0.CR2
> Environment: IE 7, 8, 9
> Reporter: Jan Dosoudil
> Fix For: 2.0-Tracking
>
>
> I have jsf page h:commandButton with f:ajax. Testing with Graphene.guardAjax(button).click(); works with Firefox, htmlUnit, phantomjs but doesn't with Internet Explorer (7, 8, 9). Internet explorer calls onclick function but without return false which causes full page submit.
> button.click() works ok.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (ARQGRA-326) Support for full initialization of outer class instance of a page fragment declared as inner class
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-326?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-326:
------------------------------
Fix Version/s: 2.2-Tracking
(was: 2.1-Tracking)
> Support for full initialization of outer class instance of a page fragment declared as inner class
> --------------------------------------------------------------------------------------------------
>
> Key: ARQGRA-326
> URL: https://issues.jboss.org/browse/ARQGRA-326
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Components: core
> Affects Versions: 2.0.0.Alpha4
> Reporter: Juraj Húska
> Priority: Minor
> Fix For: 2.2-Tracking
>
>
> If a Page Fragment is declared as inner class, then it can not access the fields of its outer class, as their are not inicialized by Graphene Enrichers, thus are {{null}}.
> The possible ugly workaround for such initialization can be:
> {code}
> if (pageFragment.getClass().getEnclosingClass() != null) {
> Field field = pageFragment.getClass().getDeclaredField("this$0");
> field.setAccessible(true);
> Object outer = field.get(pageFragment);
> enrichRecursively(root, outer);
> }
> {code}
> It should be placed in some utility class, so it can be easily unit tested.
> There is one drawback of this method and that is, the outer class can not contain injection point for the inner class, otherwise it will cycle. The inner class can be obtained only dynamically via {{Graphene.createPageFragment}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (ARQGRA-42) Reduce logging levels
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-42?page=com.atlassian.jira.plugin.... ]
Lukáš Fryč updated ARQGRA-42:
-----------------------------
Fix Version/s: 2.2-Tracking
(was: 2.1-Tracking)
> Reduce logging levels
> ---------------------
>
> Key: ARQGRA-42
> URL: https://issues.jboss.org/browse/ARQGRA-42
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Components: junit, testng
> Affects Versions: 1.0.0.Alpha2
> Reporter: Karel Piwko
> Assignee: Karel Piwko
> Priority: Optional
> Fix For: 2.2-Tracking
>
>
> Ajocado outputs many debug information under INFO logging level. This level should be reduced to debug or even debug/fine.
> It makes execution of the test slower and this information is not required until debugging.
> It manifest namely with JUnit which redirects test output to console.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (ARQGRA-434) Browser screenshooter acts only on @Default Drone
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-434?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-434:
------------------------------
Fix Version/s: 2.2-Tracking
(was: 2.1-Tracking)
> Browser screenshooter acts only on @Default Drone
> -------------------------------------------------
>
> Key: ARQGRA-434
> URL: https://issues.jboss.org/browse/ARQGRA-434
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: screenshooter
> Affects Versions: 2.1-Tracking
> Reporter: Stefan Miklosovic
> Assignee: Juraj Húska
> Fix For: 2.2-Tracking
>
>
> Browser screenshooter acts only on Drone instances which do not have any qualifier but @Default since current implementation does this check:
> {code}
> GrapheneContext.getContextFor(Default.class)
> {code}
> This usage prevents user to use screenshooter in multibrowser scenarios like having Android browser and ordinary Firefox browser in one test class since they can (and must) be differentiated by additional qualifier put on @Drone instances.
> Check should be done on instance level and not on qualifier level - meaning we should take context of Drone with ordinary (not mobile) browser which can have any qualifier possible.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months