import { TabView, TabViewItem } from "tns-core-modules/ui/tab-view"; import { Page, layout, View, EventData } from "tns-core-modules/ui/page"; import { ios as iosView } from "tns-core-modules/ui/core/view"; import { Label } from "tns-core-modules/ui/label"; import { topmost } from "tns-core-modules/ui/frame"; import * as uiUtils from "tns-core-modules/ui/utils"; import * as TKUnit from "../../TKUnit"; import * as helper from "../helper"; import * as PageTestCommon from "./page-tests-common"; global.moduleMerge(PageTestCommon, exports); export function test_NavigateToNewPage_InnerControl() { var testPage: Page; var pageFactory = function (): Page { testPage = new Page(); PageTestCommon.addLabelToPage(testPage); return testPage; }; helper.navigateWithHistory(pageFactory); var label =