[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.0.0.Alpha5
(was: 2.0.0.Beta1)
> 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.0.0.Alpha5
>
>
> 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 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, 9 months
[JBoss JIRA] (ARQGRA-117) Create JBoss Forge plugin for Graphene
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-117?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-117:
------------------------------
Fix Version/s: 2.0.0.Beta1
(was: 2.0.0.CR1)
> Create JBoss Forge plugin for Graphene
> --------------------------------------
>
> Key: ARQGRA-117
> URL: https://issues.jboss.org/browse/ARQGRA-117
> Project: Arquillian Graphene
> Issue Type: Task
> Components: integration
> Reporter: Lukáš Fryč
> Priority: Critical
> Labels: devconf
> Fix For: 2.0.0.Beta1
>
>
> This could be rather Arquillian/Drone plugin.
> Requirements:
> * scaffolding new Graphene project
> * start remote selenium server (ARQ-1032)
> * ability to export @Deployment
> ** the export of deployment is afaik done in Arquillian Forge plugin
> * ability to deploy @Deployment (export + deploy) (ARQGRA-213)
--
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, 9 months
[JBoss JIRA] (ARQGRA-269) Argument is of an illegal type, when attempting to switchTo an iframe
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-269?page=com.atlassian.jira.plugin... ]
Lukáš Fryč reassigned ARQGRA-269:
---------------------------------
Assignee: Lukáš Fryč
> Argument is of an illegal type, when attempting to switchTo an iframe
> ---------------------------------------------------------------------
>
> Key: ARQGRA-269
> URL: https://issues.jboss.org/browse/ARQGRA-269
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0.Alpha3
> Environment: Windows 7
> JDK 1.7U10 64-bit
> Drone 1.2.0Alpha
> Graphen 2.0.0.Alpha3
> Reporter: Simon Knott
> Assignee: Lukáš Fryč
> Priority: Critical
> Fix For: 2.0.0.Alpha4
>
>
> I am getting the following exception thrown when attempting to switchTo() an iframe:
> {code}java.lang.IllegalArgumentException: Argument is of an illegal type: $Proxy26
> at org.openqa.selenium.remote.internal.WebElementToJsonConverter.apply(WebElementToJsonConverter.java:78)
> at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.frame(RemoteWebDriver.java:797)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invokeReal(GrapheneProxyHandler.java:209)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:140)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:170)
> at $Proxy27.frame(Unknown Source){code}
> The test code which is causing the exception looks like:
> {code}WebElement iframe = driver.findElement(By.tagName("iframe"));
> TargetLocator targetLocator = driver.switchTo();
> targetLocator.frame(iframe);{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, 9 months
[JBoss JIRA] (ARQGRA-256) Graphene RemoteWebDriver doesn't support augmentation properly
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-256?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-256:
------------------------------
Fix Version/s: (was: 2.0.0.Beta1)
> Graphene RemoteWebDriver doesn't support augmentation properly
> --------------------------------------------------------------
>
> Key: ARQGRA-256
> URL: https://issues.jboss.org/browse/ARQGRA-256
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0.Alpha3
> Environment: Graphene 2.0.0.Alpha3-SNAPSHOT
> Reporter: Ron Šmeral
> Priority: Critical
>
> When using a remote WebDriver, trying to take a screenshot as described in [WebDriver documentation|http://seleniumhq.org/docs/04_webdriver_advanced.jsp#taking...]:
> {code:java}
> @Drone
> WebDriver driver;
> ...
> WebDriver augmentedDriver = new Augmenter().augment(driver);
> byte[] screenshot = ((TakesScreenshot) augmentedDriver).getScreenshotAs(OutputType.BYTES);
> {code}
> results in the following exeception:
> {noformat}
> Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file org/openqa/selenium/remote/RemoteWebDriver$$EnhancerCGLIB$$58fd8af5$$EnhancerByCGLIB$$558c2b50
> {noformat}
> If the augmentation is omitted, the {{TakesScreenshot}} interface can't be found:
> {noformat}
> java.lang.ClassCastException: org.openqa.selenium.remote.RemoteWebDriver$$EnhancerCGLIB$$eda133bb cannot be cast to org.openqa.selenium.TakesScreenshot
> {noformat}
> It seems that the CGLib-enhanced {{RemoteWebDriver}} instance contains the methods of capability providers ({{AddTakesScreenshot}}) but doesn't declare that it implements their corresponding interfaces ({{TakesScreenshot}}).
> Note that taking screenshots works without the augmentation when using a non-remote WebDriver. (When using augmentation it throws the _Duplicate method name&signature_ exception).
--
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, 9 months
[JBoss JIRA] (ARQGRA-269) Argument is of an illegal type, when attempting to switchTo an iframe
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-269?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-269:
------------------------------
Fix Version/s: 2.0.0.Alpha4
(was: 2.0.0.Beta1)
> Argument is of an illegal type, when attempting to switchTo an iframe
> ---------------------------------------------------------------------
>
> Key: ARQGRA-269
> URL: https://issues.jboss.org/browse/ARQGRA-269
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0.Alpha3
> Environment: Windows 7
> JDK 1.7U10 64-bit
> Drone 1.2.0Alpha
> Graphen 2.0.0.Alpha3
> Reporter: Simon Knott
> Priority: Critical
> Fix For: 2.0.0.Alpha4
>
>
> I am getting the following exception thrown when attempting to switchTo() an iframe:
> {code}java.lang.IllegalArgumentException: Argument is of an illegal type: $Proxy26
> at org.openqa.selenium.remote.internal.WebElementToJsonConverter.apply(WebElementToJsonConverter.java:78)
> at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.frame(RemoteWebDriver.java:797)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invokeReal(GrapheneProxyHandler.java:209)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:140)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:170)
> at $Proxy27.frame(Unknown Source){code}
> The test code which is causing the exception looks like:
> {code}WebElement iframe = driver.findElement(By.tagName("iframe"));
> TargetLocator targetLocator = driver.switchTo();
> targetLocator.frame(iframe);{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, 9 months
[JBoss JIRA] (ARQGRA-256) Graphene RemoteWebDriver doesn't support augmentation properly
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-256?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-256:
-----------------------------------
Hey Ron, I believe your issue is fixed with the fix in Drone: ARQ-1351.
Could you please check?
We need to get this covered by tests.
> Graphene RemoteWebDriver doesn't support augmentation properly
> --------------------------------------------------------------
>
> Key: ARQGRA-256
> URL: https://issues.jboss.org/browse/ARQGRA-256
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0.Alpha3
> Environment: Graphene 2.0.0.Alpha3-SNAPSHOT
> Reporter: Ron Šmeral
> Priority: Critical
> Fix For: 2.0.0.Beta1
>
>
> When using a remote WebDriver, trying to take a screenshot as described in [WebDriver documentation|http://seleniumhq.org/docs/04_webdriver_advanced.jsp#taking...]:
> {code:java}
> @Drone
> WebDriver driver;
> ...
> WebDriver augmentedDriver = new Augmenter().augment(driver);
> byte[] screenshot = ((TakesScreenshot) augmentedDriver).getScreenshotAs(OutputType.BYTES);
> {code}
> results in the following exeception:
> {noformat}
> Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file org/openqa/selenium/remote/RemoteWebDriver$$EnhancerCGLIB$$58fd8af5$$EnhancerByCGLIB$$558c2b50
> {noformat}
> If the augmentation is omitted, the {{TakesScreenshot}} interface can't be found:
> {noformat}
> java.lang.ClassCastException: org.openqa.selenium.remote.RemoteWebDriver$$EnhancerCGLIB$$eda133bb cannot be cast to org.openqa.selenium.TakesScreenshot
> {noformat}
> It seems that the CGLib-enhanced {{RemoteWebDriver}} instance contains the methods of capability providers ({{AddTakesScreenshot}}) but doesn't declare that it implements their corresponding interfaces ({{TakesScreenshot}}).
> Note that taking screenshots works without the augmentation when using a non-remote WebDriver. (When using augmentation it throws the _Duplicate method name&signature_ exception).
--
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, 9 months