[arquillian-issues] [JBoss JIRA] (ARQ-1385) Drone: resize the PhantomJS window after the start of a test

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Wed Sep 11 12:43:03 EDT 2013


     [ https://issues.jboss.org/browse/ARQ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated ARQ-1385:
----------------------------

    Description: 
The PhantomJS starts with incredibly small window, so it prevents to run lot of the tests where elements aren't shown in the initial viewport:

{code}
org.openqa.selenium.ElementNotVisibleException: Error Message => 'Element is not currently visible and may not be manipulated' caused by Request => {"headers":{"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"27","Content-Type":"application/json; charset=utf-8","Host":"localhost:24743"},"httpVersion":"1.1","method":"POST","post":"{\"id\":\":wdc:1378914555889\"}","url":"/click","urlParsed":{"anchor":"","query":"","file":"click","directory":"/","path":"/click","relative":"/click","port":"","host":"","password":"","user":"","userI
{code}

We can use this instructions selectively for PhantomJS to make it work:
https://github.com/richfaces/richfaces5/blob/master/build/build-resources/src/main/java/org/richfaces/arquillian/browser/PrepareBrowserSession.java

  was:
The PhantomJS starts with incredibly small window, so it prevents to run lot of the tests where elements aren't shown in the initial viewport.

We can use this instructions selectively for PhantomJS to make it work:
https://github.com/richfaces/richfaces5/blob/master/build/build-resources/src/main/java/org/richfaces/arquillian/browser/PrepareBrowserSession.java


    
> Drone: resize the PhantomJS window after the start of a test
> ------------------------------------------------------------
>
>                 Key: ARQ-1385
>                 URL: https://issues.jboss.org/browse/ARQ-1385
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Drone
>    Affects Versions: drone_1.2.0.Alpha2
>            Reporter: Lukáš Fryč
>            Assignee: Karel Piwko
>              Labels: starter
>             Fix For: drone_1.2.0.Beta2
>
>
> The PhantomJS starts with incredibly small window, so it prevents to run lot of the tests where elements aren't shown in the initial viewport:
> {code}
> org.openqa.selenium.ElementNotVisibleException: Error Message => 'Element is not currently visible and may not be manipulated' caused by Request => {"headers":{"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"27","Content-Type":"application/json; charset=utf-8","Host":"localhost:24743"},"httpVersion":"1.1","method":"POST","post":"{\"id\":\":wdc:1378914555889\"}","url":"/click","urlParsed":{"anchor":"","query":"","file":"click","directory":"/","path":"/click","relative":"/click","port":"","host":"","password":"","user":"","userI
> {code}
> We can use this instructions selectively for PhantomJS to make it work:
> https://github.com/richfaces/richfaces5/blob/master/build/build-resources/src/main/java/org/richfaces/arquillian/browser/PrepareBrowserSession.java

--
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