[JBoss JIRA] (ARQGRA-189) Support @Page in Page objects
by Anthony O. (JIRA)
Anthony O. created ARQGRA-189:
---------------------------------
Summary: Support @Page in Page objects
Key: ARQGRA-189
URL: https://issues.jboss.org/browse/ARQGRA-189
Project: Arquillian Graphene
Issue Type: Feature Request
Affects Versions: 2.Future
Reporter: Anthony O.
Assignee: Lukáš Fryč
Here is my use case : I've got a home page which when I click on a link in the menu will redirect me to that feature page.
I want to code fluently, so that my test would like this :
{code}
public class FeatureTest extends Arquillian {
@Drone
private WebDriver driver;
@Page
private HomePage homePage;
@Test
public testClickMenuRedirect() {
FeaturePage featurePage = homePage.open(driver)
.openFeaturePageByMenu()
.doFeature();
assertEquals(featurePage.getSomeAttributeValue(), "someAttributeValue");
}
}
public class HomePage {
@Page
private FeaturePage featurePage;
@FindBy(id="featureLinkMenu")
private WebElement featureLinkMenu;
public HomePage open(WebDriver driver) {
driver.get("someUrl");
}
public FeaturePage openFeaturePageByMenu() {
guardHttp(featureLinkMenu).click();
return featurePage;
}
}
{code}
It could be implemented with a cache which would create only one instance by Page class for each @Page on the root of the @Test ...
--
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, 3 months
[JBoss JIRA] (ARQ-1087) Wrong dump directory path
by Nicolas-Xavier Vanderlinden (JIRA)
Nicolas-Xavier Vanderlinden created ARQ-1087:
------------------------------------------------
Summary: Wrong dump directory path
Key: ARQ-1087
URL: https://issues.jboss.org/browse/ARQ-1087
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Persistence
Affects Versions: persistence_1.0.0.Alpha5
Environment: Windows 7 64bit
Reporter: Nicolas-Xavier Vanderlinden
Assignee: Bartosz Majsak
Priority: Minor
Dump directory path seems to be wrong under Windows 7:
org.jboss.arquillian.persistence.core.exception.DatabaseDumpException: Unable to dump database state to C:UsersNicoAppDataLocalTemparquillian.extension.persistence.default.sql.script.location=script/[1346601018658]
--
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, 3 months
[JBoss JIRA] (ARQ-1121) Allow to inject AndroidDevice into tests
by Karel Piwko (JIRA)
Karel Piwko created ARQ-1121:
--------------------------------
Summary: Allow to inject AndroidDevice into tests
Key: ARQ-1121
URL: https://issues.jboss.org/browse/ARQ-1121
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Android
Affects Versions: android_1.0.0.Alpha1
Reporter: Karel Piwko
Assignee: Karel Piwko
Fix For: android_1.0.0.next
Allow AndroidDevice to be injected into tests.
This would allow test to install/remove apk and better control over the device from tests.
--
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, 3 months
[JBoss JIRA] (ARQ-1118) Allow emulator shutdown as well
by Karel Piwko (JIRA)
Karel Piwko created ARQ-1118:
--------------------------------
Summary: Allow emulator shutdown as well
Key: ARQ-1118
URL: https://issues.jboss.org/browse/ARQ-1118
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Android
Reporter: Karel Piwko
Assignee: Karel Piwko
Unit test execution is not reliable. To be specific, EmulatorTestCase results depend on method execution order.
Introduce emulator shutdown timeout and make tests more reliable
--
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, 3 months
[JBoss JIRA] (ARQ-1119) Remove verbose flag from Android container
by Karel Piwko (JIRA)
Karel Piwko created ARQ-1119:
--------------------------------
Summary: Remove verbose flag from Android container
Key: ARQ-1119
URL: https://issues.jboss.org/browse/ARQ-1119
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Android
Affects Versions: android_1.0.0.Alpha1
Reporter: Karel Piwko
Assignee: Karel Piwko
Fix For: android_1.0.0.next
Verbose flag is not flexible enough. Rather replace it's functionality by better logging level.
Include logging configuration into README.md file.
--
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, 3 months
[JBoss JIRA] (ARQ-1093) Support for Row Ordering when Comparing Datasets
by Bryan Saunders (JIRA)
Bryan Saunders created ARQ-1093:
-----------------------------------
Summary: Support for Row Ordering when Comparing Datasets
Key: ARQ-1093
URL: https://issues.jboss.org/browse/ARQ-1093
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Persistence
Affects Versions: persistence_1.0.0.Alpha5
Environment: RHEL 6.2 x64, JBoss AS 7.1.1, Red Hat Enterprise Application Platform 6.0
Reporter: Bryan Saunders
Assignee: Bartosz Majsak
When using Generated ID's in your database, such as UUID's, the rows need to be sorted in order for the DbUnit comparison to pass. If they are not ordered, then the assertion is Unreliable. (http://www.dbunit.org/howto.html#roworder)
Persistence should provide a mechanism to enable Row Ordering when comparing Datasets with Generated ID's.
--
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, 3 months
[JBoss JIRA] (ARQ-1100) Datetime conversion does not work as expected for YAML data sets
by Bartosz Majsak (JIRA)
Bartosz Majsak created ARQ-1100:
-----------------------------------
Summary: Datetime conversion does not work as expected for YAML data sets
Key: ARQ-1100
URL: https://issues.jboss.org/browse/ARQ-1100
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Persistence
Affects Versions: persistence_1.0.0.Alpha5
Reporter: Bartosz Majsak
Assignee: Bartosz Majsak
Fix For: persistence_1.0.0.next
As described in detail on the forum, YAML data set is not parsed as expected for dates. Instead of taking values as plain strings and letting DBUnit convert to appropriate type, it maps to date and then pass it as human-readable string representation.
--
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, 3 months