[arquillian-issues] [JBoss JIRA] (ARQGRA-467) Screenshooter: Tests fail when no Drone contexts exist

Michael Kotten (JIRA) issues at jboss.org
Tue Apr 19 05:05:00 EDT 2016


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

Michael Kotten commented on ARQGRA-467:
---------------------------------------

I'm using version 2.1.0.CR1 and for me the error isn't gone. I have a project that contains Done/Graphene/Warp tests and ordinary in-container tests with Arquillian. For the in-container tests, the error occurs.

The new code 
{code:java}
try {
  context = GrapheneContext.getContextFor(Default.class);
} catch (IllegalStateException ex) {
  return null;
}
{code}
never returns null for me.

This is what i use in my pom.xml.

{code:xml}
         <dependency>
            <groupId>org.jboss.arquillian.graphene</groupId>
            <artifactId>arquillian-browser-screenshooter</artifactId>
            <version>${graphene.version}</version>
            <scope>test</scope>
         </dependency>
         <dependency>
            <groupId>org.jboss.arquillian.extension</groupId>
            <artifactId>arquillian-phantom-driver</artifactId>
            <version>1.2.1.Final</version>
         </dependency>
         <dependency>
            <groupId>org.jboss.arquillian.graphene</groupId>
            <artifactId>graphene-webdriver</artifactId>
            <version>${graphene.version}</version>
            <type>pom</type>
            <scope>test</scope>
         </dependency>
{code}

> Screenshooter: Tests fail when no Drone contexts exist
> ------------------------------------------------------
>
>                 Key: ARQGRA-467
>                 URL: https://issues.jboss.org/browse/ARQGRA-467
>             Project: Arquillian Graphene
>          Issue Type: Bug
>          Components: screenshooter
>    Affects Versions: 2.1.0.Alpha1
>            Reporter: Lukáš Fryč
>            Assignee: Stefan Miklosovic
>             Fix For: 2.1.0.Alpha2
>
>
> https://github.com/arquillian/arquillian-recorder/issues/10



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the arquillian-issues mailing list