use of uitests.Screens.HomePageExtended in project functional-tests by NativeScript.
the class HtmlViewTests method htmlView_01.
@Test(groups = { "android", "ios" })
public void htmlView_01() throws Exception {
this.homePage = new HomePageExtended("htmlview", this.context);
UIElement el = this.find.byTextContains("one");
String htmlContent = el.getText();
Assert.assertTrue(htmlContent.contains("one"));
Assert.assertTrue(htmlContent.contains("two"));
}
use of uitests.Screens.HomePageExtended in project functional-tests by NativeScript.
the class TabViewBaseTest method beforeTabViewBaseTestClass.
@BeforeClass(alwaysRun = true)
public void beforeTabViewBaseTestClass() {
String tabView = "tab-view";
if (this.settings.platform == PlatformType.Android && this.settings.platformVersion >= 7) {
tabView = "TAB-VIEW";
}
this.homePageExtended = new HomePageExtended(tabView, this.context);
}
Aggregations