import * as PageTestCommon from "./page-tests-common"; import {Page} from "tns-core-modules/ui/page"; import * as TKUnit from "../../TKUnit"; import {Label} from "tns-core-modules/ui/label"; import * as helper from "../helper"; import {View} from "tns-core-modules/ui/core/view"; import {EventData} from "tns-core-modules/data/observable"; import * as uiUtils from "tns-core-modules/ui/utils"; import * as frame from "tns-core-modules/ui/frame"; 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 =