Search in sources :

Example 1 with FirstComponentPage

use of testsappng.Screens.FirstComponentPage in project functional-tests by NativeScript.

the class PageRouterTests method beforeClassPageRouterTests.

@BeforeClass(alwaysRun = true)
public void beforeClassPageRouterTests() throws Exception {
    this.homePage = new HomePage("First", this.context);
    this.firstComponentPage = new FirstComponentPage(context);
    this.secondComponentPage = new SecondComponentPage(this.context);
}
Also used : SecondComponentPage(testsappng.Screens.SecondComponentPage) HomePage(testsappng.Screens.HomePage) FirstComponentPage(testsappng.Screens.FirstComponentPage) BeforeClass(org.testng.annotations.BeforeClass)

Example 2 with FirstComponentPage

use of testsappng.Screens.FirstComponentPage in project functional-tests by NativeScript.

the class RouterTests method beforeRouterTestsClass.

@BeforeClass(alwaysRun = true)
public void beforeRouterTestsClass() throws Exception {
    this.homePage = new HomePage("Router", this.context);
    this.firstComponentPage = new FirstComponentPage(this.homePage.context, this.homePage.context.navigationManager);
}
Also used : HomePage(testsappng.Screens.HomePage) FirstComponentPage(testsappng.Screens.FirstComponentPage) BeforeClass(org.testng.annotations.BeforeClass)

Aggregations

BeforeClass (org.testng.annotations.BeforeClass)2 FirstComponentPage (testsappng.Screens.FirstComponentPage)2 HomePage (testsappng.Screens.HomePage)2 SecondComponentPage (testsappng.Screens.SecondComponentPage)1