[JBoss JIRA] (ARQ-1986) Jacoco extesion creates empty manifest entries removing the ones present in the archive
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1986?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen edited comment on ARQ-1986 at 10/1/15 1:17 PM:
-------------------------------------------------------------
Odd, running that through the Jacoco code seems to work just fine. The Dependencies line is reformatted to max 80 char, but beyond that it seems all good.
Could you try adding the MANIFEST.MF file via addAsManifestResource(new File("src/main/java/META-INF/MANIFEST.MF")) instead of via the ClassLoader (String overloaded version). Just in case it's actually finding some 'other' MANIFEST.MF file?
was (Author: aslak):
Odd, running that through the Jacoco code seems to work just fine. The Dependencies line is reformatted to max 80 char, but beyond that it seems all good.
Could you try adding the MANIFEST.MF file via addAsManifestResource(new File("src/main/java/MEtA-INF/MANIFEST.MF")) instead of via the ClassLoader (String overloaded version). Just in case it's actually finding some 'other' MANIFEST.MF file?
> Jacoco extesion creates empty manifest entries removing the ones present in the archive
> ---------------------------------------------------------------------------------------
>
> Key: ARQ-1986
> URL: https://issues.jboss.org/browse/ARQ-1986
> Project: Arquillian
> Issue Type: Bug
> Components: Extension - Jacoco
> Affects Versions: jacoco_1.0.0.Alpha8
> Reporter: Alexandros Trifyllis
> Priority: Minor
>
> The ShrinkWrap generated war file contains an empty MANIFEST.MF instead of the one specified during archive creation
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (ARQ-1986) Jacoco extesion creates empty manifest entries removing the ones present in the archive
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1986?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen commented on ARQ-1986:
------------------------------------
Odd, running that through the Jacoco code seems to work just fine. The Dependencies line is reformatted to max 80 char, but beyond that it seems all good.
Could you try adding the MANIFEST.MF file via addAsManifestResource(new File("src/main/java/MEtA-INF/MANIFEST.MF")) instead of via the ClassLoader (String overloaded version). Just in case it's actually finding some 'other' MANIFEST.MF file?
> Jacoco extesion creates empty manifest entries removing the ones present in the archive
> ---------------------------------------------------------------------------------------
>
> Key: ARQ-1986
> URL: https://issues.jboss.org/browse/ARQ-1986
> Project: Arquillian
> Issue Type: Bug
> Components: Extension - Jacoco
> Affects Versions: jacoco_1.0.0.Alpha8
> Reporter: Alexandros Trifyllis
> Priority: Minor
>
> The ShrinkWrap generated war file contains an empty MANIFEST.MF instead of the one specified during archive creation
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (ARQ-1986) Jacoco extesion creates empty manifest entries removing the ones present in the archive
by Alexandros Trifyllis (JIRA)
[ https://issues.jboss.org/browse/ARQ-1986?page=com.atlassian.jira.plugin.s... ]
Alexandros Trifyllis commented on ARQ-1986:
-------------------------------------------
Yes this is the MANIFEST.MF I am using:
Manifest-Version: 1.0
Built-by: username
Built-Jdk: 1.8.0_31
Created-By: ShrinkWrap Maven Resolver
Dependencies: org.apache.ws.security,org.apache.cxf,org.apache.cxf.impl,org.jboss.ws.cxf.jbossws-cxf-client
> Jacoco extesion creates empty manifest entries removing the ones present in the archive
> ---------------------------------------------------------------------------------------
>
> Key: ARQ-1986
> URL: https://issues.jboss.org/browse/ARQ-1986
> Project: Arquillian
> Issue Type: Bug
> Components: Extension - Jacoco
> Affects Versions: jacoco_1.0.0.Alpha8
> Reporter: Alexandros Trifyllis
> Priority: Minor
>
> The ShrinkWrap generated war file contains an empty MANIFEST.MF instead of the one specified during archive creation
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (ARQGRA-481) generic attribute injection doesn't work
by Robert Hoeppner (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-481?page=com.atlassian.jira.plugin... ]
Robert Hoeppner updated ARQGRA-481:
-----------------------------------
Description:
I have an abstract PageObject like these:
{code:java}
public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
AbstractBenutzerdatenPage {
@FindBy(id = "browser:editDialog:dlg_container")
private EDITDLG editDialog;
public EDITDLG getEditDialog() {
return editDialog;
}
}
{code}
AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
{code:java}
@Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
.....
}
{code}
at which FristenEditDialogFragment is one concrete implementation of AbstractEditDialogFragment
{code:java}
public class FristenEditDialogFragment extends AbstractEditDialogFragment {
...
}
{code}
The test looking like these:
{code:java}
@RunWith(Arquillian.class)
@RunAsClient
public class FristenTest extends TestDeployments {
@ArquillianResource
private URL contextPath;
@Drone
private WebDriver driver;
@Page
private LoginPage loginPage;
@Page
private HomePage homePage;
@Page
private BenutzerdatenHomePage benutzerdatenHomePage;
@Page
private FristenPage fristenPage;
@Test
public void PageAccessTest(@InitialPage LoginPage loginP) {
loginP.loginWithCredentials("admin", "gip123");
homePage.getNavigationBar().navigateToUserData();
benutzerdatenHomePage.getMenu().openFristen();
assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
}
{code}
And if i run this test, i get a PageObjectInitializationException
{code}
org.jboss.arquillian.graphene.enricher.exception.PageObjectInitializationException: Can not instantiate Page Object
class de.gipmbh.absenz.web.pageModel.benutzerdaten.FristenPage
declared in:
de.gipmbh.absenz.web.uitests.benutzerdaten.FristenTest
{code}
was:
I have an abstract PageObject like these:
{code:java}
public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
AbstractBenutzerdatenPage {
@FindBy(id = "browser:editDialog:dlg_container")
private EDITDLG editDialog;
public EDITDLG getEditDialog() {
return editDialog;
}
}
{code}
AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
{code:java}
@Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
.....
}
{code}
at which FristenEditDialogFragment is one concrete implementation of AbstractEditDialogFragment
{code:java}
public class FristenEditDialogFragment extends AbstractEditDialogFragment {
...
}
{code}
The test looking like these:
{code:java}
@RunWith(Arquillian.class)
@RunAsClient
public class FristenTest extends TestDeployments {
@ArquillianResource
private URL contextPath;
@Drone
private WebDriver driver;
@Page
private LoginPage loginPage;
@Page
private HomePage homePage;
@Page
private BenutzerdatenHomePage benutzerdatenHomePage;
@Page
private FristenPage fristenPage;
@Test
public void PageAccessTest(@InitialPage LoginPage loginP) {
loginP.loginWithCredentials("admin", "gip123");
homePage.getNavigationBar().navigateToUserData();
benutzerdatenHomePage.getMenu().openFristen();
assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
}
{code}
And if i run this test, i get a PageObjectInitializationException
> generic attribute injection doesn't work
> ----------------------------------------
>
> Key: ARQGRA-481
> URL: https://issues.jboss.org/browse/ARQGRA-481
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.3.Final
> Environment: OS: Win7
> Java: 1.7.0_17
> AS: Wildfly 8.2.0.final
> Reporter: Robert Hoeppner
> Attachments: stacktrace.txt
>
>
> I have an abstract PageObject like these:
> {code:java}
> public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
> AbstractBenutzerdatenPage {
> @FindBy(id = "browser:editDialog:dlg_container")
> private EDITDLG editDialog;
> public EDITDLG getEditDialog() {
> return editDialog;
> }
> }
> {code}
> AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
> {code:java}
> @Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
> public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
> .....
> }
> {code}
> at which FristenEditDialogFragment is one concrete implementation of AbstractEditDialogFragment
> {code:java}
> public class FristenEditDialogFragment extends AbstractEditDialogFragment {
> ...
> }
> {code}
> The test looking like these:
> {code:java}
> @RunWith(Arquillian.class)
> @RunAsClient
> public class FristenTest extends TestDeployments {
> @ArquillianResource
> private URL contextPath;
> @Drone
> private WebDriver driver;
> @Page
> private LoginPage loginPage;
> @Page
> private HomePage homePage;
> @Page
> private BenutzerdatenHomePage benutzerdatenHomePage;
> @Page
> private FristenPage fristenPage;
> @Test
> public void PageAccessTest(@InitialPage LoginPage loginP) {
> loginP.loginWithCredentials("admin", "gip123");
> homePage.getNavigationBar().navigateToUserData();
> benutzerdatenHomePage.getMenu().openFristen();
> assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
> }
> {code}
> And if i run this test, i get a PageObjectInitializationException
> {code}
> org.jboss.arquillian.graphene.enricher.exception.PageObjectInitializationException: Can not instantiate Page Object
> class de.gipmbh.absenz.web.pageModel.benutzerdaten.FristenPage
> declared in:
> de.gipmbh.absenz.web.uitests.benutzerdaten.FristenTest
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (ARQGRA-481) generic attribute injection doesn't work
by Robert Hoeppner (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-481?page=com.atlassian.jira.plugin... ]
Robert Hoeppner updated ARQGRA-481:
-----------------------------------
Description:
I have an abstract PageObject like these:
{code:java}
public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
AbstractBenutzerdatenPage {
@FindBy(id = "browser:editDialog:dlg_container")
private EDITDLG editDialog;
public EDITDLG getEditDialog() {
return editDialog;
}
}
{code}
AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
{code:java}
@Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
.....
}
{code}
at which FristenEditDialogFragment is one concrete implementation of AbstractEditDialogFragment
{code:java}
public class FristenEditDialogFragment extends AbstractEditDialogFragment {
...
}
{code}
The test looking like these:
{code:java}
@RunWith(Arquillian.class)
@RunAsClient
public class FristenTest extends TestDeployments {
@ArquillianResource
private URL contextPath;
@Drone
private WebDriver driver;
@Page
private LoginPage loginPage;
@Page
private HomePage homePage;
@Page
private BenutzerdatenHomePage benutzerdatenHomePage;
@Page
private FristenPage fristenPage;
@Test
public void PageAccessTest(@InitialPage LoginPage loginP) {
loginP.loginWithCredentials("admin", "gip123");
homePage.getNavigationBar().navigateToUserData();
benutzerdatenHomePage.getMenu().openFristen();
assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
}
{code}
And if i run this test, i get a PageObjectInitializationException
was:
I have an abstract PageObject like these:
{code:java}
public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
AbstractBenutzerdatenPage {
@FindBy(id = "browser:editDialog:dlg_container")
private EDITDLG editDialog;
public EDITDLG getEditDialog() {
return editDialog;
}
}
{code}
AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
{code:java}
@Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
....
public FristenDetailFragment getDetail() {
return detail;
}
.....
}
{code}
at which FristenDetailFragment is one concrete implementation of AbstractEditDialogFragment
The test looking like these
{code:java}
@RunWith(Arquillian.class)
@RunAsClient
public class FristenTest extends TestDeployments {
@ArquillianResource
private URL contextPath;
@Drone
private WebDriver driver;
@Page
private LoginPage loginPage;
@Page
private HomePage homePage;
@Page
private BenutzerdatenHomePage benutzerdatenHomePage;
@Page
private FristenPage fristenPage;
@Test
public void PageAccessTest(@InitialPage LoginPage loginP) {
loginP.loginWithCredentials("admin", "gip123");
homePage.getNavigationBar().navigateToUserData();
benutzerdatenHomePage.getMenu().openFristen();
assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
}
{code}
And if i run this test, i get a PageObjectInitializationException
> generic attribute injection doesn't work
> ----------------------------------------
>
> Key: ARQGRA-481
> URL: https://issues.jboss.org/browse/ARQGRA-481
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.3.Final
> Environment: OS: Win7
> Java: 1.7.0_17
> AS: Wildfly 8.2.0.final
> Reporter: Robert Hoeppner
> Attachments: stacktrace.txt
>
>
> I have an abstract PageObject like these:
> {code:java}
> public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
> AbstractBenutzerdatenPage {
> @FindBy(id = "browser:editDialog:dlg_container")
> private EDITDLG editDialog;
> public EDITDLG getEditDialog() {
> return editDialog;
> }
> }
> {code}
> AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
> {code:java}
> @Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
> public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
> .....
> }
> {code}
> at which FristenEditDialogFragment is one concrete implementation of AbstractEditDialogFragment
> {code:java}
> public class FristenEditDialogFragment extends AbstractEditDialogFragment {
> ...
> }
> {code}
> The test looking like these:
> {code:java}
> @RunWith(Arquillian.class)
> @RunAsClient
> public class FristenTest extends TestDeployments {
> @ArquillianResource
> private URL contextPath;
> @Drone
> private WebDriver driver;
> @Page
> private LoginPage loginPage;
> @Page
> private HomePage homePage;
> @Page
> private BenutzerdatenHomePage benutzerdatenHomePage;
> @Page
> private FristenPage fristenPage;
> @Test
> public void PageAccessTest(@InitialPage LoginPage loginP) {
> loginP.loginWithCredentials("admin", "gip123");
> homePage.getNavigationBar().navigateToUserData();
> benutzerdatenHomePage.getMenu().openFristen();
> assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
> }
> {code}
> And if i run this test, i get a PageObjectInitializationException
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (ARQGRA-481) generic attribute injection doesn't work
by Robert Hoeppner (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-481?page=com.atlassian.jira.plugin... ]
Robert Hoeppner updated ARQGRA-481:
-----------------------------------
Description:
I have an abstract PageObject like these:
{code:java}
public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
AbstractBenutzerdatenPage {
@FindBy(id = "browser:editDialog:dlg_container")
private EDITDLG editDialog;
public EDITDLG getEditDialog() {
return editDialog;
}
}
{code}
AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
{code:java}
@Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
....
public FristenDetailFragment getDetail() {
return detail;
}
.....
}
{code}
at which FristenDetailFragment is one concrete implementation of AbstractEditDialogFragment
The test looking like these
{code:java}
@RunWith(Arquillian.class)
@RunAsClient
public class FristenTest extends TestDeployments {
@ArquillianResource
private URL contextPath;
@Drone
private WebDriver driver;
@Page
private LoginPage loginPage;
@Page
private HomePage homePage;
@Page
private BenutzerdatenHomePage benutzerdatenHomePage;
@Page
private FristenPage fristenPage;
@Test
public void PageAccessTest(@InitialPage LoginPage loginP) {
loginP.loginWithCredentials("admin", "gip123");
homePage.getNavigationBar().navigateToUserData();
benutzerdatenHomePage.getMenu().openFristen();
assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
}
{code}
And if i run this test, i get a PageObjectInitializationException
was:
I have an abstract PageObject like these:
{code:java}
public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
AbstractBenutzerdatenPage {
@FindBy(id = "browser:editDialog:dlg_container")
private EDITDLG editDialog;
public EDITDLG getEditDialog() {
return editDialog;
}
}
{code}
AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
{code:java}
@Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
....
public FristenDetailFragment getDetail() {
return detail;
}
.....
}
{code}
at which FristenDetailFragment is one concrete implementation of AbstractEditDialogFragment
The test looking like these
{code:java}
@RunWith(Arquillian.class)
@RunAsClient
public class FristenTest extends TestDeployments {
@ArquillianResource
private URL contextPath;
@Drone
private WebDriver driver;
@Page
private LoginPage loginPage;
@Page
private HomePage homePage;
@Page
private BenutzerdatenHomePage benutzerdatenHomePage;
@Page
private FristenPage fristenPage;
@Test
public void PageAccessTest(@InitialPage LoginPage loginP) {
loginP.loginWithCredentials("admin", "gip123");
homePage.getNavigationBar().navigateToUserData();
benutzerdatenHomePage.getMenu().openFristen();
assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
}
{code}
And if i run this test, i get an InstanziationException
> generic attribute injection doesn't work
> ----------------------------------------
>
> Key: ARQGRA-481
> URL: https://issues.jboss.org/browse/ARQGRA-481
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.3.Final
> Environment: OS: Win7
> Java: 1.7.0_17
> AS: Wildfly 8.2.0.final
> Reporter: Robert Hoeppner
> Attachments: stacktrace.txt
>
>
> I have an abstract PageObject like these:
> {code:java}
> public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
> AbstractBenutzerdatenPage {
> @FindBy(id = "browser:editDialog:dlg_container")
> private EDITDLG editDialog;
> public EDITDLG getEditDialog() {
> return editDialog;
> }
> }
> {code}
> AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
> {code:java}
> @Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
> public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
> ....
> public FristenDetailFragment getDetail() {
> return detail;
> }
> .....
> }
> {code}
> at which FristenDetailFragment is one concrete implementation of AbstractEditDialogFragment
> The test looking like these
> {code:java}
> @RunWith(Arquillian.class)
> @RunAsClient
> public class FristenTest extends TestDeployments {
> @ArquillianResource
> private URL contextPath;
> @Drone
> private WebDriver driver;
> @Page
> private LoginPage loginPage;
> @Page
> private HomePage homePage;
> @Page
> private BenutzerdatenHomePage benutzerdatenHomePage;
> @Page
> private FristenPage fristenPage;
> @Test
> public void PageAccessTest(@InitialPage LoginPage loginP) {
> loginP.loginWithCredentials("admin", "gip123");
> homePage.getNavigationBar().navigateToUserData();
> benutzerdatenHomePage.getMenu().openFristen();
> assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
> }
> {code}
> And if i run this test, i get a PageObjectInitializationException
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (ARQGRA-481) generic attribute injection doesn't work
by Robert Hoeppner (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-481?page=com.atlassian.jira.plugin... ]
Robert Hoeppner updated ARQGRA-481:
-----------------------------------
Attachment: stacktrace.txt
full stacktrace
> generic attribute injection doesn't work
> ----------------------------------------
>
> Key: ARQGRA-481
> URL: https://issues.jboss.org/browse/ARQGRA-481
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.3.Final
> Environment: OS: Win7
> Java: 1.7.0_17
> AS: Wildfly 8.2.0.final
> Reporter: Robert Hoeppner
> Attachments: stacktrace.txt
>
>
> I have an abstract PageObject like these:
> {code:java}
> public abstract class AbstractBenutzerdatenPageWithEdit<EDITDLG extends AbstractEditDialogFragment> extends
> AbstractBenutzerdatenPage {
> @FindBy(id = "browser:editDialog:dlg_container")
> private EDITDLG editDialog;
> public EDITDLG getEditDialog() {
> return editDialog;
> }
> }
> {code}
> AbstractEditDialogFragment has three concrete implementations and there are three implementations of AbstractBenutzerdatenPageWithEdit like the following:
> {code:java}
> @Location("pages/benutzerdaten/fehlzeit/frist.xhtml")
> public class FristenPage extends AbstractBenutzerdatenPageWithEdit<FristenEditDialogFragment> {
> ....
> public FristenDetailFragment getDetail() {
> return detail;
> }
> .....
> }
> {code}
> at which FristenDetailFragment is one concrete implementation of AbstractEditDialogFragment
> The test looking like these
> {code:java}
> @RunWith(Arquillian.class)
> @RunAsClient
> public class FristenTest extends TestDeployments {
> @ArquillianResource
> private URL contextPath;
> @Drone
> private WebDriver driver;
> @Page
> private LoginPage loginPage;
> @Page
> private HomePage homePage;
> @Page
> private BenutzerdatenHomePage benutzerdatenHomePage;
> @Page
> private FristenPage fristenPage;
> @Test
> public void PageAccessTest(@InitialPage LoginPage loginP) {
> loginP.loginWithCredentials("admin", "gip123");
> homePage.getNavigationBar().navigateToUserData();
> benutzerdatenHomePage.getMenu().openFristen();
> assertThat(fristenPage.getBreadCrumbText()).isEqualTo("» Benutzerdaten »Fehlzeiten » Fristen");
> }
> {code}
> And if i run this test, i get an InstanziationException
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months