[JBoss JIRA] (ARQGRA-191) Support @Drone and @ArquillianResource in Page objects
by Anthony O. (JIRA)
Anthony O. created ARQGRA-191:
---------------------------------
Summary: Support @Drone and @ArquillianResource in Page objects
Key: ARQGRA-191
URL: https://issues.jboss.org/browse/ARQGRA-191
Project: Arquillian Graphene
Issue Type: Feature Request
Affects Versions: 2.Future
Reporter: Anthony O.
In the same way as ARQGRA-189, I think it could be a good thing to support @Drone in Page objects too.
Here is my use case :
{code}
public class FeatureTest extends Arquillian {
@Page
private HomePage homePage;
@Test
public testClickMenuRedirect() {
FeaturePage featurePage = homePage.open()
.doFeature();
assertEquals(featurePage.getSomeAttributeValue(), "someAttributeValue");
}
}
public class HomePage {
@Drone
private WebDriver driver;
@ArquillianResource
URL contextPath;
@FindBy(id="featureLinkMenu")
private WebElement featureLinkMenu;
public HomePage open() {
driver.get(URLUtils.buildUrl(contextPath, "pages/feature.xhtml");
}
public HomePage doFeature() {
guardHttp(featureLinkMenu).click();
return this;
}
// code for getSomeAttributeValue()
}
{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
12 years, 1 month
[JBoss JIRA] (ARQ-1132) If the platform has more than one ABI, the emulator is not created
by Jan Papousek (JIRA)
Jan Papousek created ARQ-1132:
---------------------------------
Summary: If the platform has more than one ABI, the emulator is not created
Key: ARQ-1132
URL: https://issues.jboss.org/browse/ARQ-1132
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Android
Affects Versions: android_1.0.0.Alpha1
Reporter: Jan Papousek
Assignee: Karel Piwko
The creation script looks like:
{code}
${ANDROID_HOME}/tools/android create avd -n <avd name> -t android-<level> -f -p <avd name> -c <sd size>
{code}
If the platform contains more than one ABI, the following error appears:
{code}
Valid ABIs: armeabi-v7a, x86
Error: This platform has more than one ABI. Please specify one using --abi.
{code}
Btw. the eror isn't displayed and is silently ignored by android extension.
Developer should be able to specify ABI or other options in creation script.
--
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
12 years, 1 month
[JBoss JIRA] (ARQ-1180) Support @Drone enricher on Graphene page objects/fragments
by Lukáš Fryč (JIRA)
Lukáš Fryč created ARQ-1180:
-------------------------------
Summary: Support @Drone enricher on Graphene page objects/fragments
Key: ARQ-1180
URL: https://issues.jboss.org/browse/ARQ-1180
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Drone
Affects Versions: drone_1.1.0.Final
Reporter: Lukáš Fryč
Assignee: Karel Piwko
Drone's {{TestEnricher}} fails to work in page fragments.
If I remember correctly, Drone tries to access or initialize context incorrectly (more information have Aslak).
This issue is related to ARQGRA-191.
--
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
12 years, 1 month
[JBoss JIRA] (ARQ-837) Managed GlassFish container does not shutdown when a test errors out
by Vineet Reynolds (JIRA)
Vineet Reynolds created ARQ-837:
-----------------------------------
Summary: Managed GlassFish container does not shutdown when a test errors out
Key: ARQ-837
URL: https://issues.jboss.org/browse/ARQ-837
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: GlassFish Containers
Affects Versions: glassfish_1.0.0.CR3
Reporter: Vineet Reynolds
When a test errors out, Arquillian does not invoke the {{DeployableContainer.stop()}} implementation of the managed GlassFish container. The GlassFish container started by Arquillian continues to run, and the subsequent test execution produces the expected error message:
{{quote}}
The server is already running! Managed containers does not support connecting to running server instances due to the possible harmful effect of connecting to the wrong server. Please stop server before running or change to another type of container.
To disable this check and allow Arquillian to connect to a running server, set allowConnectingToRunningServer to true in the container configuration
{{quote}}
The GlassFish container implementation should incorporate a mechanism similar to the JBoss AS 7 managed container implementation, to execute the {{asadmin stop-domain}} command in a shutdown hook.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month